ModifyItem
Approve or reject an item.
Input
Name | Type | Required | Description |
ModuleId | String | True | The Id of the module. |
WorkItemId | String | True | The Id of the work item. |
Action | String | True | The action to take on the work item. If it is set to 'reject', then the reasonId is required.
The allowed values are approve, reject. |
Comments | String | False | Any comments about the action. |
ReasonId | String | False | The reason Id for the rejection. This is required when the action is reject. |
Result Set Columns
Name | Type | Description |
Success | Boolean | Indicates whether the operation completed successfully. |