Skip to main content

Manage Rates - Company Profile Assignment

SynXis CRS
Rates
Company Profiles
REST API
CRS Administration

Beta Release - Work in progress

New API - Seeking beta customers

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}/companyProfiles

Path Parameters

The following table describes the elements that you must include for this operation:

ElementDescriptionTypeRequired?
brandId

The brandId uniquely identifies a single brand property in CRS.

Example: 13098

integerRequired
code

The code to identify the brand rate.

Example: RCO

stringRequired

Query Parameters

The following table describes the elements that you can include when you query this endpoint:

ElementDescriptionTypeRequired?
pageStart

The starting record to return in the response.

Example: /v1/brands/{brandId}/rates/{code}/companyProfiles?pageStart=1

integerOptional
pageSize

The number of records to return in the response. Use 0 to return all.

Example: /v1/brands/{brandId}/rates/{code}/companyProfiles?pageSize=20

integerOptional

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:

ElementDescriptionType
rateNameThis is the name of the rate.string
rateCodeThis is the code for the ratestring
rateStatusThis is active or inactive, depending on the status of the rate.string
CompanyProfileListThe array to hold the list of company profiles assigned to the rate.array
CompanyProfileThe array to hold one company profile's information.array
codeThis is the code for the company profile.string
LevelThis 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
nameThis is the name of the company profile.string
DefaultDescriptionThis is the default description for the company profile rate assignment.string
HotelThe array to hold information about the hotel to which the company profile is assigned.array
idThis ID uniquely identifies a single hotel property in CRS.integer
ChainThe array to hold information about the chain to which the company profile is assigned.array
idThis ID uniquely identifies a single chain property in CRS.integer
HotelListThe array to hold more hotel information.array
idThis ID uniquely identifies a single hotel property in CRS.integer
nameThis is the name of the hotel.string
codeThis is the code for the hotel.string
ChainListThe array to hold more chain information.array
idThis ID uniquely identifies a single chain property in CRS.integer
nameThis is the name of the chain.string
codeThis is the code for the chain.string
PagingThe array of pagination elements.array
size

Number of records per page to be returned in the response (0 = return all).

Example: 50

integer
startStarting record to be returned in the response.integer
total

Total number of records.

Example: 146

integer

⇧ Back to top

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}/companyProfiles

Path Parameters

The following table describes the elements that you must include for this operation:

ElementDescriptionTypeRequired?
brandId

The brandId uniquely identifies a single brand property in CRS.

Example: 13099

integerRequired
code

The code to identify the brand rate.

Example: RCO

stringRequired

Post Body Parameters

The following table describes the parameters to include in your post request:

ElementDescriptionType
CompanyProfileListThe array to hold the identifying information about the company profile.array
codeThis is the code for the company profile that you want to assign to the brand rate.string
DefaultDescriptionThe default description for the rate of the company profile rate assignment.string
LevelThis 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:

ElementDescriptionType
CodeThe code for success or failure.string

⇧ Back to top

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}/companyProfiles

Path Parameters

The following table describes the elements that you must include for this operation:

ElementDescriptionTypeRequired?
brandId

The brandId uniquely identifies a single brand property in CRS.

Example: 13099

integerRequired
code

The code to identify the brand rate.

Example: RCO

stringRequired

Put Body Parameters

The following table describes the parameters to include in your put request:

ElementDescriptionType
CompanyProfileListThe array to hold the identifying information about the company profile.array
codeThis is the code for the company profile that you want to assign to the brand rate.string
DefaultDescriptionThe default description for the rate of the company profile rate assignment.string
LevelThis 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:

ElementDescriptionType
CodeThe code for success or failure.string

⇧ Back to top

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}/companyProfiles

Path Parameters

The following table describes the elements that you must include for this operation:

ElementDescriptionTypeRequired?
brandId

The brandId uniquely identifies a single brand property in CRS.

Example: 13098

integerRequired
code

The code to identify the brand rate.

Example: RCO

stringRequired

Delete Body Parameters

The following table describes the parameters to include in your delete request:

ElementDescriptionType
CompanyProfileListThe array to hold the identifying information about the company profile.array
codeThis is the code for the company profile that you want to assign to the brand rate.string
DefaultDescriptionThe default description for the rate of the company profile rate assignment.string
LevelThis 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:

ElementDescriptionType
CodeThe code for success or failure.string

⇧ Back to top

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}/companyProfiles

