PST SDK  6.0.0.0-272350a
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 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