curl --request POST \
--url https://saas.pads365.com/rdx/NDS.Services.Device/api/v1/device/getState \
--header 'Content-Type: application/json' \
--data '{
"DeviceId": "<string>"
}'
{
"DeviceId": "<string>",
"DeviceType": "<string>",
"LastSeenDate": "2023-11-07T05:31:56Z",
"LedData": {},
"SensorData": {
"isOccupied": true
}
}
curl --request POST \
--url https://saas.pads365.com/rdx/NDS.Services.Device/api/v1/device/getState \
--header 'Content-Type: application/json' \
--data '{
"DeviceId": "<string>"
}'
{
"DeviceId": "<string>",
"DeviceType": "<string>",
"LastSeenDate": "2023-11-07T05:31:56Z",
"LedData": {},
"SensorData": {
"isOccupied": true
}
}
The response is of type object
.