What is it?
The Manage Rates - Company Profile Assignment API includes many endpoints to enable you to do the following:
- Read, create, and delete company profile assignments for chain level, brand level, and hotel level rates.
- Create and delete company profile assignments for group rates.
- Read, create, update, and delete default descriptions for the company profile rate assignments for chain level, brand level, and hotel level rates. (Company profile rate descriptions are not supported for group rates.)
- Read, create, update, and delete seasonal descriptions for company profile rate assignments for chain level, brand level, and hotel level rates. (Company profile rate descriptions are not supported for group rates.)
Note: To use the endpoints for default descriptions and the endpoints for seasonal descriptions for a chain, that chain must have its Enable Company Rate Descriptions setting enabled. To enable that setting on a chain, your SynXis Account Manager must go to Administration > Chain > Chain Administration > Chain Attributes (in SynXis CRS) and enable the setting named Enable Company Rate Descriptions.
Before You Begin
- You must authenticate before you can use this API. For full instructions, see Get a Token for REST APIs.
- At any time, you can go to this API's Reference Documentation tab, where you can make test calls with the following endpoints.
How to use
This section covers the endpoints for this API and examples of how to use them.
GET company profile assignments and default descriptions for a brand rate
This endpoint enables you to view which company profiles are assigned to a brand level rate and view the default descriptions of those assignments.
[GET] /v1/brands/{brandId}/rates/{code}/companyProfilesPath Parameters
The following table describes the elements that you must include for this operation:
| Element | Description | Type | Required? |
|---|---|---|---|
| brandId | The brandId uniquely identifies a single brand property in CRS. Example: 13098 | integer | Required |
| code | The code to identify the brand rate. Example: RCO | string | Required |
Query Parameters
The following table describes the elements that you can include when you query this endpoint:
| Element | Description | Type | Required? |
|---|---|---|---|
| pageStart | The starting record to return in the response. Example: /v1/brands/{brandId}/rates/{code}/companyProfiles?pageStart=1 | integer | Optional |
| pageSize | The number of records to return in the response. Use 0 to return all. Example: /v1/brands/{brandId}/rates/{code}/companyProfiles?pageSize=20 | integer | Optional |
Response in JSON
{
"rateName": "Standard RAC Rate",
"rateCode": "RAC",
"rateStatus": "Active",
"CompanyProfileList": [
{
"CompanyProfile": {
"code": "Rt101",
"Level": "Chain",
"name": "Company Profile",
"DefaultDescription": "RateAssignmentDefaultDescription",
"Hotel": {
"id": 10000
},
"Chain": {
"id": 10000
}
}
}
],
"HotelList": [
{
"id": 10000,
"name": "Hotel",
"code": "ourHOTEL"
}
],
"ChainList": [
{
"id": 10000,
"name": "Chain",
"code": "ourCHAIN"
}
],
"Paging": {
"size": 50,
"start": 0,
"total": 146
}
}Response Elements
The following table explains the elements you receive in the response:
| Element | Description | Type |
|---|---|---|
| rateName | This is the name of the rate. | string |
| rateCode | This is the code for the rate | string |
| rateStatus | This is active or inactive, depending on the status of the rate. | string |
| CompanyProfileList | The array to hold the list of company profiles assigned to the rate. | array |
| CompanyProfile | The array to hold one company profile's information. | array |
| code | This is the code for the company profile. | string |
| Level | This is the level for the company profile. This will always be Chain, because brand rates can have only chain level company profiles assigned to them. | string |
| name | This is the name of the company profile. | string |
| DefaultDescription | This is the default description for the company profile rate assignment. | string |
| Hotel | The array to hold information about the hotel to which the company profile is assigned. | array |
| id | This ID uniquely identifies a single hotel property in CRS. | integer |
| Chain | The array to hold information about the chain to which the company profile is assigned. | array |
| id | This ID uniquely identifies a single chain property in CRS. | integer |
| HotelList | The array to hold more hotel information. | array |
| id | This ID uniquely identifies a single hotel property in CRS. | integer |
| name | This is the name of the hotel. | string |
| code | This is the code for the hotel. | string |
| ChainList | The array to hold more chain information. | array |
| id | This ID uniquely identifies a single chain property in CRS. | integer |
| name | This is the name of the chain. | string |
| code | This is the code for the chain. | string |
| Paging | The array of pagination elements. | array |
| size | Number of records per page to be returned in the response (0 = return all). Example: 50 | integer |
| start | Starting record to be returned in the response. | integer |
| total | Total number of records. Example: 146 | integer |
POST company profile assignments and default descriptions for a brand rate
This endpoint enables you to assign chain level company profiles to a brand level rate. With this endpoint, you can also create default descriptions for those assignments.
[POST] /v1/brands/{brandId}/rates/{code}/companyProfilesPath Parameters
The following table describes the elements that you must include for this operation:
| Element | Description | Type | Required? |
|---|---|---|---|
| brandId | The brandId uniquely identifies a single brand property in CRS. Example: 13099 | integer | Required |
| code | The code to identify the brand rate. Example: RCO | string | Required |
Post Body Parameters
The following table describes the parameters to include in your post request:
| Element | Description | Type |
|---|---|---|
| CompanyProfileList | The array to hold the identifying information about the company profile. | array |
| code | This is the code for the company profile that you want to assign to the brand rate. | string |
| DefaultDescription | The default description for the rate of the company profile rate assignment. | string |
| Level | This is the level for the company profile. This will always be Chain, because brand rates can have only chain level company profiles assigned to them. | string |
Post Body Example
The following is an example of the body for this post request:
{
"CompanyProfileList": [
{
"code": "OurCode",
"DefaultDescription": "RateAssignmentDefaultDescription"
}
],
"Level": "Chain"
}
Response in JSON
{
"Code": "RequestSuccessful"
}Response Elements
The following table explains the elements you receive in the response:
| Element | Description | Type |
|---|---|---|
| Code | The code for success or failure. | string |
PUT company profile assignment default descriptions for a brand rate
This endpoint enables you to update the default descriptions for existing company profile assignments for a brand level rate.
You cannot update the company profile assignment itself with this PUT. To update the company profile assignment, you would delete the assignment with the DELETE endpoint and then create a new assignment with the POST endpoint.
[PUT] /v1/brands/{brandId}/rates/{code}/companyProfilesPath Parameters
The following table describes the elements that you must include for this operation:
| Element | Description | Type | Required? |
|---|---|---|---|
| brandId | The brandId uniquely identifies a single brand property in CRS. Example: 13099 | integer | Required |
| code | The code to identify the brand rate. Example: RCO | string | Required |
Put Body Parameters
The following table describes the parameters to include in your put request:
| Element | Description | Type |
|---|---|---|
| CompanyProfileList | The array to hold the identifying information about the company profile. | array |
| code | This is the code for the company profile that you want to assign to the brand rate. | string |
| DefaultDescription | The default description for the rate of the company profile rate assignment. | string |
| Level | This is the level for the company profile. This will always be Chain, because brand rates can have only chain level company profiles assigned to them. | string |
Put Body Example
The following is an example of the body for this put request:
{
"CompanyProfileList": [
{
"code": "OurCode",
"DefaultDescription": "RateAssignmentDefaultDescription"
}
],
"Level": "Chain"
}
Response in JSON
{
"Code": "RequestSuccessful"
}Response Elements
The following table explains the elements you receive in the response:
| Element | Description | Type |
|---|---|---|
| Code | The code for success or failure. | string |
DELETE company profile assignments and default descriptions for a brand rate
This endpoint enables you to delete (unassign) the assignment of chain level company profiles to brand level rates. With this endpoint, you can also delete the default descriptions for those assignments.
[DELETE] /v1/brands/{brandId}/rates/{code}/companyProfilesPath Parameters
The following table describes the elements that you must include for this operation:
| Element | Description | Type | Required? |
|---|---|---|---|
| brandId | The brandId uniquely identifies a single brand property in CRS. Example: 13098 | integer | Required |
| code | The code to identify the brand rate. Example: RCO | string | Required |
Delete Body Parameters
The following table describes the parameters to include in your delete request:
| Element | Description | Type |
|---|---|---|
| CompanyProfileList | The array to hold the identifying information about the company profile. | array |
| code | This is the code for the company profile that you want to assign to the brand rate. | string |
| DefaultDescription | The default description for the rate of the company profile rate assignment. | string |
| Level | This is the level for the company profile. This will always be Chain, because brand rates can have only chain level company profiles assigned to them. | string |
Delete Body Example
The following is an example of the body for this delete request:
{
"CompanyProfileList": [
{
"code": "OurCode",
"DefaultDescription": "RateAssignmentDefaultDescription"
}
],
"Level": "Chain"
}Response in JSON
{
"Code": "RequestSuccessful"
}Response Elements
The following table explains the elements you receive in the response:
| Element | Description | Type |
|---|---|---|
| Code | The code for success or failure. | string |
GET company profile assignments and default descriptions for a chain rate
This endpoint enables you to view which company profiles are assigned to a chain level rate and view the default descriptions of those assignments.
[GET] /v1/chains/{chainId}/rates/{code}/companyProfilesPath Parameters
The following table describes the elements that you must include for this operation:
| Element | Description | Type | Required? |
|---|---|---|---|
| chainId | The chainId uniquely identifies a single chain property in CRS. Example: 13098 | integer | Required |
| code | The code to identify the chain rate. Example: RCO | string | Required |
Query Parameters
The following table describes the elements that you can include when you query this endpoint:
| Element | Description | Type | Required? |
|---|---|---|---|
| pageStart | The starting record to return in the response. Example: /v1/chains/{chainId}/rates/{code}/companyProfiles?pageStart=1 | integer | Optional |
| pageSize | The number of records to return in the response. Use 0 to return all. Example: /v1/chains/{chainId}/rates/{code}/companyProfiles?pageSize=20 | integer | Optional |
Response in JSON
{
"rateName": "Standard RAC Rate",
"rateCode": "RAC",
"rateStatus": "Active",
"CompanyProfileList": [
{
"CompanyProfile": {
"code": "Rt101",
"Level": "Chain",
"name": "Company Profile",
"DefaultDescription": "RateAssignmentDefaultDescription",
"Hotel": {
"id": 10000
},
"Chain": {
"id": 10000
}
}
}
],
"HotelList": [
{
"id": 10000,
"name": "Hotel",
"code": "ourHOTEL"
}
],
"ChainList": [
{
"id": 10000,
"name": "Chain",
"code": "ourCHAIN"
}
],
"Paging": {
"size": 50,
"start": 0,
"total": 146
}
}Response Elements
The following table explains the elements you receive in the response:
| Element | Description | Type |
|---|---|---|
| rateName | This is the name of the rate. | string |
| rateCode | This is the code for the rate | string |
| rateStatus | This is active or inactive, depending on the status of the rate. | string |
| CompanyProfileList | The array to hold the list of company profiles assigned to the rate. | array |
| CompanyProfile | The array to hold one company profile's information. | array |
| code | This is the code for the company profile. | string |
| Level | This is the level for the company profile. This will always be Chain, because chain rates can have only chain level company profiles assigned to them. | string |
| name | This is the name of the company profile. | string |
| DefaultDescription | This is the default description for the company profile rate assignment. | string |
| Hotel | The array to hold information about the hotel to which the company profile is assigned. | array |
| id | This ID uniquely identifies a single hotel property in CRS. | integer |
| Chain | The array to hold information about the chain to which the company profile is assigned. | array |
| id | This ID uniquely identifies a single chain property in CRS. | integer |
| HotelList | The array to hold more hotel information. | array |
| id | This ID uniquely identifies a single hotel property in CRS. | integer |
| name | This is the name of the hotel. | string |
| code | This is the code for the hotel. | string |
| ChainList | The array to hold more chain information. | array |
| id | This ID uniquely identifies a single chain property in CRS. | integer |
| name | This is the name of the chain. | string |
| code | This is the code for the chain. | string |
| Paging | The array of pagination elements. | array |
| size | Number of records per page to be returned in the response (0 = return all). Example: 50 | integer |
| start | Starting record to be returned in the response. | integer |
| total | Total number of records. Example: 146 | integer |
POST company profile assignments and default descriptions for a chain rate
This endpoint enables you to assign chain level company profiles to a chain level rate. With this endpoint, you can also create default descriptions for those assignments.
[POST] /v1/chains/{chainId}/rates/{code}/companyProfilesPath Parameters
The following table describes the elements that you must include for this operation:
| Element | Description | Type | Required? |
|---|---|---|---|
| chainId | The chainId uniquely identifies a single chain property in CRS. Example: 13098 | integer | Required |
| code | The code to identify the chain rate. Example: RCO | string | Required |
Post Body Parameters
The following table describes the parameters to include in your post request:
| Element | Description | Type |
|---|---|---|
| CompanyProfileList | The array to hold the identifying information about the company profile. | array |
| code | This is the code for the company profile that you want to assign to the chain rate. | string |
| DefaultDescription | The default description for the rate of the company profile rate assignment. | string |
| Level | This is the level for the company profile. This will always be Chain, because chain rates can have only chain level company profiles assigned to them. | string |
Post Body Example
The following is an example of the body for this post request:
{
"CompanyProfileList": [
{
"code": "OurCode",
"DefaultDescription": "RateAssignmentDefaultDescription"
}
],
"Level": "Chain"
}
Response in JSON
{
"Code": "RequestSuccessful"
}Response Elements
The following table explains the elements you receive in the response:
| Element | Description | Type |
|---|---|---|
| Code | The code for success or failure. | string |
PUT company profile assignment default descriptions for a chain rate
This endpoint enables you to update the default descriptions for existing company profile assignments for a chain level rate.
You cannot update the company profile assignment itself with this PUT. To update the company profile assignment, you would delete the assignment with the DELETE endpoint and then create a new assignment with the POST endpoint.
[PUT] /v1/chains/{chainId}/rates/{code}/companyProfilesPath Parameters
The following table describes the elements that you must include for this operation:
| Element | Description | Type | Required? |
|---|---|---|---|
| chainId | The chainId uniquely identifies a single chain property in CRS. Example: 13098 | integer | Required |
| code | The code to identify the chain rate. Example: RCO | string | Required |
Put Body Parameters
The following table describes the parameters to include in your put request:
| Element | Description | Type |
|---|---|---|
| CompanyProfileList | The array to hold the identifying information about the company profile. | array |
| code | This is the code for the company profile that you want to assign to the chain rate. | string |
| DefaultDescription | The default description for the rate of the company profile rate assignment. | string |
| Level | This is the level for the company profile. This will always be Chain, because chain rates can have only chain level company profiles assigned to them. | string |
Put Body Example
The following is an example of the body for this put request:
{
"CompanyProfileList": [
{
"code": "OurCode",
"DefaultDescription": "RateAssignmentDefaultDescription"
}
],
"Level": "Chain"
}
Response in JSON
{
"Code": "RequestSuccessful"
}Response Elements
The following table explains the elements you receive in the response:
| Element | Description | Type |
|---|---|---|
| Code | The code for success or failure. | string |
DELETE company profile assignments and default descriptions for a chain rate
This endpoint enables you to delete (unassign) the assignment of chain level company profiles to chain level rates. With this endpoint, you can also delete the default descriptions for those assignments.
[DELETE] /v1/chains/{chainId}/rates/{code}/companyProfilesPath Parameters
The following table describes the elements that you must include for this operation:
| Element | Description | Type | Required? |
|---|---|---|---|
| chainId | The chainId uniquely identifies a single chain property in CRS. Example: 13098 | integer | Required |
| code | The code to identify the chain rate. Example: RCO | string | Required |
Delete Body Parameters
The following table describes the parameters to include in your delete request:
| Element | Description | Type |
|---|---|---|
| CompanyProfileList | The array to hold the identifying information about the company profile. | array |
| code | This is the code for the company profile that you want to assign to the chain rate. | string |
| DefaultDescription | The default description for the rate of the company profile rate assignment. | string |
| Level | This is the level for the company profile. This will always be Chain, because chain rates can have only chain level company profiles assigned to them. | string |
Delete Body Example
The following is an example of the body for this delete request:
{
"CompanyProfileList": [
{
"code": "OurCode",
"DefaultDescription": "RateAssignmentDefaultDescription"
}
],
"Level": "Chain"
}Response in JSON
{
"Code": "RequestSuccessful"
}Response Elements
The following table explains the elements you receive in the response:
| Element | Description | Type |
|---|---|---|
| Code | The code for success or failure. | string |
GET company profile assignments and default descriptions for a hotel rate
This endpoint enables you to view which company profiles are assigned to a hotel level rate and view the default descriptions of those assignments.
[GET] /v1/hotels/{hotelId}/rates/{code}/companyProfilesPath Parameters
The following table describes the elements that you must include for this operation:
| Element | Description | Type | Required? |
|---|---|---|---|
| hotelId | The hotelId uniquely identifies a single hotel property in CRS. Example: 13098 | integer | Required |
| code | The code to identify the hotel rate. Example: RCO | string | Required |
Query Parameters
The following table describes the elements that you can include when you query this endpoint:
| Element | Description | Type | Required? |
|---|---|---|---|
| pageStart | The starting record to return in the response. Example: /v1/hotels/{hotelId}/rates/{code}/companyProfiles?pageStart=1 | integer | Optional |
| pageSize | The number of records to return in the response. Use 0 to return all. Example: /v1/hotels/{hotelId}/rates/{code}/companyProfiles?pageSize=20 | integer | Optional |
Response in JSON
{
"rateName": "Standard RAC Rate",
"rateCode": "RAC",
"rateStatus": "Active",
"CompanyProfileList": [
{
"CompanyProfile": {
"code": "Rt101",
"Level": "Chain",
"name": "Company Profile",
"DefaultDescription": "RateAssignmentDefaultDescription",
"Hotel": {
"id": 10000
},
"Chain": {
"id": 10000
}
}
}
],
"HotelList": [
{
"id": 10000,
"name": "Hotel",
"code": "ourHOTEL"
}
],
"ChainList": [
{
"id": 10000,
"name": "Chain",
"code": "ourCHAIN"
}
],
"Paging": {
"size": 50,
"start": 0,
"total": 146
}
}Response Elements
The following table explains the elements you receive in the response:
| Element | Description | Type |
|---|---|---|
| rateName | This is the name of the rate. | string |
| rateCode | This is the code for the rate | string |
| rateStatus | This is active or inactive, depending on the status of the rate. | string |
| CompanyProfileList | The array to hold the list of company profiles assigned to the rate. | array |
| CompanyProfile | The array to hold one company profile's information. | array |
| code | This is the code for the company profile. | string |
| Level | This is the level for the company profile: Chain or Hotel. | string |
| name | This is the name of the company profile. | string |
| DefaultDescription | This is the default description for the company profile rate assignment. | string |
| Hotel | The array to hold information about the hotel to which the company profile is assigned. | array |
| id | This ID uniquely identifies a single hotel property in CRS. | integer |
| Chain | The array to hold information about the chain to which the company profile is assigned. | array |
| id | This ID uniquely identifies a single chain property in CRS. | integer |
| HotelList | The array to hold more hotel information. | array |
| id | This ID uniquely identifies a single hotel property in CRS. | integer |
| name | This is the name of the hotel. | string |
| code | This is the code for the hotel. | string |
| ChainList | The array to hold more chain information. | array |
| id | This ID uniquely identifies a single chain property in CRS. | integer |
| name | This is the name of the chain. | string |
| code | This is the code for the chain. | string |
| Paging | The array of pagination elements. | array |
| size | Number of records per page to be returned in the response (0 = return all). Example: 50 | integer |
| start | Starting record to be returned in the response. | integer |
| total | Total number of records. Example: 146 | integer |
POST company profile assignments and default descriptions for a hotel rate
This endpoint enables you to assign chain or hotel level company profiles to a hotel level rate. With this endpoint, you can also create default descriptions for those assignments.
[POST] /v1/hotels/{hotelId}/rates/{code}/companyProfilesPath Parameters
The following table describes the elements that you must include for this operation:
| Element | Description | Type | Required? |
|---|---|---|---|
| hotelId | The hotelId uniquely identifies a single hotel property in CRS. Example: 13098 | integer | Required |
| code | The code to identify the hotel rate. Example: RCO | string | Required |
Post Body Parameters
The following table describes the parameters to include in your post request:
| Element | Description | Type |
|---|---|---|
| CompanyProfileList | The array to hold the identifying information about the company profile. | array |
| code | This is the code for the company profile that you want to assign to the hotel rate. | string |
| DefaultDescription | The default description for the rate of the company profile rate assignment. | string |
| Level | This is the level for the company profile: Chain or Hotel. | string |
Post Body Example
The following is an example of the body for this post request:
{
"CompanyProfileList": [
{
"code": "OurCode",
"DefaultDescription": "RateAssignmentDefaultDescription"
}
],
"Level": "Chain"
}
Response in JSON
{
"Code": "RequestSuccessful"
}Response Elements
The following table explains the elements you receive in the response:
| Element | Description | Type |
|---|---|---|
| Code | The code for success or failure. | string |
PUT company profile assignment default descriptions for a hotel rate
This endpoint enables you to update the default descriptions for existing company profile assignments for a hotel level rate.
You cannot update the company profile assignment itself with this PUT. To update the company profile assignment, you would delete the assignment with the DELETE endpoint and then create a new assignment with the POST endpoint.
[PUT] /v1/hotels/{hotelId}/rates/{code}/companyProfilesPath Parameters
The following table describes the elements that you must include for this operation:
| Element | Description | Type | Required? |
|---|---|---|---|
| hotelId | The hotelId uniquely identifies a single hotel property in CRS. Example: 13098 | integer | Required |
| code | The code to identify the hotel rate. Example: RCO | string | Required |
Put Body Parameters
The following table describes the parameters to include in your put request:
| Element | Description | Type |
|---|---|---|
| CompanyProfileList | The array to hold the identifying information about the company profile. | array |
| code | This is the code for the company profile that you want to assign to the chain rate. | string |
| DefaultDescription | The default description for the rate of the company profile rate assignment. | string |
| Level | This is the level for the company profile: Chain or Hotel. | string |
Put Body Example
The following is an example of the body for this put request:
{
"CompanyProfileList": [
{
"code": "OurCode",
"DefaultDescription": "RateAssignmentDefaultDescription"
}
],
"Level": "Chain"
}
Response in JSON
{
"Code": "RequestSuccessful"
}Response Elements
The following table explains the elements you receive in the response:
| Element | Description | Type |
|---|---|---|
| Code | The code for success or failure. | string |
DELETE company profile assignments and default descriptions for a hotel rate
This endpoint enables you to delete (unassign) the assignment of chain or hotel level company profiles to hotel level rates. With this endpoint, you can also delete the default descriptions for those assignments.
[DELETE] /v1/hotels/{hotelId}/rates/{code}/companyProfilesPath Parameters
The following table describes the elements that you must include for this operation:
| Element | Description | Type | Required? |
|---|---|---|---|
| hotelId | The hotelId uniquely identifies a single hotel property in CRS. Example: 13098 | integer | Required |
| code | The code to identify the hotel rate. Example: RCO | string | Required |
Delete Body Parameters
The following table describes the parameters to include in your delete request:
| Element | Description | Type |
|---|---|---|
| CompanyProfileList | The array to hold the identifying information about the company profile. | array |
| code | This is the code for the company profile that you want to assign to the chain rate. | string |
| DefaultDescription | The default description for the rate of the company profile rate assignment. | string |
| Level | This is the level for the company profile: Chain or Hotel. | string |
Delete Body Example
The following is an example of the body for this delete request:
{
"CompanyProfileList": [
{
"code": "OurCode",
"DefaultDescription": "RateAssignmentDefaultDescription"
}
],
"Level": "Chain"
}Response in JSON
{
"Code": "RequestSuccessful"
}Response Elements
The following table explains the elements you receive in the response:
| Element | Description | Type |
|---|---|---|
| Code | The code for success or failure. | string |
POST company profile assignments for a group rate
This endpoint enables you to assign company profiles to a group level rate. You cannot create default descriptions at the group level.
[POST] /v1/hotels/{hotelId}/groupRates/{code}/companyProfilesPath Parameters
The following table describes the elements that you must include for this operation:
| Element | Description | Type | Required? |
|---|---|---|---|
| hotelId | The hotelId uniquely identifies a single hotel property in CRS. Example: 13098 | integer | Required |
| code | The code to identify the hotel rate. Example: RCO | string | Required |
Post Body Parameters
The following table describes the parameters to include in your post request:
| Element | Description | Type |
|---|---|---|
| Code | This is the code for the company profile that you want to assign to the group rate. | string |
| Level | This is the level for the company profile that you want to assign to the group rate. | string |
| ChainId | This is ID that uniquely identifies a single chain property in CRS. | integer |
Post Body Example
The following is an example of the body for this post request:
{
"Code": "OurCode",
"Level": "Chain",
"ChainId": 10000
} Response in JSON
{
"Code": "RequestSuccessful"
}Response Elements
The following table explains the elements you receive in the response:
| Element | Description | Type |
|---|---|---|
| Code | The code for success or failure. | string |
DELETE company profile assignments for a group level rate
This endpoint enables you to delete (unassign) the assignment of company profiles to group level rates. You cannot delete default descriptions at the group level.
[DELETE] /v1/hotels/{hotelId}/groupRates/{code}/companyProfilesPath Parameters
The following table describes the elements that you must include for this operation:
| Element | Description | Type | Required? |
|---|---|---|---|
| hotelId | The hotelId uniquely identifies a single hotel property in CRS. Example: 13098 | integer | Required |
| code | The code to identify the group rate. Example: RCO | string | Required |
Delete Body Parameters
The following table describes the parameters to include in your delete request:
| Element | Description | Type |
|---|---|---|
| Code | This is the code for the company profile that you want to delete (unassign) from the group rate. | string |
| Level | This is the level of the company profile that you want to delete (unassign) from the group rate. | string |
Delete Body Example
The following is an example of the body for this delete request:
{
"Code": "OurCode",
"Level": "Chain"
}Response in JSON
{
"Code": "RequestSuccessful"
}Response Elements
The following table explains the elements you receive in the response:
| Element | Description | Type |
|---|---|---|
| Code | The code for success or failure. | string |
GET company profile assignment seasonal descriptions for a brand rate
This endpoint enables you to view which company profile assignment seasonal descriptions are associated with a brand level rate.
[GET] /v1/brands/{brandId}/rates/{code}/companyProfiles/seasonalDescriptionsPath Parameters
The following table describes the elements that you must include for this operation:
| Element | Description | Type | Required? |
|---|---|---|---|
| brandId | The brandId uniquely identifies a single brand property in CRS. Example: 13098 | integer | Required |
| code | The code to identify the brand rate. Example: RCO | string | Required |
Query Parameters
The following table describes the elements that you can include when you query this endpoint:
| Element | Description | Type | Required? |
|---|---|---|---|
| pageStart | The starting record to return in the response. Example: /v1/brands/{brandId}/rates/{code}/companyProfiles/seasonalDescriptions?pageStart=1 | integer | Optional |
| pageSize | The number of records to return in the response. Use 0 to return all. Example: /v1/brands/{brandId}/rates/{code}/companyProfiles/seasonalDescriptions?pageSize=20 | integer | Optional |
| companyProfileCode | If you specify a companyProfileCode, the API will return records that match the specified company profile. If you do not specify a companyProfileCode, the API will return records for all company profiles for the rate (specified in the required code path parameter). Example: /v1/brands/{brandId}/rates/{code}/companyProfiles/seasonalDescriptions?companyProfileCode=PCODE | string | Optional |
| startDate | The start date for records to return in the response. This date must be between the current date and three years after the current date. Example: /v1/brands/{brandId}/rates/{code}/companyProfiles/seasonalDescriptions?startDate=2025-07-09 | string | Optional |
| endDate | The end date for records to return in the response. This date must be between the current date and three years after the current date. Example: /v1/brands/{brandId}/rates/{code}/companyProfiles/seasonalDescriptions?endDate=2025-10-09 | string | Optional |
Response in JSON
{
"RateName": "Standard RAC Rate",
"RateCode": "RAC",
"RateStatus": "Active",
"CompanyProfiles": [
{
"Code": "Rt101",
"Level": "Chain",
"Name": "Company",
"DefaultDescription": "RateAssignmentDefaultDescription",
"Hotel": {
"id": 10000
},
"Chain": {
"id": 10000
},
"RateSeasonalDescriptions": [
{
"Description": "RateAssignmentSeasonalDescription",
"StartDate": "2025-03-09",
"EndDate": "2025-10-10"
}
]
}
],
"HotelList": [
{
"id": 10000,
"name": "Hotel",
"code": "ourHOTEL"
}
],
"ChainList": [
{
"id": 10000,
"name": "Chain",
"code": "ourCHAIN"
}
],
"Paging": {
"size": 50,
"start": 0,
"total": 146
}
}Response Elements
The following table explains the elements you receive in the response:
| Element | Description | Type |
|---|---|---|
| rateName | This is the name of the rate. | string |
| rateCode | This is the code for the rate | string |
| rateStatus | This is active or inactive, depending on the status of the rate. | string |
| CompanyProfiles | The array to hold one company profile's information. | array |
| code | This is the code for the company profile. | string |
| level | This is the level for the company profile. This will always be Chain, because brand rates can have only chain level company profiles assigned to them. | string |
| name | This is the name of the company profile. | string |
| DefaultDescription | This is the default description for the company profile rate assignment. | string |
| Hotel | The array to hold information about the hotel to which the company profile is assigned. | array |
| id | This ID uniquely identifies a single hotel property in CRS. | integer |
| Chain | The array to hold information about the chain to which the company profile is assigned. | array |
| id | This ID uniquely identifies a single chain property in CRS. | integer |
| RateSeasonalDescriptions | The array to hold information about the rate's company profile assignment seasonal descriptions. | array |
| Description | The seasonal description for the company profile assignment. | string |
| StartDate | Start date when the rate seasonal description is effective. This date must be between the current date and three years after the current date. | string |
| EndDate | End date when the rate seasonal description is effective. This date must be between the current date and three years after the current date. | string |
| HotelList | The array to hold more hotel information. | array |
| id | This ID uniquely identifies a single hotel property in CRS. | integer |
| name | This is the name of the hotel. | string |
| code | This is the code for the hotel. | string |
| ChainList | The array to hold more chain information. | array |
| id | This ID uniquely identifies a single chain property in CRS. | integer |
| name | This is the name of the chain. | string |
| code | This is the code for the chain. | string |
| Paging | The array of pagination elements. | array |
| size | Number of records per page to be returned in the response (0 = return all). Example: 50 | integer |
| start | Starting record to be returned in the response. | integer |
| total | Total number of records. Example: 146 | integer |
POST company profile assignment seasonal descriptions for a brand rate
This endpoint enables you to create a seasonal description for a company profile assignment for a brand level rate.
[POST] /v1/brands/{brandId}/rates/{code}/companyProfiles/seasonalDescriptionsPath Parameters
The following table describes the elements that you must include for this operation:
| Element | Description | Type | Required? |
|---|---|---|---|
| brandId | The brandId uniquely identifies a single brand property in CRS. Example: 13099 | integer | Required |
| code | The code to identify the brand rate. Example: RCO | string | Required |
Post Body Parameters
The following table describes the parameters to include in your post request:
| Element | Description | Type |
|---|---|---|
| CompanyProfileList | The array to hold the identifying information about the company profile. | array |
| Code | This is the code for the company profile that you want to assign to the brand rate. | string |
| Level | This is the level for the company profile. This will always be Chain, because brand rates can have only chain level company profiles assigned to them. | string |
| StartDate | Start date when the rate seasonal description is effective. This date must be between the current date and three years after the current date. | string |
| EndDate | End date when the rate seasonal description is effective. This date must be between the current date and three years after the current date. | string |
| Description | The seasonal description for the rate of the company profile rate assignment. | string |
Post Body Example
The following is an example of the body for this post request:
{
"CompanyProfileList": [
{
"Code": "OurCode",
"Level": "Chain",
"StartDate": "2025-03-09",
"EndDate": "2025-09-10",
"Description": "Rate Seasonal Description"
}
]
}Response in JSON
{
"Code": "RequestSuccessful"
}Response Elements
The following table explains the elements you receive in the response:
| Element | Description | Type |
|---|---|---|
| Code | The code for success or failure. | string |
DELETE company profile assignment seasonal descriptions for a brand rate
This endpoint enables you to delete a seasonal description for a company profile assignment for a brand level rate.
[DELETE] /v1/brands/{brandId}/rates/{code}/companyProfiles/seasonalDescriptionsPath Parameters
The following table describes the elements that you must include for this operation:
| Element | Description | Type | Required? |
|---|---|---|---|
| brandId | The brandId uniquely identifies a single brand property in CRS. Example: 13098 | integer | Required |
| code | The code to identify the brand rate. Example: RCO | string | Required |
Delete Body Parameters
The following table describes the parameters to include in your delete request:
| Element | Description | Type |
|---|---|---|
| CompanyProfileList | The array to hold the identifying information about the company profile. | array |
| Code | This is the code for the company profile that you want to assign to the brand rate. | string |
| Level | This is the level for the company profile. This will always be Chain, because brand rates can have only chain level company profiles assigned to them. | string |
| StartDate | Start date when the rate seasonal description is effective. This date must be between the current date and three years after the current date. | string |
| EndDate | End date when the rate seasonal description is effective. This date must be between the current date and three years after the current date. | string |
| Description | The seasonal description for the rate of the company profile rate assignment. | string |
Delete Body Example
The following is an example of the body for this delete request:
{
"CompanyProfileList": [
{
"Code": "OurCode",
"Level": "Chain",
"StartDate": "2025-03-09",
"EndDate": "2025-09-10",
"Description": "Rate Seasonal Description"
}
]
}Response in JSON
{
"Code": "RequestSuccessful"
}Response Elements
The following table explains the elements you receive in the response:
| Element | Description | Type |
|---|---|---|
| Code | The code for success or failure. | string |
GET company profile assignment seasonal descriptions for a chain rate
This endpoint enables you to view which company profile assignment seasonal descriptions are associated with a chain level rate.
[GET] /v1/chains/{chainId}/rates/{code}/companyProfiles/seasonalDescriptionsPath Parameters
The following table describes the elements that you must include for this operation:
| Element | Description | Type | Required? |
|---|---|---|---|
| chainId | The chainId uniquely identifies a single chain property in CRS. Example: 13098 | integer | Required |
| code | The code to identify the chain rate. Example: RCO | string | Required |
Query Parameters
The following table describes the elements that you can include when you query this endpoint:
| Element | Description | Type | Required? |
|---|---|---|---|
| pageStart | The starting record to return in the response. Example: /v1/chains/{chainId}/rates/{code}/companyProfiles/seasonalDescriptions?pageStart=1 | integer | Optional |
| pageSize | The number of records to return in the response. Use 0 to return all. Example: /v1/chains/{chainId}/rates/{code}/companyProfiles/seasonalDescriptions?pageSize=20 | integer | Optional |
| companyProfileCode | If you specify a companyProfileCode, the API will return records that match the specified company profile. If you do not specify a companyProfileCode, the API will return records for all company profiles for the rate (specified in the required code path parameter). Example: /v1/chains/{chainId}/rates/{code}/companyProfiles/seasonalDescriptions?companyProfileCode=PCODE | string | Optional |
| startDate | The start date for records to return in the response. This date must be between the current date and three years after the current date. Example: /v1/chains/{chainId}/rates/{code}/companyProfiles/seasonalDescriptions?startDate=2025-07-09 | string | Optional |
| endDate | The end date for records to return in the response. This date must be between the current date and three years after the current date. Example: /v1/chains/{chainId}/rates/{code}/companyProfiles/seasonalDescriptions?endDate=2025-10-09 | string | Optional |
Response in JSON
{
"RateName": "Standard RAC Rate",
"RateCode": "RAC",
"RateStatus": "Active",
"CompanyProfiles": [
{
"Code": "Rt101",
"Level": "Chain",
"Name": "Company",
"DefaultDescription": "RateAssignmentDefaultDescription",
"Hotel": {
"id": 10000
},
"Chain": {
"id": 10000
},
"RateSeasonalDescriptions": [
{
"Description": "RateAssignmentSeasonalDescription",
"StartDate": "2025-03-09",
"EndDate": "2025-10-10"
}
]
}
],
"HotelList": [
{
"id": 10000,
"name": "Hotel",
"code": "ourHOTEL"
}
],
"ChainList": [
{
"id": 10000,
"name": "Chain",
"code": "ourCHAIN"
}
],
"Paging": {
"size": 50,
"start": 0,
"total": 146
}
}Response Elements
The following table explains the elements you receive in the response:
| Element | Description | Type |
|---|---|---|
| rateName | This is the name of the rate. | string |
| rateCode | This is the code for the rate | string |
| rateStatus | This is active or inactive, depending on the status of the rate. | string |
| CompanyProfiles | The array to hold one company profile's information. | array |
| Code | This is the code for the company profile. | string |
| Level | This is the level for the company profile. This will always be Chain, because chain rates can have only chain level company profiles assigned to them. | string |
| Name | This is the name of the company profile. | string |
| DefaultDescription | This is the default description for the company profile rate assignment. | string |
| Hotel | The array to hold information about the hotel to which the company profile is assigned. | array |
| id | This ID uniquely identifies a single hotel property in CRS. | integer |
| Chain | The array to hold information about the chain to which the company profile is assigned. | array |
| id | This ID uniquely identifies a single chain property in CRS. | integer |
| RateSeasonalDescriptions | The array to hold information about the rate's company profile assignment seasonal descriptions. | array |
| Description | The seasonal description for the company profile assignment. | string |
| StartDate | Start date when the rate seasonal description is effective. This date must be between the current date and three years after the current date. | string |
| EndDate | End date when the rate seasonal description is effective. This date must be between the current date and three years after the current date. | string |
| HotelList | The array to hold more hotel information. | array |
| id | This ID uniquely identifies a single hotel property in CRS. | integer |
| name | This is the name of the hotel. | string |
| code | This is the code for the hotel. | string |
| ChainList | The array to hold more chain information. | array |
| id | This ID uniquely identifies a single chain property in CRS. | integer |
| name | This is the name of the chain. | string |
| code | This is the code for the chain. | string |
| Paging | The array of pagination elements. | array |
| size | Number of records per page to be returned in the response (0 = return all). Example: 50 | integer |
| start | Starting record to be returned in the response. | integer |
| total | Total number of records. Example: 146 | integer |
POST company profile assignment seasonal descriptions for a chain rate
This endpoint enables you to create a seasonal description for a company profile assignment for a chain level rate.
[POST] /v1/chains/{chainId}/rates/{code}/companyProfiles/seasonalDescriptionsPath Parameters
The following table describes the elements that you must include for this operation:
| Element | Description | Type | Required? |
|---|---|---|---|
| chainId | The chainId uniquely identifies a single chain property in CRS. Example: 13099 | integer | Required |
| code | The code to identify the chain rate. Example: RCO | string | Required |
Post Body Parameters
The following table describes the parameters to include in your post request:
| Element | Description | Type |
|---|---|---|
| CompanyProfileList | The array to hold the identifying information about the company profile. | array |
| Code | This is the code for the company profile that you want to assign to the chain rate. | string |
| Level | This is the level for the company profile. This will always be Chain, because chain rates can have only chain level company profiles assigned to them. | string |
| StartDate | Start date when the rate seasonal description is effective. This date must be between the current date and three years after the current date. | string |
| EndDate | End date when the rate seasonal description is effective. This date must be between the current date and three years after the current date. | string |
| Description | The seasonal description for the rate of the company profile rate assignment. | string |
Post Body Example
The following is an example of the body for this post request:
{
"CompanyProfileList": [
{
"Code": "OurCode",
"Level": "Chain",
"StartDate": "2025-03-09",
"EndDate": "2025-09-10",
"Description": "Rate Seasonal Description"
}
]
}Response in JSON
{
"Code": "RequestSuccessful"
}Response Elements
The following table explains the elements you receive in the response:
| Element | Description | Type |
|---|---|---|
| Code | The code for success or failure. | string |
DELETE company profile assignment seasonal descriptions for a chain rate
This endpoint enables you to delete a seasonal description for a company profile assignment for a chain level rate.
[DELETE] /v1/chains/{chainId}/rates/{code}/companyProfiles/seasonalDescriptionsPath Parameters
The following table describes the elements that you must include for this operation:
| Element | Description | Type | Required? |
|---|---|---|---|
| chainId | The chainId uniquely identifies a single chain property in CRS. Example: 13098 | integer | Required |
| code | The code to identify the chain rate. Example: RCO | string | Required |
Delete Body Parameters
The following table describes the parameters to include in your delete request:
| Element | Description | Type |
|---|---|---|
| CompanyProfileList | The array to hold the identifying information about the company profile. | array |
| Code | This is the code for the company profile that you want to assign to the chain rate. | string |
| Level | This is the level for the company profile. This will always be Chain, because chain rates can have only chain level company profiles assigned to them. | string |
| StartDate | Start date when the rate seasonal description is effective. This date must be between the current date and three years after the current date. | string |
| EndDate | End date when the rate seasonal description is effective. This date must be between the current date and three years after the current date. | string |
| Description | The seasonal description for the rate of the company profile rate assignment. | string |
Delete Body Example
The following is an example of the body for this delete request:
{
"CompanyProfileList": [
{
"Code": "OurCode",
"Level": "Chain",
"StartDate": "2025-03-09",
"EndDate": "2025-09-10",
"Description": "Rate Seasonal Description"
}
]
}Response in JSON
{
"Code": "RequestSuccessful"
}Response Elements
The following table explains the elements you receive in the response:
| Element | Description | Type |
|---|---|---|
| Code | The code for success or failure. | string |
GET company profile assignment seasonal descriptions for a hotel rate
This endpoint enables you to view which company profile assignment seasonal descriptions are associated with a hotel level rate.
[GET] /v1/hotels/{hotelId}/rates/{code}/companyProfiles/seasonalDescriptionsPath Parameters
The following table describes the elements that you must include for this operation:
| Element | Description | Type | Required? |
|---|---|---|---|
| hotelId | The hotelId uniquely identifies a single hotel property in CRS. Example: 13098 | integer | Required |
| code | The code to identify the hotel rate. Example: RCO | string | Required |
Query Parameters
The following table describes the elements that you can include when you query this endpoint:
| Element | Description | Type | Required? |
|---|---|---|---|
| level | This is the level for the company profile: Chain or Hotel. | string | Optional |
| companyProfileCode | If you specify a companyProfileCode, the API will return records that match the specified company profile. If you do not specify a companyProfileCode, the API will return records for all company profiles for the rate (specified in the required code path parameter). Example: /v1/hotels/{hotelId}/rates/{code}/companyProfiles/seasonalDescriptions?companyProfileCode=PCODE | string | Optional |
| startDate | The start date for records to return in the response. This date must be between the current date and three years after the current date. Example: /v1/hotels/{hotelId}/rates/{code}/companyProfiles/seasonalDescriptions?startDate=2025-07-09 | string | Optional |
| endDate | The end date for records to return in the response. This date must be between the current date and three years after the current date. Example: /v1/hotels/{hotelId}/rates/{code}/companyProfiles/seasonalDescriptions?endDate=2025-10-09 | string | Optional |
| pageStart | The starting record to return in the response. Example: /v1/hotels/{hotelId}/rates/{code}/companyProfiles/seasonalDescriptions?pageStart=1 | integer | Optional |
| pageSize | The number of records to return in the response. Use 0 to return all. Example: /v1/hotels/{hotelId}/rates/{code}/companyProfiles/seasonalDescriptions?pageSize=20 | integer | Optional |
Response in JSON
{
"RateName": "Standard RAC Rate",
"RateCode": "RAC",
"RateStatus": "Active",
"CompanyProfiles": [
{
"Code": "Rt101",
"Level": "Chain",
"Name": "Company",
"DefaultDescription": "RateAssignmentDefaultDescription",
"Hotel": {
"id": 10000
},
"Chain": {
"id": 10000
},
"RateSeasonalDescriptions": [
{
"Description": "RateAssignmentSeasonalDescription",
"StartDate": "2025-03-09",
"EndDate": "2025-10-10"
}
]
}
],
"HotelList": [
{
"id": 10000,
"name": "Hotel",
"code": "ourHOTEL"
}
],
"ChainList": [
{
"id": 10000,
"name": "Chain",
"code": "ourCHAIN"
}
],
"Paging": {
"size": 50,
"start": 0,
"total": 146
}
}Response Elements
The following table explains the elements you receive in the response:
| Element | Description | Type |
|---|---|---|
| RateName | This is the name of the rate. | string |
| RateCode | This is the code for the rate | string |
| RateStatus | This is active or inactive, depending on the status of the rate. | string |
| CompanyProfiles | The array to hold one company profile's information. | array |
| Code | This is the code for the company profile. | string |
| Level | This is the level for the company profile: Chain or Hotel. | string |
| Name | This is the name of the company profile. | string |
| DefaultDescription | This is the default description for the company profile rate assignment. | string |
| Hotel | The array to hold information about the hotel to which the company profile is assigned. | array |
| id | This ID uniquely identifies a single hotel property in CRS. | integer |
| Chain | The array to hold information about the chain to which the company profile is assigned. | array |
| id | This ID uniquely identifies a single chain property in CRS. | integer |
| RateSeasonalDescriptions | The array to hold information about the rate's company profile assignment seasonal descriptions. | array |
| Description | The seasonal description for the company profile assignment. | string |
| StartDate | Start date when the rate seasonal description is effective. This date must be between the current date and three years after the current date. | string |
| EndDate | End date when the rate seasonal description is effective. This date must be between the current date and three years after the current date. | string |
| HotelList | The array to hold more hotel information. | array |
| id | This ID uniquely identifies a single hotel property in CRS. | integer |
| name | This is the name of the hotel. | string |
| code | This is the code for the hotel. | string |
| ChainList | The array to hold more chain information. | array |
| id | This ID uniquely identifies a single chain property in CRS. | integer |
| name | This is the name of the chain. | string |
| code | This is the code for the chain. | string |
| Paging | The array of pagination elements. | array |
| size | Number of records per page to be returned in the response (0 = return all). Example: 50 | integer |
| start | Starting record to be returned in the response. | integer |
| total | Total number of records. Example: 146 | integer |
POST company profile assignment seasonal descriptions for a hotel rate
This endpoint enables you to create a seasonal description for a company profile assignment for a hotel level rate.
[POST] /v1/hotels/{hotelId}/rates/{code}/companyProfiles/seasonalDescriptionsPath Parameters
The following table describes the elements that you must include for this operation:
| Element | Description | Type | Required? |
|---|---|---|---|
| hotelId | The hotelId uniquely identifies a single hotel property in CRS. Example: 13099 | integer | Required |
| code | The code to identify the hotel rate. Example: RCO | string | Required |
Post Body Parameters
The following table describes the parameters to include in your post request:
| Element | Description | Type |
|---|---|---|
| CompanyProfileList | The array to hold the identifying information about the company profile. | array |
| Code | This is the code for the company profile that you want to assign to the hotel rate. | string |
| Level | This is the level for the company profile: Chain or Hotel. | string |
| StartDate | Start date when the rate seasonal description is effective. This date must be between the current date and three years after the current date. | string |
| EndDate | End date when the rate seasonal description is effective. This date must be between the current date and three years after the current date. | string |
| Description | The seasonal description for the rate of the company profile rate assignment. | string |
Post Body Example
The following is an example of the body for this post request:
{
"CompanyProfileList": [
{
"Code": "OurCode",
"Level": "Chain",
"StartDate": "2025-03-09",
"EndDate": "2025-09-10",
"Description": "Rate Seasonal Description"
}
]
}Response in JSON
{
"Code": "RequestSuccessful"
}Response Elements
The following table explains the elements you receive in the response:
| Element | Description | Type |
|---|---|---|
| Code | The code for success or failure. | string |
DELETE company profile assignment seasonal descriptions for a hotel rate
This endpoint enables you to delete a seasonal description for a company profile assignment for a hotel level rate.
[DELETE] /v1/hotels/{hotelId}/rates/{code}/companyProfiles/seasonalDescriptionsPath Parameters
The following table describes the elements that you must include for this operation:
| Element | Description | Type | Required? |
|---|---|---|---|
| hotelId | The hotelId uniquely identifies a single hotel property in CRS. Example: 13098 | integer | Required |
| code | The code to identify the hotel rate. Example: RCO | string | Required |
Delete Body Parameters
The following table describes the parameters to include in your delete request:
| Element | Description | Type |
|---|---|---|
| CompanyProfileList | The array to hold the identifying information about the company profile. | array |
| Code | This is the code for the company profile that you want to assign to the hotel rate. | string |
| Level | This is the level for the company profile: Chain or Hotel. | string |
| StartDate | Start date when the rate seasonal description is effective. This date must be between the current date and three years after the current date. | string |
| EndDate | End date when the rate seasonal description is effective. This date must be between the current date and three years after the current date. | string |
| Description | The seasonal description for the rate of the company profile rate assignment. | string |
Delete Body Example
The following is an example of the body for this delete request:
{
"CompanyProfileList": [
{
"Code": "OurCode",
"Level": "Chain",
"StartDate": "2025-03-09",
"EndDate": "2025-09-10",
"Description": "Rate Seasonal Description"
}
]
}Response in JSON
{
"Code": "RequestSuccessful"
}Response Elements
The following table explains the elements you receive in the response:
| Element | Description | Type |
|---|---|---|
| Code | The code for success or failure. | string |