CorporateCodes

Returns a list of corporate codes.

Returns all existing corporate codes that match given criteria.<br>You must have this scope: 'rateplans.read-corporate'.

get/rateplan/v1/corporate-codes/codes

Query parameters

propertyIdstring

Return codes for a specific property

pageNumberinteger

Page number to retrieve. Default: 1. If the page has no items, the API returns 204 No Content.

pageSizeinteger

Items per page. Default: 500. Maximum: 500.

Response

A collection of corporate codes.

countinteger required

Total count of items

Example response

{
  "corporateCodes": [
    {
      "code": "APALEO-NONREF",
      "companyId": "MUC-UMBRELLA",
      "companyCode": "UMBRELLA",
      "companyName": "Umbrella Corp.",
      "ratePlanId": "RP-APALEO-NONREF"
    }
  ],
  "count": 1
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.