Query Approval Settings

Last Updated on : 2023-06-21 07:12:57download

Query the list of approval settings under a specified project.

API address

GET: /v2.0/iot-03/meeting-settings/approvals

Request parameter

Parameter nameTypeINRequiredDescription
page_noIntegerquerytrueThe page number.
page_sizeIntegerquerytrueThe number of items per page.

Return parameter

Parameter nameTypeDescription
resultPage

Description of result

Parameter nameTypeDescription
totalLongThe total number of items.
listListThe list of approval settings.
has_moreBooleanSpecifies whether to return the next page.

Description of list

Parameter nameTypeDescription
idStringThe ID of an approval setting.
approval_typeStringThe type of approval.

Request example

GET: /v2.0/iot-03/meeting-settings/approvals?pageNo=1&pageSize=20

Return example

{
    "result": {
        "list": [
            {
                "approval_type": "anyOneSign",
                "id": "1410203102241366072"
            },
            {
                "approval_type": "anyOneSign",
                "id": "1410073153429835857"
            }
        ],
        "total": 2,
        "has_more": false
    },
    "t": 1625057895438,
    "success": true
}

Error code

For more information, see error code.