wfm.GetWFMInfo

This job returns information about a user (e.g. absence, WF user ID) via the DMS user ID.

1. Input Parameters

Name Type Required Description

Requests

BASE64

Yes

List of requests in XML format (see note)

2. Return Value

(INT): 0 = Job successful, otherwise error code.

3. Output Parameters

Name Type Dependency Description

Requests

BASE64

Responses to the requests in XML format (see note)

4. Note

Structure of input parameter Requests:

<Requests>
  <Request UserId="" RequestType=""/>
  <Request UserId="" RequestType=""/>
</Requests>

Detailed description of input Requests:

  • UserId (STRING): ID of the DMS user

  • RequestType (INT): Flag for the type of request

    • 1 = the ID of the active organization should be determined

    • 2 = it should be determined whether the DMS user is contained in the active organization

    • 3 = the ID of the WF user for the DMS user ID should be determined

    • 4 = it should be determined whether the specified user is marked as absent

Structure of output parameter Requests:

<Requests>
  <Request UserId="" RequestType="" Value=""/>
  <Request UserId="" RequestType="" Value=""/>
</Requests>

Detailed description of output Requests:

  • UserId (STRING): ID of the DMS user

  • RequestType (INT): Flag for the type of request (as input)

  • Value (INT): Response to the request

    • for RequestType = 2: 1 = DMS user contained in organization, otherwise 0

    • for RequestType = 4: 1 = DMS user marked as absent, otherwise 0