PST SDK
6.0.0.0-272350a
|
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 occurred when parsing a JSON object |
400 | {"message":"TrackerException:MSG_MODEL_NOT_FOUND <...>"} | The model provided in the query has not been found in the database |
500 | {"message":"TrackerException: <...>"} | An other type of internal error |