Request body for submitting an approval action.
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/ariba-sourcing/refs/heads/main/json-schema/external-approval-api-approval-action-request-schema.json", "title": "ApprovalActionRequest", "description": "Request body for submitting an approval action.", "type": "object", "properties": { "taskId": { "type": "string", "description": "Task identifier.", "example": "TASK-500123" }, "action": { "type": "string", "description": "Action to take.", "enum": [ "approve", "deny" ], "example": "approve" }, "userId": { "type": "string", "description": "User ID submitting the action.", "example": "[email protected]" }, "comment": { "type": "string", "description": "Optional comment for the action.", "example": "Approved per procurement policy." } }, "required": [ "taskId", "action", "userId" ] }