Service

Get a specific service.

Get a specific service.<br>You must have at least one of these scopes: 'services.read, setup.read, setup.manage'.

get/rateplan/v1/services/{id}

Path parameters

idstring required

The id of the service.

Query parameters

languagesstring[]

'all' or comma separated list of two-letter language codes (ISO Alpha-2)

expandstring[]

List of all embedded resources that should be expanded in the response. Possible values are: property. All other values will be silently ignored.

Response

Success.

idstring required

The service id

codestring required

The code for the service

nameobject required

The name for the service

descriptionobject required

The description for the service

pricingUnit'Room' | 'Person' required

Defines the granularity (room, person) for which this item is offered and priced

postNextDayboolean required

Whether the service is delivered and posted on the same business date as the accommodation, or on the next day.

channelCodesstring[] nullable

The channel codes the service is sold through. When no channels are defined, the service is sold only in a package

ageCategoryIdstring nullable

The id of the age category associated with this service.

Example response

{
  "id": "MUC-BRKF_CHILD",
  "code": "BRKF_CHILD",
  "name": {
    "en": "Breakfast for children",
    "de": "Frühstück für Kinder"
  },
  "description": {
    "en": "Yummy yummy breakfast for children",
    "de": "Leckeres Frühstück für Kinder"
  },
  "defaultGrossPrice": {
    "amount": 20,
    "currency": "EUR"
  },
  "pricingUnit": "Person",
  "postNextDay": true,
  "availability": {
    "mode": "Daily",
    "quantity": 3,
    "daysOfWeek": [
      "Monday",
      "Tuesday",
      "Wednesday",
      "Thursday",
      "Friday",
      "Saturday",
      "Sunday"
    ]
  },
  "accountingConfigs": [
    {
      "state": "Unknown",
      "vatType": "Normal",
      "serviceType": "FoodAndBeverages",
      "subAccountId": "ALCO",
      "validFrom": "2021-01-01"
    }
  ],
  "property": {
    "id": "MUC",
    "code": "MUC",
    "name": "Demo Hotel Munich",
    "description": "This is the demo hotel Munich"
  },
  "channelCodes": [
    "Direct",
    "Ibe",
    "BookingCom",
    "ChannelManager"
  ],
  "ageCategoryId": "MUC-CHILD"
}

Changes

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