Path Parameters

The following table describes the elements that you must include for this operation:

ElementDescriptionTypeRequired?
chainId

The chainId uniquely identifies a single chain property in CRS.

Example: 13098

integerRequired
code

The code to identify the chain rate.

Example: RCO

stringRequired

Query Parameters

The following table describes the elements that you can include when you query this endpoint:

ElementDescriptionTypeRequired?
pageStart

The starting record to return in the response.

Example: /v1/chains/{chainId}/rates/{code}/companyProfiles?pageStart=1

integerOptional
pageSize

The number of records to return in the response. Use 0 to return all.

Example: /v1/chains/{chainId}/rates/{code}/companyProfiles?pageSize=20

integerOptional

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:

ElementDescriptionType
rateNameThis is the name of the rate.string
rateCodeThis is the code for the ratestring
rateStatusThis is active or inactive, depending on the status of the rate.string
CompanyProfileListThe array to hold the list of company profiles assigned to the rate.array
CompanyProfileThe array to hold one company profile's information.array
codeThis is the code for the company profile.string
LevelThis 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
nameThis is the name of the company profile.string
DefaultDescriptionThis is the default description for the company profile rate assignment.string
HotelThe array to hold information about the hotel to which the company profile is assigned.array
idThis ID uniquely identifies a single hotel property in CRS.integer
ChainThe array to hold information about the chain to which the company profile is assigned.array
idThis ID uniquely identifies a single chain property in CRS.integer
HotelListThe array to hold more hotel information.array
idThis ID uniquely identifies a single hotel property in CRS.integer
nameThis is the name of the hotel.string
codeThis is the code for the hotel.string
ChainListThe array to hold more chain information.array
idThis ID uniquely identifies a single chain property in CRS.integer
nameThis is the name of the chain.string
codeThis is the code for the chain.string
PagingThe array of pagination elements.array
size

Number of records per page to be returned in the response (0 = return all).

Example: 50

integer
startStarting record to be returned in the response.integer
total

Total number of records.

Example: 146

integer

⇧ Back to top

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}/companyProfiles

Path Parameters

The following table describes the elements that you must include for this operation:

ElementDescriptionTypeRequired?
chainId

The chainId uniquely identifies a single chain property in CRS.

Example: 13098

integerRequired
code

The code to identify the chain rate.

Example: RCO

stringRequired

Post Body Parameters

The following table describes the parameters to include in your post request:

ElementDescriptionType
CompanyProfileListThe array to hold the identifying information about the company profile.array
codeThis is the code for the company profile that you want to assign to the chain rate.string
DefaultDescriptionThe default description for the rate of the company profile rate assignment.string
LevelThis 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:

ElementDescriptionType
CodeThe code for success or failure.string

⇧ Back to top

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}/companyProfiles

Path Parameters

The following table describes the elements that you must include for this operation:

ElementDescriptionTypeRequired?
chainId

The chainId uniquely identifies a single chain property in CRS.

Example: 13098

integerRequired
code

The code to identify the chain rate.

Example: RCO

stringRequired

Put Body Parameters

The following table describes the parameters to include in your put request:

ElementDescriptionType
CompanyProfileListThe array to hold the identifying information about the company profile.array
codeThis is the code for the company profile that you want to assign to the chain rate.string
DefaultDescriptionThe default description for the rate of the company profile rate assignment.string
LevelThis 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:

ElementDescriptionType
CodeThe code for success or failure.string

⇧ Back to top

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}/companyProfiles

Path Parameters

The following table describes the elements that you must include for this operation:

ElementDescriptionTypeRequired?
chainId

The chainId uniquely identifies a single chain property in CRS.

Example: 13098

integerRequired
code

The code to identify the chain rate.

Example: RCO

stringRequired

Delete Body Parameters

The following table describes the parameters to include in your delete request:

ElementDescriptionType
CompanyProfileListThe array to hold the identifying information about the company profile.array
codeThis is the code for the company profile that you want to assign to the chain rate.string
DefaultDescriptionThe default description for the rate of the company profile rate assignment.string
LevelThis 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:

ElementDescriptionType
CodeThe code for success or failure.string

⇧ Back to top

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}/companyProfiles

Path Parameters

The following table describes the elements that you must include for this operation:

ElementDescriptionTypeRequired?
hotelId

The hotelId uniquely identifies a single hotel property in CRS.

