| PST SDK 6.0.0.0-272350a

GetTargetList

Get all tracking targets names.

Endpoint

      GET /PSTapi/GetTargetList HTTP/1.1
      Host: address:port

Response

Returns an array of string containing all tracking targets names

TargetList Object

Key | Value Type | Description
--- | --- | ---
TargetList | array of string | targets names

Example

      {"TargetList":["Reference","dummy_target_a","dummy_target_b","main_target"]}

Verification table

Status Code | Content Example | Meaning
--- | --- | ---
200 | JSON payload | Success message
500 | {"message":"TrackerException: <...>"} | An other type of internal error