get Token - User Credentials

POST {{HostName}}/hdpba/oauth2/v0/token

This is required to access the OPERA Cloud Distribution REST APIs.

The username and password for Distribution API are provided by Oracle Hospitality Distribution channel onboarding process, by Oracle.

Obtaining a token

To obtain a token include the following body parameters:

  • username. set this to your OPERA Cloud Distribution username.
  • password. Set this to your OPERA Cloud Distribution user's password.

Request Body

[{"name"=>"username", "value"=>"{{Username}}", "datatype"=>"string"}, {"name"=>"password", "value"=>"{{Password}}", "datatype"=>"string"}, {"name"=>"content-type", "value"=>"application/x-www-form-urlencoded;charset=UTF-8", "datatype"=>"string"}]

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring
x-app-keystring