Table of Contents |
---|
...
RatePlans by Hotel
Method: GET
Path: /publishers/{publisherCode}/hotels/{hotelCode}/ratePlans
Description: Lists all the Rate Plans rate plans for a specific publisher and hotel and publisher.
Parameters
Name | Located in | Description | Required | Type |
---|---|---|---|---|
publisherCode | path | The unique identifier for the data publisher. Please refer to PMS RequestorID/publisherCode list | Yes | string |
hotelCode | path | The code that uniquely identifies a single hotel property. | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | OK | |
401 | Unauthorized | |
403 | Forbidden | |
405 | Method Not Supported | |
429 | Too Many Requests | |
500 | Internal Server Error |
...
RatePlans by Rate Plan Code
Method: GET
Path: /publishers/{publisherCode}/hotels/{hotelCode}/ratePlans/{ratePlanCode}
Description: Get a specific rate plan for a publisher and hotel and publisher.
Parameters
Name | Located in | Description | Required | Type |
---|---|---|---|---|
publisherCode | path | The unique identifier for the data publisher. Please refer to PMS RequestorID/publisherCode list | Yes | string |
hotelCode | path | The code that uniquely identifies a single hotel property. | Yes | string |
ratePlanCode | path | The rate plan code. | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | OK | |
401 | Unauthorized | |
403 | Forbidden |
429
Too Many Requests
500
Internal Server Error
Rate by Rate Plan
Method: GET
Path: /publishers/{publisherCode}/hotels/{hotelCode}/ratePlans/{ratePlanCode}/rates
Description: Fetch the rates for a rate plan code based on given date range for a specific hotel and publisher
Info |
---|
If a publisher does not send a ratePlanCode with a rate then use ratePlanCode: |
Parameters
Name | Located in | Description | Required | Type |
---|---|---|---|---|
publisherCode | path | The unique identifier for the data publisher. Please refer to PMS RequestorID/publisherCode list | Yes | string |
hotelCode | path | The code that uniquely identifies a single hotel property. | Yes | string |
ratePlanCode | path | The rate plan code. Note: If a publisher does not send a ratePlanCode with a rate then use | Yes | string |
startDate | query | Start date to query for rates. Format like | Yes | date |
range | query | The number of days to query for. Maximum | No | number |
Responses
Code
Description
Schema
200
OK
401
Unauthorized
403
Forbidden
405 | Method Not Supported | |
429 | Too Many Requests | |
500 | Internal Server Error |
Availability by Rate Plan
Method: GET
Path: /publishers/{publisherCode}/hotels/{hotelCode}/ratePlans/{ratePlanCode}/availability
Description: Fetch the availability for a given rate plan, hotel, and publisher.
Parameters
Name | Located in | Description | Required | Type |
---|---|---|---|---|
publisherCode | path | The unique identifier for the data publisher. Please refer to PMS RequestorID/publisherCode list | Yes | string |
hotelCode | path | The code that uniquely identifies a single hotel property. | Yes | string |
ratePlanCode | path | The rate plan code. | Yes | string |
startDate | query | Start date to query for rates. Format like | Yes | date |
range | query | The number of days to query for. Maximum | No | number |
Responses
...
Code
...
Description
...
Schema
...
200
...
OK
...
...
401
...
Unauthorized
...
...
403
...
Forbidden
...
...
429
...
Too Many Requests
...
...
500
...
Internal Server Error
...
Response JSON Samples: RatePlans Samples