Example: 13098

integerRequired
code

The code to identify the hotel rate.

Example: RCO

stringRequired

Query Parameters

The following table describes the elements that you can include when you query this endpoint:

ElementDescriptionTypeRequired?
pageStart

The starting record to return in the response.

Example: /v1/hotels/{hotelId}/rates/{code}/companyProfiles?pageStart=1

integerOptional
pageSize

The number of records to return in the response. Use 0 to return all.

Example: /v1/hotels/{hotelId}/rates/{code}/companyProfiles?pageSize=20

integerOptional

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:

ElementDescriptionType
rateNameThis is the name of the rate.string
rateCodeThis is the code for the ratestring
rateStatusThis is active or inactive, depending on the status of the rate.string
CompanyProfileListThe array to hold the list of company profiles assigned to the rate.array
CompanyProfileThe array to hold one company profile's information.array
codeThis is the code for the company profile.string
LevelThis is the level for the company profile: Chain or Hotel.string
nameThis is the name of the company profile.string
DefaultDescriptionThis is the default description for the company profile rate assignment.string
HotelThe array to hold information about the hotel to which the company profile is assigned.array
idThis ID uniquely identifies a single hotel property in CRS.integer
ChainThe array to hold information about the chain to which the company profile is assigned.array
idThis ID uniquely identifies a single chain property in CRS.integer
HotelListThe array to hold more hotel information.array
idThis ID uniquely identifies a single hotel property in CRS.integer
nameThis is the name of the hotel.string
codeThis is the code for the hotel.string
ChainListThe array to hold more chain information.array
idThis ID uniquely identifies a single chain property in CRS.integer
nameThis is the name of the chain.string
codeThis is the code for the chain.string
PagingThe array of pagination elements.array
size

Number of records per page to be returned in the response (0 = return all).

Example: 50

integer
startStarting record to be returned in the response.integer
total

Total number of records.

Example: 146

integer

⇧ Back to top

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}/companyProfiles

Path Parameters

The following table describes the elements that you must include for this operation:

ElementDescriptionTypeRequired?
hotelId

The hotelId uniquely identifies a single hotel property in CRS.

Example: 13098

integerRequired
code

The code to identify the hotel rate.

Example: RCO

stringRequired

Post Body Parameters

The following table describes the parameters to include in your post request:

ElementDescriptionType
CompanyProfileListThe array to hold the identifying information about the company profile.array
codeThis is the code for the company profile that you want to assign to the hotel rate.string
DefaultDescriptionThe default description for the rate of the company profile rate assignment.string
LevelThis 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:

ElementDescriptionType
CodeThe code for success or failure.string

⇧ Back to top

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}/companyProfiles

Path Parameters

The following table describes the elements that you must include for this operation:

ElementDescriptionTypeRequired?
hotelId

The hotelId uniquely identifies a single hotel property in CRS.

Example: 13098

integerRequired
code

The code to identify the hotel rate.

Example: RCO

stringRequired

Put Body Parameters

The following table describes the parameters to include in your put request:

ElementDescriptionType
CompanyProfileListThe array to hold the identifying information about the company profile.array
codeThis is the code for the company profile that you want to assign to the chain rate.string
DefaultDescriptionThe default description for the rate of the company profile rate assignment.string
LevelThis 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:

ElementDescriptionType
CodeThe code for success or failure.string

⇧ Back to top

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}/companyProfiles

Path Parameters

The following table describes the elements that you must include for this operation:

ElementDescriptionTypeRequired?
hotelId

The hotelId uniquely identifies a single hotel property in CRS.

Example: 13098

integerRequired
code

The code to identify the hotel rate.

Example: RCO

stringRequired

Delete Body Parameters

The following table describes the parameters to include in your delete request:

ElementDescriptionType
CompanyProfileListThe array to hold the identifying information about the company profile.array
codeThis is the code for the company profile that you want to assign to the chain rate.string
DefaultDescriptionThe default description for the rate of the company profile rate assignment.string
LevelThis 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:

ElementDescriptionType
CodeThe code for success or failure.string

⇧ Back to top

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}/companyProfiles

Path Parameters

The following table describes the elements that you must include for this operation:

ElementDescriptionTypeRequired?
hotelId

The hotelId uniquely identifies a single hotel property in CRS.

Example: 13098

integerRequired
code

The code to identify the hotel rate.

Example: RCO

stringRequired

Post Body Parameters

