POST Token Request

This endpoint will allow you to have the authentication token.

 
Without this token you will not be able to perform queries in Toursys API.

[ENDPOINT]/ToursysConnectionApi/api/auth/jwt

Headers

Content-Type application/json

BODY (raw - json)

{

"userName": "companyAPIUsername",

"password" : "companyAPIPassword"

}

Example Request

curl --location -g --request POST '[ENDPOINT]/api/auth/jwt' \

--header 'Content-Type: application/json' \

--data-raw '{

"userName": "companyAPIUsername",

"password" : "companyAPIPassword"

}'