PST SDK
5.0.1.0-acae3ae
|
Check if the tracker is running correctly.
GET /PSTapi/SystemCheck HTTP/1.1
Host: address:port
Returns one of the following status messages:
{"StatusMessage":"OK"}
{"StatusMessage":"NOT_INITIALIZED"}
{"StatusMessage":"DISCONNECTED"}
{"StatusMessage":"ERR_GENERAL"}
{"StatusMessage":"ERR_TIMEOUT"}
{"StatusMessage":"ERR_NOCAMS_FOUND"}
{"StatusMessage":"ERR_NOTENOUGHTCAMS_FOUND"}
{"StatusMessage":"ERR_INITERROR"}
{"StatusMessage":"ERR_CANNOT_START_CAMS"}
{"StatusMessage":"ERR_CANNOT_SETUP_CAMS"}
More information on the different status messages can be found in the PSTech::pstsdk::StatusMessage documentation.
Key | Value Type | Description |
---|---|---|
StatusMessage | string | The status of the tracker as a string object. |
{"StatusMessage":"OK"}
Status Code | Content Example | Meaning |
---|---|---|
200 | Json payload | Success message |
500 | {"message":"TrackerException: <...>"} | an other type of internal error |