https://api.sciener.com/v3/standaloneDoorSensor/getAlertFlag
The notification received in the cloud will be sent to the developer via a callback.
POST, ContentType:application/x-www-form-urlencoded
xxxxxxxxxx51curl --location -g --request POST 'https://api.sciener.com/v3/standaloneDoorSensor/getAlertFlag' \2--data-urlencode 'clientId=4773aa036f7f49c68d876bb4be85c80c' \3--data-urlencode 'accessToken=dfd5489d0cee31f0bdfaf59d0d42d71f' \4--data-urlencode 'doorSensorId=100123' \5--data-urlencode 'date=1625025703000'| Name | Type | Required | Description |
|---|---|---|---|
| clientId | String | Y | client_id from Create application |
| accessToken | String | Y | Access token,refer to: Get access token |
| doorSensorId | Int | Y | DS3 ID |
| date | Long | Y | Current time (timestamp, in milliseconds) |
| Parameter | Type | Description |
|---|---|---|
| notCloseAlertFlag | Int | Door not closed reminder indicator: Value range 1 - Open, 2 - Closed |
| notCloseAlertSecondNum | Int | Door not closed reminder time, unit: seconds, range: 1~900 seconds. |
| longTimeNotOpenAlertFlag | Int | Long-term inactivity reminder indicator: Value range 1 - On, 2 - Off |
| longTimeNotOpenDayNum | Int | Long-term door inactivity reminder time, unit: days, range: 1-15 days. |
xxxxxxxxxx61{2"notCloseAlertFlag": 1,3"notCloseAlertSecondNum": 100,4"longTimeNotOpenAlertFlag": 1,5"longTimeNotOpenDayNum": 106}