The capacity query for external systems and portals can be carried out with this call. This allows you to check live whether there are enough seats available before making a booking.
Query capacity for a specific line and journey
** Parameter | Parameter | Description | |-------------------------------|----------------| | token** | XYZ | | ** action** | checkLiveCapacity | | ** port_id** | 5 | | ** line_port_schedule_id** | 126444 | | ** destination_port_id** | 8 | | ** user_id (optional)** | 823432 |
Example online demo: Get capacity
A JSON array with the corresponding capacity is returned.