Contact Us
Log In

Query Approval Details

Last Updated on : 2022-06-21 06:47:44

Query the details of a specified approval by approval ID.

API address

GET: /v2.0/iot-03/meeting-approvals/{approval_id}

Request parameter

Parameter nameTypeINRequiredDescription
approval_idStringurifalseThe ID of a specified approval.
uidStringqueryfalseThe user ID.

Return parameter

Parameter nameTypeDescription
resultMeetingApprovalTaskResThe returned list.

Description of result

Parameter nameTypeDescription
idStringThe value of a specified primary key.
titleStringThe title of a specified approval.
current_stepStringThe current node.
reservation_idStringThe reservation ID.
statusIntegerThe status of a specified approval task. Valid values:
  • 1: finished.
  • 0: pending.
submit_timeLongThe timestamp when a specified approval is submitted.

Request example

GET: /v2.0/iot-03/meeting-approvals/14637505335****00?uid=bay1627359****608pW

Return example

    "result": {
        "submit_time": 1637820297015,
        "title": "Meeting Room No. 2 Approval",
        "reservation_id": "14637505****7382658",
        "id": "14637505****1643200",
        "current_step": "anyOneSign",
        "status": 1
    "t": 1639194176221,
    "success": true

Error code

For more information, see error code.