Request
Add parameter in header Authorization
Example:Authorization: ********************
Body Params application/json
{
"pageSize": "10",
"pageIndex": "1",
"deviceIds": "string",
"faceIds": "string",
"contrastTypes": "string",
"startTime": "string",
"endTime": "string",
"compaResult": 0
}
Request Code Samples
curl --location --request POST 'https://mettahub.mettaxiot.com/gps/v2/openapi/fleet/face/page' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"pageSize": "10",
"pageIndex": "1",
"deviceIds": "string",
"faceIds": "string",
"contrastTypes": "string",
"startTime": "string",
"endTime": "string",
"compaResult": 0
}'
Responses
application/json {
"code": 0,
"data": {
"records": [
{
"serialNo": "",
"deviceId": "",
"compaResult": 0,
"contrastType": 0,
"faceId": "",
"reportTime": "",
"lat": 0.0,
"lon": 0.0,
"faceImgUrl": ""
}
],
"total": 0,
"size": 0,
"current": 0
},
"msg": ""
}
Modified at 2024-11-14 02:17:51