Last Updated on : 2023-07-06 09:11:56download
Query multiple permissions based on the permission identifier set.
POST: /v1.0/iot-03/idaas/spaces/{space_id}/get-batch-permission
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
space_id | String | uri | true | The ID of a specified space. |
Parameter name | Type | Description |
---|---|---|
result | List |
Description of result
Parameter name | Type | Description |
---|---|---|
permission_code | String | The identifier of a permission. |
name | String | The card name. |
type | Integer | The card type.
|
parent_code | String | The identifier of a parent permission. |
order | Integer | The displayed sequence. |
remark | String | Remarks. |
space_id | String | The ID of a specified space. |
gmt_create | String | The time when it is created. |
gmt_modified | String | The time when it is modified. |
POST: /v1.0/iot-03/idaas/spaces/1400762304747802670/get-batch-permission
{
"permissionCodeList": [
"permissionCode"
]
}
{
"result": [
{
"remark": "The button to confirm an order.",
"type": "button",
"spaceId": 1400762304747802600,
"parentCode": "parentCode",
"name": "Confirm",
"permissionCode": "commit",
"order": 1
},
{
"remark": "The button to confirm an order.",
"type": "button",
"spaceId": 1400762304747802600,
"parentCode": "parentCode",
"name": "Confirm",
"permissionCode": "commit2",
"order": 1
}
],
"t": 1622812752731,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback