Approval Task Instance Web Services
Universal Controller supports the following RESTful-based web services for Approval Task Instance operations, which are listed alphabetically on this page.
- Issue Approve Command for an Approval Task Instance
- Issue Reject Command for an Approval Task Instance
Formatting specifications for each web service, including details about parameter requirements, are provided.
Issue Approve Command for an Approval Task Instance
Description | |
|---|---|
URI | http://host_name/uc/resources/taskinstance/approval/approve |
HTTP Method | PUT |
Description | Issues an Approve command for an Approval Task instance. |
Example URI | |
Authentication | HTTP Basic |
Produces Content-Type | application/json |
Consumes Content-Type | N/A |
URI Parameters | See Issue Approve Command for an Approval Task Instance: URI Parameters, below. |
Response Properties | |
Example Request Body | You can optionally specify a reason for the approval in the request body. This will be saved as a Text/Plain |
Example Responses |
|
Issue Approve Command for an Approval Task Instance: URI Parameters
Property | UI Field Name | Description | Specifications | Required | Mutually Exclusive With |
|---|---|---|---|---|---|
| N/A | Used if | String; URI parameter. Valid values:
Default is Oldest Active Instance (1). | N | |
| UUID | UUID of the task instance you want to approve. | String; URI parameter. | Y |
|
| Instance Name | Name of the task instance you want to approve. | String; URI parameter. | Y |
|
| Workflow | Name of the parent Workflow of the task instance. | You can select to display the Workflow field on the Activity Monitor and/or Task Instances List; it is not displayed in the Task Instance Details. | N |
Issue Reject Command for an Approval Task Instance
Description | |
|---|---|
URI | http://host_name/uc/resources/taskinstance/approval/reject |
HTTP Method | PUT |
Description | Issues a Reject command for an Approval Task instance. |
Example URI | |
Authentication | HTTP Basic |
Produces Content-Type | application/json |
Consumes Content-Type | N/A |
URI Parameters | See Issue Reject Command for an Approval Task Instance: URI Parameters, below. |
Response Properties | |
Example Request Body | You can optionally specify a reason for the rejection in the request body. This will be saved as a Text/Plain |
Example Responses |
|
Issue Reject Command for an Approval Task Instance: URI Parameters
Property | UI Field Name | Description | Specifications | Required | Mutually Exclusive With |
|---|---|---|---|---|---|
| N/A | Used if | String; URI parameter. Valid values:
Default is Oldest Active Instance (1). | N | |
| UUID | UUID of the task instance you want to reject. | String; URI parameter. | Y |
|
| Instance Name | Name of the task instance you want to reject. | String; URI parameter. | Y |
|
| Workflow | Name of the parent Workflow of the task instance. | You can select to display the Workflow field on the Activity Monitor and/or Task Instances List; it is not displayed in the Task Instance Details. | N |