Book an Train trip

Aus DRV STRING
Wechseln zu: Navigation, Suche


Use Case: Book an Train trip

Module: Train

Description

Based on the response from the train availibilty request, the booking is made from the selection of the outward and return journey, if necessary.

Request Data

Mandatory parameters:

  • departure station
  • arrival station
  • date
  • hour
  • person
  • class
  • oneway or return trip
  • discount card (e.g. BahnCard)
  • loyalty card


Optional parameters:

  • seat include


Response Data

The answer contains the total price and all information such as day, times, changes, class etc.