Export a Report/Widget (ivnExportReport)

§ This webservice is invoked to export a specified sub-Report of a Report or a specified widget of a given sub-report of a Report defined in Intelliveiw NXT.

§ User requires “Author/Editor/Viewer” privilege (User parameter in ivnInitialize) for the execution of this API.

 Web Service Request:

public string ivnExportReport(string SessionToken, int CompanyID, int ReportID,
string SubReportName, string WidgetName, int ExportFormat)

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.

 

ReportID

Integer

The unique Identification assigned to the Report in
Intelliview NXT.

 

SubReportName

String

The name of the sub-report defined in a Report

 

WidgetName

String

The name of the widget

 

ExportFormat

Integer

The format of the exported report

Values:
1 for PDF
4 for XLS
5 for XLSX

Web Service Response (Success):

The exported report is streamed back to the calling application through the browser session.

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

ResponseMessage

String

Response Message for the Web Service
Request.

Returned on
error

Message ID

String

Response Message ID for the Web
Service Request.

Returned on
error;

Company ID

Integer

The unique Identification assigned to the
Company by Intelliview NXT.

Returned on
error;

Version

String

The last digit after the third decimal point
indicates the web service version

Returned on
error;

Response Messages:

Srl.No.

Message ID

Message

1

SYN_REP_ERROR_5035

Exception has occurred. Contact your
Administrator

2

SYN_REP_ERROR_7501

Intelliview NXT session is expired or not
initialized or not valid

3

SYN_REP_ERROR_7511

Company ID is not valid

4

SYN_REP_ERROR_7530

Report ID is not valid

5

SYN_REP_ERROR_7585

Sub-report name is not valid

6

SYN_REP_ERROR_7586

Widget name is not valid

 

top.jpg

 

<< Show a Report (ivnShowReport)