Quick Start
Complete these tasks to set up your environment and use the Oracle Hospitality Cruise Property Management Border Control to create your first Border Control solution.
Prerequisites
Prerequisite | More Information |
Install Oracle Hospitality Cruise Property Management Border Control | Refer Border Control Installation and User Guide at Oracle Hospitality Cruise Online Documentation Library |
Task 1: Obtain Account Information
From
your account administrator, obtain the appropriate account credentials
to enable you to access Border Control functions and resources. Specifically,
you will need:
-
User name and password
Task 2: Obtain access token
After you set up your REST client, follow steps in Authenticate section and you will obtain an access token in response.
Task 3: Send a Request
You can send a request to ensure that your connection works. For example, retrieving your user details. You can use the following request.
curl -i -X GET -H "Authorization:Bearer {access-token}"
https://{host-name}:{port}/spms/v1/userDetails
If the request is successful, then you should receive a 200 response with a body such as the following:
{
"photo": null,
"crewName": null,
"position": "Staff Captain",
"userName": "Scott Tiger",
"userGroup": "ADMIN",
"userId": 1235
}
Congratulations!