PST SDK
5.0.1.0-acae3ae
|
Get basic tracking target information.
GET /PSTapi/GetTargetInfo HTTP/1.1
Query string parameter: target name
Host: address:port
http://localhost:7278/PSTapi/GetTargetInfo?MyTargetName
Get basic tracking target information.
Key | Value Type | Description |
---|---|---|
Target | Json Object | container for target info |
id | Json Object | container for target info |
name | string | friendly name of the target, set by the user |
uuid | string | unique identifier |
{"Target":{"id":8,"name":"MyTargetName","uuid":"1f8es449-7f99-4c37-8b27-137893cd70f5"}}
Status Code | Content Example | Meaning |
---|---|---|
200 | Json payload | Success message |
400 | {"message":"JSON_ERROR: <...>"} | an error occured when parsing a json object |
400 | {"message":"TrackerException:MSG_MODEL_NOT_FOUND <...>"} | the model provided in the querry has not been found in the database |
500 | {"message":"TrackerException: <...>"} | an other type of internal error |