{
"error" : boolean,
"msg" : string,
"status" : integer
}
_data field:{
"error" : false,
"msg" : "Avaliable trailers list",
"status" : 200,
"_data" : [
{
"registration_number" : "XYZ 1234",
"doors" : "closed",
"bolt" : "locked",
},
[...]
]
}
| API url | https://api.safeguard24.eu/ |
| Format | JSON |
| Version | v1.0 |
| Resource | Method | Description |
|---|---|---|
| /version | GET | For getting current API version number. |
| /bolt/unlock | PUT | Unlock bolt for given trailer |
| /bolt/unlock | POST | Unlock bolt from SMSAPI |
| /bolt/unlock/{unlock-id} | GET | Check unlock action status |
| /trailers | GET | Get list of trailers |
| /trailer/{number} | GET | Get trailer details |
| /phone/message | PUT | Send SMS message |
| /alerts/types | GET | Get list of possible alerts message types |
| /alerts/{timestamp}/{numbers} | GET | Fetch alerts from given timestamp for given trailers |