The following table describes the parameters to include in your post request:

ElementDescriptionType
CodeThis is the code for the company profile that you want to assign to the group rate.string
LevelThis is the level for the company profile that you want to assign to the group rate.string
ChainIdThis 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:

ElementDescriptionType
CodeThe code for success or failure.string

⇧ Back to top

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}/companyProfiles

Path Parameters

The following table describes the elements that you must include for this operation:

ElementDescriptionTypeRequired?
hotelId

The hotelId uniquely identifies a single hotel property in CRS.

Example: 13098

integerRequired
code

The code to identify the group rate.

Example: RCO

stringRequired

Delete Body Parameters

The following table describes the parameters to include in your delete request:

ElementDescriptionType
CodeThis is the code for the company profile that you want to delete (unassign) from the group rate.string
LevelThis 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:

ElementDescriptionType
CodeThe code for success or failure.string

⇧ Back to top

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/seasonalDescriptions

Path Parameters

The following table describes the elements that you must include for this operation:

ElementDescriptionTypeRequired?
brandId

The brandId uniquely identifies a single brand property in CRS.

Example: 13098

integerRequired
code

The code to identify the brand rate.

Example: RCO

stringRequired

Query Parameters

The following table describes the elements that you can include when you query this endpoint:

ElementDescriptionTypeRequired?
pageStart

The starting record to return in the response.

Example: /v1/brands/{brandId}/rates/{code}/companyProfiles/seasonalDescriptions?pageStart=1

integerOptional
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

integerOptional
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

stringOptional
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

stringOptional
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

stringOptional

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:

ElementDescriptionType
rateNameThis is the name of the rate.string
rateCodeThis is the code for the ratestring
rateStatusThis is active or inactive, depending on the status of the rate.string
CompanyProfilesThe array to hold one company profile's information.array
codeThis is the code for the company profile.string
levelThis 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
nameThis is the name of the company profile.string
DefaultDescriptionThis is the default description for the company profile rate assignment.string
HotelThe array to hold information about the hotel to which the company profile is assigned.array
idThis ID uniquely identifies a single hotel property in CRS.integer
ChainThe array to hold information about the chain to which the company profile is assigned.array
idThis ID uniquely identifies a single chain property in CRS.integer
RateSeasonalDescriptionsThe array to hold information about the rate's company profile assignment seasonal descriptions.array
DescriptionThe seasonal description for the company profile assignment.string
StartDateStart date when the rate seasonal description is effective. This date must be between the current date and three years after the current date.string
EndDateEnd date when the rate seasonal description is effective. This date must be between the current date and three years after the current date.string
HotelListThe array to hold more hotel information.array
idThis ID uniquely identifies a single hotel property in CRS.integer
nameThis is the name of the hotel.string
codeThis is the code for the hotel.string
ChainListThe array to hold more chain information.array
idThis ID uniquely identifies a single chain property in CRS.integer
nameThis is the name of the chain.string
codeThis is the code for the chain.string
PagingThe array of pagination elements.array
size

Number of records per page to be returned in the response (0 = return all).

Example: 50

integer
startStarting record to be returned in the response.integer
total

Total number of records.

Example: 146

integer

⇧ Back to top

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/seasonalDescriptions

Path Parameters

The following table describes the elements that you must include for this operation:

ElementDescriptionTypeRequired?
brandId

The brandId uniquely identifies a single brand property in CRS.

Example: 13099

integerRequired
code

The code to identify the brand rate.

Example: RCO

stringRequired

Post Body Parameters

The following table describes the parameters to include in your post request:

ElementDescriptionType
CompanyProfileListThe array to hold the identifying information about the company profile.array
CodeThis is the code for the company profile that you want to assign to the brand rate.string
LevelThis 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
StartDateStart date when the rate seasonal description is effective. This date must be between the current date and three years after the current date.string
EndDateEnd date when the rate seasonal description is effective. This date must be between the current date and three years after the current date.string
DescriptionThe 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:

ElementDescriptionType
CodeThe code for success or failure.string

⇧ Back to top

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/seasonalDescriptions

Path Parameters

The following table describes the elements that you must include for this operation:

ElementDescriptionTypeRequired?
brandId

The brandId uniquely identifies a single brand property in CRS.

Example: 13098

integerRequired
code

The code to identify the brand rate.

Example: RCO

stringRequired

Delete Body Parameters

