WFGetUserDiversionReport

This call returns the Diversion Report of Users depending on input criterion. You can view the XML input and output parameters, which have to be passed for getting the report. There is a list of errors and warning that can occur in the execution.

 

Input Parameter description

 View Sample InputXML

Output Parameter description

 View Sample OutputXML

Errors and Warnings

View Sample Code

 

Input Parameter description

* implies for the mandatory parameter.

Name

Parent Tag

Description

Valid Value

Option *

Root

It refers to the case sensitive call name.

Case sensitive call name.

EngineName *

Root

It is the cabinet or database name, which has to be connected.

NA

SessionID *

Root

It is the logged in user session id

NA

From

DateRange

It is the date from which the report has to be generated. It is not mandatory. If not specified then the report is generated for the entire process.

NA

TO

DateRange

It is the date till which the report is generated. It is not mandatory. If not specified then the report is generated for the entire process.

NA

 

Output Parameter description

Name

Parent Tag

Description

Option

Root

It refers to the case sensitive call name.

MainCode

Exception

Error code specified by WAPI.

FromDate

Result

It is the date since which the user is user is diverted.

ToDate

Result

It is the date till which the user is diverted.

DivertedUserIndex

Result

It is the diverted user id.

AssignedUserIndex

Result

It is the assigned user id (in place of diverted user)

DivertedUserName

Result

It is the diverted user name.

AssignedUserName

Result

It is the assigned user name (in place of diverted user)

 

Errors and Warnings

Code

Constant Value

Message

18

WM_NO_MORE_DATA

No more records

11

WM_INVALID_SESSION_HANDLE

Invalid session

15

WM_INVALID_FILTER

Invalid filter