Request
Add parameter in header Authorization
Example:Authorization: ********************
Body Params application/json
{
"pageSize": "100",
"pageIndex": "1",
"customerId": "string",
"deviceIds": "string",
"deviceName": "string",
"deviceType": "string",
"activeTimeStart": "string",
"activeTimeEnd": "string",
"subsumption": true
}
Request Code Samples
curl --location --request POST 'https://mettahub.mettaxiot.com/gps/v2/openapi/device/page' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"pageSize": "100",
"pageIndex": "1",
"customerId": "string",
"deviceIds": "string",
"deviceName": "string",
"deviceType": "string",
"activeTimeStart": "string",
"activeTimeEnd": "string",
"subsumption": true
}'
Responses
application/json {
"code": 0,
"data": {
"records": [
{
"id": "",
"customerName": "",
"deviceName": "",
"deviceType": "",
"camCount": 0,
"timezone": "",
"activeTime": "",
"expirationTime": "",
"iccid": "",
"tripType": "",
"tripValue": "",
"createTime": ""
}
],
"total": 0,
"size": 0,
"current": 0
},
"msg": ""
}
Modified at 2025-11-06 09:29:50