The following table describes the parameters to include in your delete request:

ElementDescriptionType
CompanyProfileListThe array to hold the identifying information about the company profile.array
CodeThis is the code for the company profile that you want to assign to the brand rate.string
LevelThis 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
StartDateStart date when the rate seasonal description is effective. This date must be between the current date and three years after the current date.string
EndDateEnd date when the rate seasonal description is effective. This date must be between the current date and three years after the current date.string
DescriptionThe 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:

ElementDescriptionType
CodeThe code for success or failure.string

⇧ Back to top

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/seasonalDescriptions

Path Parameters

The following table describes the elements that you must include for this operation:

ElementDescriptionTypeRequired?
chainId

The chainId uniquely identifies a single chain property in CRS.

Example: 13098

integerRequired
code

The code to identify the chain rate.

Example: RCO

stringRequired

Query Parameters

The following table describes the elements that you can include when you query this endpoint:

ElementDescriptionTypeRequired?
pageStart

The starting record to return in the response.

Example: /v1/chains/{chainId}/rates/{code}/companyProfiles/seasonalDescriptions?pageStart=1

integerOptional
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

integerOptional
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

stringOptional
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

stringOptional
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

stringOptional

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:

ElementDescriptionType
rateNameThis is the name of the rate.string
rateCodeThis is the code for the ratestring
rateStatusThis is active or inactive, depending on the status of the rate.string
CompanyProfilesThe array to hold one company profile's information.array
CodeThis is the code for the company profile.string
LevelThis 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
NameThis is the name of the company profile.string
DefaultDescriptionThis is the default description for the company profile rate assignment.string
HotelThe array to hold information about the hotel to which the company profile is assigned.array
idThis ID uniquely identifies a single hotel property in CRS.integer
ChainThe array to hold information about the chain to which the company profile is assigned.array
idThis ID uniquely identifies a single chain property in CRS.integer
RateSeasonalDescriptionsThe array to hold information about the rate's company profile assignment seasonal descriptions.array
DescriptionThe seasonal description for the company profile assignment.string
StartDateStart date when the rate seasonal description is effective. This date must be between the current date and three years after the current date.string
EndDateEnd date when the rate seasonal description is effective. This date must be between the current date and three years after the current date.string
HotelListThe array to hold more hotel information.array
idThis ID uniquely identifies a single hotel property in CRS.integer
nameThis is the name of the hotel.string
codeThis is the code for the hotel.string
ChainListThe array to hold more chain information.array
idThis ID uniquely identifies a single chain property in CRS.integer
nameThis is the name of the chain.string
codeThis is the code for the chain.string
PagingThe array of pagination elements.array
size

Number of records per page to be returned in the response (0 = return all).

Example: 50

integer
startStarting record to be returned in the response.integer
total

Total number of records.

Example: 146

integer

⇧ Back to top

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/seasonalDescriptions

Path Parameters

The following table describes the elements that you must include for this operation:

ElementDescriptionTypeRequired?
chainId

The chainId uniquely identifies a single chain property in CRS.

Example: 13099

integerRequired
code

The code to identify the chain rate.

Example: RCO

stringRequired

Post Body Parameters

The following table describes the parameters to include in your post request:

ElementDescriptionType
CompanyProfileListThe array to hold the identifying information about the company profile.array
CodeThis is the code for the company profile that you want to assign to the chain rate.string
LevelThis 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
StartDateStart date when the rate seasonal description is effective. This date must be between the current date and three years after the current date.string
EndDateEnd date when the rate seasonal description is effective. This date must be between the current date and three years after the current date.string
DescriptionThe 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:

ElementDescriptionType
CodeThe code for success or failure.string

⇧ Back to top

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/seasonalDescriptions

Path Parameters

The following table describes the elements that you must include for this operation:

ElementDescriptionTypeRequired?
chainId

The chainId uniquely identifies a single chain property in CRS.

Example: 13098

integerRequired
code

The code to identify the chain rate.

Example: RCO

stringRequired

Delete Body Parameters

The following table describes the parameters to include in your delete request:

ElementDescriptionType
CompanyProfileListThe array to hold the identifying information about the company profile.array
CodeThis is the code for the company profile that you want to assign to the chain rate.string
LevelThis 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
StartDateStart date when the rate seasonal description is effective. This date must be between the current date and three years after the current date.string
EndDateEnd date when the rate seasonal description is effective. This date must be between the current date and three years after the current date.string
DescriptionThe 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:

