approveOrder
Approve, cancel, or reject a DMS approval workflow order using its workflow instance ID. Specify the approval action and an optional comment.
Instructions
Approve or reject an order in DMS. The workflow_instance_id can be obtained from getOrderInfo.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow_instance_id | Yes | Approval workflow ID, can be obtained from getOrderInfo API | |
| approval_type | Yes | Approval action: AGREE (approve), CANCEL (cancel), REJECT (reject) | |
| comment | No | Comment for the approval action | Order approved via MCP |