Submit Approval Task

Last Updated on : 2023-06-21 07:13:01download

Submit a task to a specified approver, who will approve or reject the task.

API address

POST: /v2.0/iot-03/meeting-approvals/{approval_id}/actions/submit

Request parameter

Parameter nameTypeINRequiredDescription
approval_idStringuritrueThe ID of a specified approval task.

Description of body

Parameter nameTypeINRequiredDescription
uidString trueThe ID of a specified approver.
actionString trueThe approval operation.

Return parameter

Parameter nameTypeDescription
resultBooleanIndicates whether the operation is successful. Valid values: true: succeeded. false: failed.

Request example

POST: /v2.0/iot-03/meeting-approvals/1409765158745542709/actions/submit
  "uid": "007",
  "action": "pass"

Return example

    "result": true,
    "t": 1625040821106,
    "success": true

Error code

For more information, see error code.