ElementDescriptionType
CodeThe code for success or failure.string

⇧ Back to top

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/seasonalDescriptions

Path Parameters

The following table describes the elements that you must include for this operation:

ElementDescriptionTypeRequired?
hotelId

The hotelId uniquely identifies a single hotel property in CRS.

Example: 13098

integerRequired
code

The code to identify the hotel rate.

Example: RCO

stringRequired

Query Parameters

The following table describes the elements that you can include when you query this endpoint:

ElementDescriptionTypeRequired?
levelThis is the level for the company profile: Chain or Hotel.stringOptional
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

stringOptional
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

stringOptional
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

stringOptional
pageStart

The starting record to return in the response.

Example: /v1/hotels/{hotelId}/rates/{code}/companyProfiles/seasonalDescriptions?pageStart=1

integerOptional
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

integerOptional

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:

ElementDescriptionType
RateNameThis is the name of the rate.string
RateCodeThis is the code for the ratestring
RateStatusThis is active or inactive, depending on the status of the rate.string
CompanyProfilesThe array to hold one company profile's information.array
CodeThis is the code for the company profile.string
LevelThis is the level for the company profile: Chain or Hotel.string
NameThis is the name of the company profile.string
DefaultDescriptionThis is the default description for the company profile rate assignment.string
HotelThe array to hold information about the hotel to which the company profile is assigned.array
idThis ID uniquely identifies a single hotel property in CRS.integer
ChainThe array to hold information about the chain to which the company profile is assigned.array
idThis ID uniquely identifies a single chain property in CRS.integer
RateSeasonalDescriptionsThe array to hold information about the rate's company profile assignment seasonal descriptions.array
DescriptionThe seasonal description for the company profile assignment.string
StartDateStart date when the rate seasonal description is effective. This date must be between the current date and three years after the current date.string
EndDateEnd date when the rate seasonal description is effective. This date must be between the current date and three years after the current date.string
HotelListThe array to hold more hotel information.array
idThis ID uniquely identifies a single hotel property in CRS.integer
nameThis is the name of the hotel.string
codeThis is the code for the hotel.string
ChainListThe array to hold more chain information.array
idThis ID uniquely identifies a single chain property in CRS.integer
nameThis is the name of the chain.string
codeThis is the code for the chain.string
PagingThe array of pagination elements.array
size

Number of records per page to be returned in the response (0 = return all).

Example: 50

integer
startStarting record to be returned in the response.integer
total

Total number of records.

Example: 146

integer

⇧ Back to top

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/seasonalDescriptions

Path Parameters

The following table describes the elements that you must include for this operation:

ElementDescriptionTypeRequired?
hotelId

The hotelId uniquely identifies a single hotel property in CRS.

Example: 13099

integerRequired
code

The code to identify the hotel rate.

Example: RCO

stringRequired

Post Body Parameters

The following table describes the parameters to include in your post request:

ElementDescriptionType
CompanyProfileListThe array to hold the identifying information about the company profile.array
CodeThis is the code for the company profile that you want to assign to the hotel rate.string
LevelThis is the level for the company profile: Chain or Hotel.string
StartDateStart date when the rate seasonal description is effective. This date must be between the current date and three years after the current date.string
EndDateEnd date when the rate seasonal description is effective. This date must be between the current date and three years after the current date.string
DescriptionThe 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:

ElementDescriptionType
CodeThe code for success or failure.string

⇧ Back to top

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/seasonalDescriptions

Path Parameters

The following table describes the elements that you must include for this operation:

ElementDescriptionTypeRequired?
hotelId

The hotelId uniquely identifies a single hotel property in CRS.

Example: 13098

integerRequired
code

The code to identify the hotel rate.

Example: RCO

stringRequired

Delete Body Parameters

The following table describes the parameters to include in your delete request:

ElementDescriptionType
CompanyProfileListThe array to hold the identifying information about the company profile.array
CodeThis is the code for the company profile that you want to assign to the hotel rate.string
LevelThis is the level for the company profile: Chain or Hotel.string
StartDateStart date when the rate seasonal description is effective. This date must be between the current date and three years after the current date.string
EndDateEnd date when the rate seasonal description is effective. This date must be between the current date and three years after the current date.string
DescriptionThe 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:

ElementDescriptionType
CodeThe code for success or failure.string

⇧ Back to top