Prerequisites
All the REST services require an authentication token as one of the parameters. Use the following command to obtain an authentication token.
Endpoint
/uta/token/generate-token
 
Curl command
curl --insecure -X POST https://<hostname>:<port>/uta/token/generate-token -H 'content- type: application/json' -d '{ "username": "<username>", "password": "<password>"}'
 
Note: The option --insecure is only needed if the application uses a self signed certificate.
Parameters
<username>: Valid Oracle Utilities Testing Accelerator application user's username
<password>: Oracle Utilities Testing Accelerator application user's password
<hostname>: Oracle Utilities Testing Accelerator application host name
<port>: Oracle Utilities Testing Accelerator application port
Below is a sample response from the call.
{
"token": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJsb2NhbGhvc3QiLCJzY29wZXMiOiJST0xFX0FkbWl uaXN0cmF0b3IiLCJpYXQiOjE2MjAwMzQ1NjMsImV4cCI6MTYyMDA1MjU2M30.2SrK iZPslj6Ba2S8zqJm8YakjaFdZfhIhfuXcEsSE-Q"
}