PST SDK  5.0.1.0-acae3ae
GetTargetInfo

Get basic tracking target information.

Endpoint
  
  GET /PSTapi/GetTargetInfo  HTTP/1.1
  Query string parameter: target name
  Host: address:port
 
Get Request example
 
  http://localhost:7278/PSTapi/GetTargetInfo?MyTargetName
 
Response

Get basic tracking target information.

Target Object
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
Example
 
  {"Target":{"id":8,"name":"MyTargetName","uuid":"1f8es449-7f99-4c37-8b27-137893cd70f5"}}
 
Verification table
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