Authorization: ********************{
"customerId": "string",
"deviceId": "string",
"type": "string",
"commandStatus": 0,
"commandId": "string",
"limit": 1
}curl --location --request POST 'https://mettahub.mettaxiot.com/gps/v2/openapi/device/command/recently' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"customerId": "string",
"deviceId": "string",
"type": "string",
"commandStatus": 0,
"commandId": "string",
"limit": 1
}'{
"code": 0,
"data": [
{
"id": "",
"deviceId": "",
"commandText": "",
"commandTextReply": "",
"subProtocol": "",
"type": "",
"customerId": "",
"commandStatus": 0,
"sendTime": "",
"endTime": ""
}
],
"msg": ""
}