Check the Hotel Release Notes for updates across all Hotel APIs.

Hotel Rules Full Payload API Reference

POST

rules/offershospitality/buildfromrequest

Base path:

Use this base path if you have not yet received or not migrated to the new credentials from Travelport:

Pre-production https://api.pp.travelport.com/11/hotel/

Production https://api.travelport.com/11/hotel/

Use this base path after you have migrated to the new credentials from Travelport (using .net instead of .com):

Pre-production https://api.pp.travelport.net/11/hotel/

Production https://api.travelport.net/11/hotel/

Related Content: Hotel Guide, Hotel Workflow Diagram, Hotel Availability API Reference

Hotel Rules retrieves the rules associated with a specific rate. The full payload request sends all required offer details, while the reference payload Rules request references an offer by sending the unique offer ID from an Availability response.

Request

Query Parameters

None.

Request Body

Response

The response for the Rules Full Payload request is identical to the response for the reference payload request. See the Rules Reference Payload API Reference for the response table and examples.

Example Request

Example Response

The response for the Rules Full Payload request is identical to the response for the reference payload request. See the Rules Reference Payload API Reference.

Error Messages

See the Rules Reference Payload API Reference.