Developer Guide

The API differers from the ARI/Reservation API’s in the fact it is Rest/JSON based (rather than Soap/XML). Authentication for this API is handled via HTTP Basic Auth using your existing PMSX username and password.

These are the parameters needed for you to utilise the endpoint:

  • PMS code - Your PMSX PMS Code

  • Hotel code - Unique Identifier for the hotel

  • Username - Your assigned PMSX username

  • Password - Your PMSX password

You are also required to include a unique trace-token with each request. This is to be sent as http header item.

  • X-SM-TRACE-TOKEN - a uuid that can be used for trouble shooting requests

Example curl request using the room-rates API

curl -u USERNAME:PASSWORD -H "x-sm-trace-token:1234567890" https://tpi-pmsx.preprod.siteminderlabs.com/core-api/pmses/{PMSCODE}/hotels/{HOTELCODE}/room-rates

Last updated