Get Report Permission (ivnGetReportPermission)

§

This webservice is invoked to retrieve the report permissions set to a user of the company in Intelliview NXT system.

§

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

Web Service Request:

public string ivnGetReportPermission(string SessionToken, int Company ID, int GroupID, int UserID, int ReportID)

Web Service Request Parameters:


Parameters

Data Type

Description

Remarks

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.

 

UserID

Integer

The unique Identification assigned to a User
in Intelliview NXT.

 

ReportID

Integer

The unique Identification assigned to a Report
in Intelliview NXT.

 

Web Service Response (Success):

<ResponseMessage>

<ReportPermissionDetails>

<Group ID='12' UserID='4' ReportID='12' ReportType='1' Permission='Editor' > <ReportPermissionDetails/>

<Company ID='23'/>

<Version No='1.3.1.1'/>

</ResponseMessage>

Web Service Response (Error):

<ResponseMessage>

<Message ID='SYN_REP_ERROR_7530'/>

<Response Message= 'Report ID 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 Group in
Intelliview NXT.

 

User ID

Integer

The unique Identification assigned to a User in
Intelliview NXT.

 

Report ID

Integer

The unique Identification assigned to a Report
in Intelliview NXT.

 

Permission

String

Permissions to be set for given Report ID

 Valid Values:
'Editor'
'Viewer'

Message ID

String

The unique Identification assigned to a
Resource in Intelliview NXT.

 Returned on error;

Response Message

String

The unique Identification assigned to a
Resource in Intelliview NXT.

Returned on error;

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_7529

User ID is not valid

5

SYN_REP_ERROR_7530

Report ID is not valid

6

SYN_REP_INFO_7580

Report permission is not available

7

SYN_REP_ERROR_5035

Exception has occurred. Contact your Administrator

 

 

top.jpg

 

<< Set Report Permission (ivnSetReportPermission)