Bookings

Returns all bookings of the administration

get/v3/administrations/{administration_id}/bookings

Request

Path parameters

administration_idstring required

Administration ID

Query parameters

page[number]integer

Page number

page[size]integer

Page size

sortstring

Sort. Specify a comma separated list of attributes to sort on. Prefix attribute with a - to sort in descending order. Allowed attributes: id, confirmed_at, created_at, updated_at

fields[booking]string

Fieldset. Specify a comma separated list of attributes to return

includestring

Includes list. Specify a comma separated list of resources to include.

filter[id]string

Filter on ID

filter[booker_desires_downpayment]string

Filter on booker_desires_downpayment

filter[after_payment_return_url]string

Filter on after_payment_return_url

filter[option_validity]string

Filter on option_validity

filter[remote_booking_nr]string

Filter on remote_booking_nr

filter[reference_nr]string

Filter on reference_nr

filter[locale]string

Filter on locale

filter[memo]string

Filter on memo

filter[cancel_date]string

Filter on cancel_date

filter[cancel_reason]string

Filter on cancel_reason

filter[state]string

Filter on state

filter[token]string

Filter on token

filter[confirmed_at]string

Filter on confirmed_at

filter[booking_nr]string

Filter on booking_nr

filter[created_at]string

Filter on created_at

filter[updated_at]string

Filter on updated_at

filter[customer]string

Filter on customer. Specify a comma separated list of IDs to filter on.

filter[owner]string

Filter on owner. Specify a comma separated list of IDs to filter on.

filter[traffic_source]string

Filter on traffic_source. Specify a comma separated list of IDs to filter on.

filter[credit_cards]string

Filter on credit_cards. Specify a comma separated list of IDs to filter on.

filter[security_deposits]string

Filter on security_deposits. Specify a comma separated list of IDs to filter on.

filter[administration]string

Filter on administration. Specify a comma separated list of IDs to filter on.

filter[channel]string

Filter on channel. Specify a comma separated list of IDs to filter on.

filter[guest_invoice]string

Filter on guest_invoice. Specify a comma separated list of IDs to filter on.

filter[customer_invoice]string

Filter on customer_invoice. Specify a comma separated list of IDs to filter on.

filter[channel_invoice]string

Filter on channel_invoice. Specify a comma separated list of IDs to filter on.

filter[reservations]string

Filter on reservations. Specify a comma separated list of IDs to filter on.

Headers

Accept-Languagestring

Supported languages. A comma separated list with one or more of the following locales: cs, da-DK, de, de-AT, de-CH, en-US, en-GB, es, fr, fr-BE, fr-LU, it, nb, nl, nl-BE, pl, pt, tr, en, da. Default: 'en'.

Response

BookingCollectionResponse

Example response

{
  "data": [
    {
      "id": "1",
      "type": "booking",
      "attributes": {
        "customer_desires_downpayment": true,
        "booker_desires_downpayment": true,
        "option_validity": 3,
        "locale": "cs",
        "currency": "EUR"
      },
      "relationships": {
        "customer": {
          "data": {
            "type": "customer"
          }
        },
        "owner": {
          "data": {
            "type": "owner"
          }
        },
        "traffic_source": {
          "data": {
            "type": "traffic_source"
          }
        },
        "conversation": {
          "data": {
            "type": "conversation"
          }
        },
        "credit_cards": {
          "data": [
            {
              "type": "credit_card"
            }
          ]
        },
        "security_deposits": {
          "data": [
            {
              "type": "security_deposit"
            }
          ]
        },
        "administration": {
          "data": {
            "type": "administration"
          }
        },
        "channel": {
          "data": {
            "type": "channel"
          }
        },
        "guest_invoice": {
          "data": {
            "type": "invoice"
          }
        },
        "customer_invoice": {
          "data": {
            "type": "invoice"
          }
        },
        "channel_invoice": {
          "data": {
            "type": "invoice"
          }
        },
        "reservations": {
          "data": [
            {
              "type": "reservation"
            }
          ]
        },
        "payments": {
          "data": [
            {
              "type": "payment"
            }
          ]
        }
      }
    }
  ],
  "included": [
    {
      "id": "1",
      "type": "customer",
      "attributes": {
        "title": "mr",
        "country_code": "NL",
        "locale": "cs"
      },
      "relationships": {
        "labels": {
          "data": [
            {
              "type": "label"
            }
          ]
        }
      }
    }
  ]
}

Changes

    • warning

      added the new da-DK enum value to the /// response property for the response status

    • warning

      added the new da-DK enum value to the /////// response property for the response status

    • warning

      added the new da-DK enum value to the /////// response property for the response status

    • warning

      added the new da-DK enum value to the /////// response property for the response status

    • warning

      added the new en-GB enum value to the /// response property for the response status

    • warning

      added the new en-GB enum value to the /////// response property for the response status

    • warning

      added the new en-GB enum value to the /////// response property for the response status

    • warning

      added the new en-GB enum value to the /////// response property for the response status

    • warning

      added the new en-US enum value to the /// response property for the response status

    • warning

      added the new en-US enum value to the /////// response property for the response status

    • warning

      added the new en-US enum value to the /////// response property for the response status

    • warning

      added the new en-US enum value to the /////// response property for the response status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property //////// to the response with the status

    • info

      added the optional property //////// to the response with the status

    • info

      added the optional property //////// to the response with the status

    • info

      added the optional property //////// to the response with the status

    • info

      added the optional property //////// to the response with the status

    • info

      added the optional property //////// to the response with the status

    • info

      added the optional property //////// to the response with the status

    • info

      added the optional property //////// to the response with the status

    • info

      added the optional property //////// to the response with the status

    • info

      added the optional property /////// to the response with the status

    • info

      added the optional property /////// to the response with the status

    • info

      added the optional property /////// to the response with the status

    • info

      added the optional property /////// to the response with the status

    • info

      added the optional property ///////// to the response with the status

    • info

      added the optional property ///////// to the response with the status

    • info

      added the optional property ///////// to the response with the status

    • info

      added the optional property /////// to the response with the status

    • info

      added the optional property //////// to the response with the status

    • info

      added the optional property //////// to the response with the status

    • info

      added the optional property //////// to the response with the status

    • info

      added the optional property //////// to the response with the status

    • info

      added the optional property //////// to the response with the status

    • info

      added the optional property //////// to the response with the status

    • info

      response property included/items/anyOf[Customer]/attributes/debtor_code deprecated