NoShowPolicy

Create a no-show policy.

Create a no-show policy.<br>You must have at least one of these scopes: 'settings.manage, setup.manage'.<br>For fine-grained clients, you must have this permission: 'core.no_show_policies.create'.

post/rateplan/v1/no-show-policies

Request

  • Base URL
    https://api.apaleo.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.apaleo.com/rateplan/v1/no-show-policies
  • Auth
    OAuth 2
    Implicit: https://identity.apaleo.com/connect/authorize
    Scopes: settings.manage, setup.manage, admin

Headers

Idempotency-Keystring

Unique key for safely retrying requests without accidentally performing the same operation twice. We'll always send back the same response for requests made with the same key, and keys can't be reused with different request parameters. Keys expire after 24 hours.

Request body

codestring required

The code for the no-show policy, used to assemble its id

nameobject required

The name for the no-show policy

descriptionobject required

The description for the no-show policy

propertyIdstring required

The id of the property where the no-show policy will be created

Example request

{
  "code": "NONREF",
  "name": {
    "en": "No-Show Fee",
    "de": "No-Show Fee"
  },
  "description": {
    "en": "100% of the accommodation fees, for the complete stay.",
    "de": "100% of the accommodation fees, for the complete stay."
  },
  "propertyId": "MUC",
  "fee": {
    "vatType": "Null",
    "fixedValue": {
      "amount": 100,
      "currency": "EUR"
    }
  }
}

Response

No-show policy successfully created.

idstring required

The no-show policy ID

Example response

{
  "id": "MUC-NONREF"
}

Changes

No recorded changes to this operation across all 5 revisions of this API.