Docs

Get an activity

Retrieve one published or unlisted activity by stable UUID. Draft, archived, absent and foreign activities return 404. On every storefront read, Buchung-Locale is optional: omission or a well-formed but unsupported value applies the operator's default locale; a supported explicit value selects that exact locale, Content-Language always reports the applied locale, and Buchung-Locale-Fallback reports the requested value only when unsupported; malformed values return 400 validation_failed.

Early access. Use the API base, channel key and allowed origins supplied by Buchung before running examples. Interactive API requests are disabled here.

GET
/v1/activities/{id}

Retrieve one published or unlisted activity by stable UUID. Draft, archived, absent and foreign activities return 404. On every storefront read, Buchung-Locale is optional: omission or a well-formed but unsupported value applies the operator's default locale; a supported explicit value selects that exact locale, Content-Language always reports the applied locale, and Buchung-Locale-Fallback reports the requested value only when unsupported; malformed values return 400 validation_failed.

Authorization

channelKey
headerX-Buchung-Channel-Key<token>

Required channel key for every storefront operation, including site.get. On every storefront read, Buchung-Locale is optional: omission or a well-formed but unsupported value applies the operator's default locale; a supported explicit value selects that exact locale, Content-Language always reports the applied locale, and Buchung-Locale-Fallback reports the requested value only when unsupported; malformed values return 400 validation_failed. Only checkout.createHandoff requires a supported Buchung-Locale: absence or malformed values return 400 validation_failed, and well-formed unsupported values return 400 locale_not_supported with details naming the requested and supported locales. Start with site.get to discover the operator's locales.

Path Parameters

id*string

Stable resource UUID scoped to the authenticated operator; see Id.

Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$
Formatuuid

Header Parameters

Buchung-Locale?string

On every storefront read, Buchung-Locale is optional: omission or a well-formed but unsupported value applies the operator's default locale; a supported explicit value selects that exact locale, Content-Language always reports the applied locale, and Buchung-Locale-Fallback reports the requested value only when unsupported; malformed values return 400 validation_failed. Only checkout.createHandoff requires a supported Buchung-Locale: absence or malformed values return 400 validation_failed, and well-formed unsupported values return 400 locale_not_supported with details naming the requested and supported locales. Start with site.get to discover the operator's locales. See Language for syntax and normalization.

Match^[A-Za-z]{2,3}(-[A-Za-z0-9]{1,8}){0,3}$
Lengthlength <= 35

Response Body

Directly accessible activity with localized public catalogue data. Lists contain published activities; direct lookup also permits unlisted activities.

application/json
  1. response

Directly accessible activity with localized public catalogue data. Lists contain published activities; direct lookup also permits unlisted activities.

locale*Language

Matched case-insensitively against the operator's supported locale codes and normalized to the stored code. On every storefront read, Buchung-Locale is optional: omission or a well-formed but unsupported value applies the operator's default locale; a supported explicit value selects that exact locale, Content-Language always reports the applied locale, and Buchung-Locale-Fallback reports the requested value only when unsupported; malformed values return 400 validation_failed. Only checkout.createHandoff requires a supported Buchung-Locale: absence or malformed values return 400 validation_failed, and well-formed unsupported values return 400 locale_not_supported with details naming the requested and supported locales. Start with site.get to discover the operator's locales. Accepted locale codes form a closed set per operator, discovered from Site.locales; syntactically valid codes do not imply support. Management uses explicit locales without fallback; unsupported locales return 400 validation_failed.

Match^[A-Za-z]{2,3}(-[A-Za-z0-9]{1,8}){0,3}$
Lengthlength <= 35
id*Id

Stable UUID of a public resource.

Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$
Formatuuid
handle*Handle

Public handle scoped to the authenticated operator, 1–128 ASCII characters, matching the hosted seed cookie carrier's ASCII assumption.

Match^[\x00-\x7F]+$
Length1 <= length <= 128
title*string

Activity identity.

description*|

Projection of the platform-declared presentation definition _bg:meta. A theme or operator may leave it unused; a frontend may ignore it.

html*|

Projection of the platform-declared presentation definition _bg:content, which may be null: rich text cleaned with the storefront read policy for operator rich text. It keeps headings, lists, links (with the editor's link classes), tables and text alignment; scripts, event handlers, embeds, images and unsafe link targets are removed. A theme or operator may leave it unused; a frontend may ignore it.

bookingUnitNounForms*array<>

Ordered noun fallback entries, including curated fallback. For each entry use its own locale's CLDR cardinal category for quantity, then forms[category] ?? forms.other; return the first nonblank value. Invalid legacy locale uses other. Preserve entry order, including repeated locales; never flatten into the request locale's plural categories.

Items1 <= items
locations*array<>

Distinct places of this activity's published availabilities, not an activity default or override. May be empty. Availability start times render in the departure location's timezone and end times in the arrival location's timezone when set; otherwise use the operator's default timeZone.

categories*array<>
usps*array<string>

Projection of the platform-declared presentation definition _bg:usps. A theme or operator may leave it unused; it may be empty for themed operators, and a frontend may ignore it.

trustSignals*array<|>

Signals whose operator, category or explicit activity scope includes this activity, ordered by position. Scope is operator truth resolved server-side; surfaces are theme presentation, and a frontend may ignore any surface it does not render.

media*array<|>
facts*
customFacts*

Public custom facts keyed by definition key; an empty object when none apply. Lists and direct lookup project the same shape, and these values count toward the 4 MiB per-page custom-fact budget.

Example Request
curl -X GET 'https://api.buchungapp.com/v1/activities/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{  "locale": "string",  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "handle": "string",  "title": "string",  "description": "string",  "html": "string",  "bookingUnitNounForms": [    {      "locale": "string",      "forms": {        "zero": "string",        "one": "string",        "two": "string",        "few": "string",        "many": "string",        "other": "string"      }    }  ],  "locations": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "kind": "office",      "name": "string"    }  ],  "categories": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "handle": "string",      "title": "string"    }  ],  "usps": [    "string"  ],  "trustSignals": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "source": "library",      "title": "string",      "url": "http://example.com",      "logo": {        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "url": "http://example.com",        "srcSet": [          {            "url": "http://example.com",            "width": 1          }        ],        "width": 1,        "height": 1,        "muxPlaybackId": "string",        "posterUrl": "http://example.com",        "alt": "string",        "position": 0,        "type": "image"      },      "logoUrl": "http://example.com",      "renderingShape": "badge",      "surfaces": [        "footer"      ],      "validUntil": "2019-08-24",      "snapshot": {        "value": 0,        "max": 0,        "count": 0,        "fetchedAt": "2019-08-24T14:15:22Z",        "sourceUrl": "http://example.com",        "attribution": "string"      },      "kind": "string"    }  ],  "media": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "url": "http://example.com",      "srcSet": [        {          "url": "http://example.com",          "width": 1        }      ],      "width": 1,      "height": 1,      "muxPlaybackId": "string",      "posterUrl": "http://example.com",      "alt": "string",      "position": 0,      "type": "image"    }  ],  "facts": {    "property1": {      "property1": {        "label": "string",        "kind": "reference",        "value": {          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",          "kind": "string"        }      },      "property2": {        "label": "string",        "kind": "reference",        "value": {          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",          "kind": "string"        }      }    },    "property2": {      "property1": {        "label": "string",        "kind": "reference",        "value": {          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",          "kind": "string"        }      },      "property2": {        "label": "string",        "kind": "reference",        "value": {          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",          "kind": "string"        }      }    }  },  "customFacts": {}}