- README
- Update Record
- token
- customer
- device
- fence
- push
- video
- alarm
- audio
- gallery
- fleet
- gps
- Protocol AnalysisPOST
commandInfoList
Singapore
Singapore
POST
/v2/openapi/device/command/recently
Request
Header Params
Authorization
string
required
Body Params application/json
customerId
string | null
optional
deviceId
string | null
optional
type
string | null
optional
commandStatus
integer | null
optional
commandId
string | null
optional
limit
integer | null
required
>= 1<= 3
Example
{
"customerId": "string",
"deviceId": "string",
"type": "string",
"commandStatus": 0,
"commandId": "string",
"limit": 1
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://mettahub.mettaxiot.com/gps/v2/openapi/device/command/recently' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"customerId": "string",
"deviceId": "string",
"type": "string",
"commandStatus": 0,
"commandId": "string",
"limit": 1
}'
Responses
🟢200Success
application/json
Body
code
integer | null
optional
data
array[object (ApiDeviceCommandVO) {10}] | null
optional
id
string |