PST SDK  5.0.1.0-acae3ae
SystemCheck

Check if the tracker is running correctly.

Endpoint
  
  GET /PSTapi/SystemCheck HTTP/1.1
  Host: address:port
 
Response

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.

StatusMessage Object
Key Value Type Description
StatusMessage string The status of the tracker as a string object.
Example
 
  {"StatusMessage":"OK"}
 
Verification table
Status Code Content Example Meaning
200 Json payload Success message
500 {"message":"TrackerException: <...>"} an other type of internal error