For the complete documentation index, see llms.txt. This page is also available as Markdown.

Grouped-departures

This capability allows grouping of interval time slots

Add octo/grouped-departures to your OCTO-Capabilities header

Add it to both Products and Availability calls, in order for it to work

Used with List Products , Single Product and Availability endpoints. Groups interval time slots into Morning Departures (before noon), Afternoon Departures (noon till 6pm), Evening Departures (6pm till midnight).

Assigns unique id for different departure groups, which is used in Availability request as optionId

Response

"options": [
        {
            "id": "ac0ff447450a0b3102db16cfaae7edc13729bf5b",
            "internalName": "Morning Departures",
            ...
        },
        {
            "id": "5e66a4a9f8cefa58c8403540463e9715a4771c16",
            "internalName": "Afternoon Departures",
            ...
        },
        {
            "id": "10921bf8a1bffb723bb08aa67192fae681549725",
            "internalName": "Evening Departures",
            ...
        }
    ],

optionId for particular departure group will return time slots associated with it

Response

Below is the response when Afternoon Departures id is passed as optionId in request

optionId used and id received in Availability request will be used in Booking endpoint as payload. Further steps are same regardless of octo-capabilities header

Assign unique id for different departure groups

Response

Below is the response when octo/grouped-departures is passed in the header

Last updated