Skip to content

Overview

Detailed definitions of the endpoints for each API are available on the developer portal of our API Management including sample code and Open API definition download.

Content

Marketplace service is responsible for placing orders. Completed orders and e-tickets are saved in the profile service.

The discover.swiss Checkout process is defined and implemented by the order-state machine defined on Order item statuses. This is a step-by-step on how to implement the client-side.

The steps are summarized as the following:

  1. Create profile
  2. Create order
  3. Fill the order with OrderItems
  4. Payment
  5. Fulfillment
  6. Delivery
  7. Get tickets

Localization

default: de-CH

DateTime formatting: "2019-08-09T13:59:57.097+02:00"

  • Use Accept-Timezone header to specify the requested timezone.
  • Provide a TimeZone id acquired from Infocenter /timezones route (Windows time zones) or use a IANA time-zome code in order to get data with desired time offset.
  • The default timezone is UTC
  • Number formatting: CH