获取机场或飞机解禁证书列表
GET
/openapi/v0.9/manage/api/v1/organizations/{org_uuid}/manage-devices/unlock-license/list
es-management-service
请求参数
Path 参数
org_uuid
string
必需
Query 参数
device_sn
string
设备序列号
示例值:
1581F8HHD24B10010084
device_model_domain
integer
设备型号域
示例值:
1
license_type
array[integer]
证书类型列表
license_id
array[integer]
证书ID列表
detail
boolean
是否返回详细信息
默认值:
false
Header 参数
x-user-token
string
必需
默认值:
{{x-user-token}}
X-Request-Id
string
可选
默认值:
{% mock 'uuid' %}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/openapi/v0.9/manage/api/v1/organizations//manage-devices/unlock-license/list?device_sn=1581F8HHD24B10010084&device_model_domain=1&license_type&license_id&detail' \
--header 'x-user-token;' \
--header 'X-Request-Id: {% mock '\''uuid'\'' %}'
返回响应
🟢200成功
application/json
Body
HTTP响应模板
code
integer
响应码
message
string
响应消息
data
object
响应数据
consistence
boolean
可选
example: true
device_model_domain
integer
可选
example: 1
licenses
array [object {8}]
证书列表
result
integer
可选
example: 0
示例
{
"code": 0,
"message": "string",
"data": {
"consistence": true,
"device_model_domain": 0,
"licenses": [
{
"area_unlock": {
"area_ids": [
0
]
},
"circle_unlock": {
"height": 0,
"latitude": 0,
"longitude": 0,
"radius": 0
},
"common_fields": {
"begin_time": 0,
"device_sn": "string",
"enabled": true,
"end_time": 0,
"group_id": 0,
"id": 0,
"name": "string",
"type": 0,
"user_id": "string",
"user_only": true
},
"country_unlock": {
"country_number": 0,
"height": 0
},
"height_unlock": {
"height": 0
},
"polygon_unlock": {
"points": [
{
"latitude": 0,
"longitude": 0
}
]
},
"power_unlock": {
"level": 0
},
"rid_unlock": {
"level": 0
}
}
],
"result": 0
}
}
修改于 2025-07-01 03:12:14