Get Reconciliation Workflows

Returns the read-only run-time workflow and assigned users or roles for a reconciliation.

REST Resource

GET /arm/rest/rc/v1/reconciliations/{reconciliationId}/workflow

Required Roles

You must have one of the following roles or assignments:

  • Service Administrator
  • Power User with security access to the reconciliation
  • Reconciliation Owner
  • User assigned as Preparer, Reviewer, Commentator, or reconciliation Viewer

Request

This GET operation does not require a request body.

Table 4-122 Request Parameters

Name Type Description Required
reconciliationId Path ID of the reconciliation whose workflow is to be retrieved. Yes

Example URL

The following example retrieves the workflow for reconciliation 100000004828309.

GET https://<SERVICE_NAME>/arm/rest/rc/v1/reconciliations/100000004828309/workflow

Response

Supported Media Types: application/json

Returns the read-only run-time workflow assignments as an array of workflow rows. The following table describes the fields of each row.

Table 4-123 Response Parameters

Name Description
userId Identifier of the assigned user or team.
userType Type of the assigned user. The example returns U.
activeUserId Identifier of the active assignee.
backupUserId Identifier of the backup user. The example returns null.
actionUserId Identifier of the action user. The example returns null.
ruleId Identifier of the associated rule. The example returns null.
displayUserId User identifier used for display.
displayUserType User type used for display. The example returns U.
displayName Display name of the assigned user.
assignedToName Assigned-to name. The example returns null.
hasAvatar Indicates whether an avatar is available.
accessType Native workflow responsibility code. The example returns P for Preparer.
accessLevel Workflow access level. The example returns 0.
startDate Workflow start date or timestamp.
endDate Workflow end date or timestamp.
midnightEndDate Midnight end-date value.
actualEndDate Actual completion date or timestamp. The example returns null.
lastUpdateDate Date or timestamp of the most recent update.
groupOrTeam Indicates whether the assignment is to a group or team.
claimed Indicates whether the assignment has been claimed.
late Indicates whether the work is late.
withMe Indicates whether the work is with the current user.
requireAll Indicates whether all assignees are required.
finalUser Indicates whether this is the final user.
teamWork Team work details. The example returns an empty array; the item structure is not specified.
percentComplete Completion percentage. The example returns null.
label Display label for the workflow responsibility. The example returns Preparer.
assignedName Name of the assigned user or team.

Example of Response Body

[
  {
    "userId": "jsmith",
    "userType": "U",
    "activeUserId": "jsmith",
    "backupUserId": null,
    "actionUserId": null,
    "ruleId": null,
    "displayUserId": "jsmith",
    "displayUserType": "U",
    "displayName": "John Smith",
    "assignedToName": null,
    "hasAvatar": false,
    "accessType": "P",
    "accessLevel": 0,
    "startDate": "<timestamp>",
    "endDate": "<timestamp>",
    "midnightEndDate": "<timestamp>",
    "actualEndDate": null,
    "lastUpdateDate": "<timestamp>",
    "groupOrTeam": false,
    "claimed": false,
    "late": false,
    "withMe": true,
    "requireAll": false,
    "finalUser": true,
    "teamWork": [],
    "percentComplete": null,
    "label": "Preparer",
    "assignedName": "John Smith"
  }
]