Get Resource Permission (ivnGetResourcePermission)

§

This webservice is invoked to retrieve the permission details for the resources for a group in Intelliview NXT system.

§

User requires “Admin” privilege (User parameter in ivnInitialize) for the execution of this API.

 Web Service Request:

public string ivnGetResourcePermission(string SessionToken, int Company ID, int GroupID int ResourceType)

Web Service Request Parameters:

Parameters

Data Type

Description

Requirement

SessionToken

String

The unique Identification assigned to
a Intelliview NXT Session

 

CompanyID

Integer

The unique Identification assigned to
a Company in Intelliview NXT.

 

GroupID

Integer

The unique Identification assigned to
a Group in Intelliview NXT.

 

ResourceType

Integer

Resource Type

Valid Values:
1 - Connection:
2 - DataModel
3 - Implicit Filter

Web Service Response (Success):

<ResponseMessage>

<ResourcePermissionList>

<Group ID='12' ResourceID='12' ResourceName='Salesconn' ResourceType='1' > <Group ID='12' ResourceID='13' ResourceName='SalesDM' ResourceType='2' > <ResourcePermissionList/>

<Company ID='23'/>

<Version No='1.3.1.1'/>

</ResponseMessage>

Web Service Response (Error):

<ResponseMessage>

<Message ID='SYN_REP_ERROR_7533'/>

<Response Message= 'Resource type is not valid'/>

<Company ID='23'/>

<Version No='1.3.1.1'/>

</ResponseMessage

Web Service Return Parameters:

Parameters

Data Type

Description

Remarks

Group ID

Integer

The unique Identification assigned to a
Resource in Intelliview NXT.

 

Resource ID

Integer

The unique Identification assigned to a
Resource in Intelliview NXT.

 

ResourceName

String

Resource Name

 

ResourceType

String

ResourceType

Valid Values:
1 - Connection:
2 - DataModel
3 - Implicit Filter

Message ID

String

The unique identification assigned
to the response message in
Intelliview NXT.

 

Response
Message

String

The Response Message is received
from Intelliview NXT.

 

Company ID

Integer

The unique Identification assigned to
the Company by Intelliview NXT.

 

Version No

String

The last digit after the third decimal

point indicates the web service version

 

Response Messages:

Srl.No.

Message ID

Message

1

SYN_REP_ERROR_7501

Intelliview NXT session is expired or not initialized or
not valid

2

SYN_REP_ERROR_7511

Company ID is not valid

3

SYN_REP_ERROR_7528

Group ID is not valid

4

SYN_REP_ERROR_7533

Resource type is not valid

4

SYN_REP_ERROR_7595

Resource permission is not available

5

SYN_REP_ERROR_5035

Exception has occurred. Contact your Administrator

 

 

top.jpg

 

<< Set Resource Permission (ivnSetResourcePermission) | Set Report Permission (ivnSetReportPermission) >>