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 |
|
CompanyID |
Integer |
The unique Identification assigned to |
|
GroupID |
Integer |
The unique Identification assigned to |
|
ResourceType |
Integer |
Resource Type |
Valid Values: |
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 ID |
Integer |
The unique Identification assigned to a |
|
ResourceName |
String |
Resource Name |
|
ResourceType |
String |
ResourceType |
Valid Values: |
Message ID |
String |
The unique identification assigned |
|
Response |
String |
The Response Message is received |
|
Company ID |
Integer |
The unique Identification assigned to |
|
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 |
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 |
<< Set Resource Permission (ivnSetResourcePermission) | Set Report Permission (ivnSetReportPermission) >>