The TrueSight Web Service (TSWS)
login API uses the POST method to return an authToken value in the JSON response. The authToken provides the credentials and permissions of the user performing the operations and must be specified to authenticate all subsequent TSWS API requests.
The authToken also contains an expiration date for using it.
|username||User name performing the operation|
|password||Password to authenticate the user|
Tenant name as it appears in the Presentation Server
The request parameters in JSON format:
Sample request with REST client
JSON response content
The JSON response includes an authToken if the authentication is successful. You must use this authToken value for subsequent requests.
|Value that you specify in subsequent TrueSight Web Services operations|
Date in which the authToken expires
To perform a TrueSight Web Services operation after this date, you must perform this operation again.