Set Resource Permission (ivnSetResourcePermission)
§ |
This webservice is invoked to assign permissions for the resources to one or more groups in Intelliview NXT system. |
§ |
User requires “Admin” privilege (User parameter in ivnInitialize) for the execution of this API. |
Web Service Request:
Web Service Request Parameters:
public string ivnSetResourcePermission(string SessionToken, int Company ID, int GroupID, int ResourceID, int ResourceType) |
Parameters |
Data Type |
Description |
Requirement |
SessionToken |
String |
The unique Identification assigned to a |
|
CompanyID |
Integer |
The unique Identification assigned to a |
|
GroupID |
Integer |
The unique Identification assigned to a |
|
ResourceID |
Integer |
The unique Identification assigned to a |
|
ResourceType |
Integer |
Resource Type |
Valid Values: |
Web Service Response (Success):
<ResponseMessage>
<Message ID='SYN_REP_INFO_7542'/>
<Response Message= 'Resource permission is set successfully'/>
<Resource ID='7'/>
<Company ID='23'/>
<Version No='1.3.1.1'/>
</ResponseMessage>
Web Service Response (Error):
<ResponseMessage>
<Message ID='SYN_REP_ERROR_7532'/>
<Response Message= 'Resource ID is not valid'/>
<Company ID='23'/>
<Version No='1.3.1.1'/>
</ResponseMessage>
Web Service Return Parameters:
Parameters |
Data Type |
Description |
Remarks |
Message ID |
String |
The unique identification assigned to the response |
|
Response Message |
String |
The Response Message is received from Intelliview NXT. |
|
Resource ID |
Integer |
The unique Identification assigned to a Resource in |
|
Company ID |
Integer |
The unique Identification assigned to the Company by |
|
Version No |
String |
The last digit after the third decimal point indicates the |
|
Response Messages:
Srl.No. |
Message ID |
Message |
1 |
SYN_REP_INFO_7542 |
Resource permission is set successfully |
2 |
SYN_REP_ERROR_7501 |
Intelliview NXT session is expired or not initialized or |
3 |
SYN_REP_ERROR_7511 |
Company ID is not valid |
4 |
SYN_REP_ERROR_7528 |
Group ID is not valid |
5 |
SYN_REP_ERROR_7532 |
Resource ID is not valid |
6 |
SYN_REP_ERROR_7533 |
Resource type is not valid |
7 |
SYN_REP_ERROR_7570 |
Unable to set resource permission |
8 |
SYN_REP_ERROR_5035 |
Exception has occurred. Contact your Administrator |
<< Set Author Permission (ivnSetAuthorPermission) | Get Resource Permission (ivnGetResourcePermission) >>