This call returns the details about the diversion for the particular user. You can view the XML input and output parameters, which have to be passed for getting the diversion details. There is a list of errors and warning that can occur in the execution.
* 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 |
UserId * |
Root |
It is the user id for which the diversion details are required. |
NA |
Name |
Parent Tag |
Description |
Option |
Root |
It refers to the case sensitive call name. |
MainCode |
Exception |
Error code specified by WAPI. |
UserName |
UserInfo |
It is the user name for which the diversion is set |
AssignedToUserId |
UserInfo |
It is the target user id which is diverted. |
AssignedToUserName |
UserInfo |
It is the target user name which is diverted. |
From |
UserInfo |
It is the from date since which the diversion is set. |
To |
UserInfo |
It is the To date till which the diversion is set. |
CurrentWorkitemsFlag |
UserInfo |
This flag displays where the current workitems are also diverted or not. |
Code |
Constant Value |
Message |
18 |
WM_NO_MORE_DATA |
No more records |
11 |
WM_INVALID_SESSION_HANDLE |
Invalid session |
15 |
WM_INVALID_FILTER |
The requested filter is invalid. |