Book an Train trip

Aus DRV STRING
Version vom 24. April 2018, 08:47 Uhr von Perezf (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „Kategorie:UseCases == Use Case: ''Book an Train trip'' == '''Module:''' Train == Description == Based on the response from the train availibilty request…“)

(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
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.