.. _booking_process: TicketSwitch API Process Diagram ============================================ .. figure:: images/api-booking-process.png .. '..title TicketSwitch Process Flow' .. autonumber .. participant "API Client" .. participant TicketSwitch .. participant "Backend System" .. .. "API Client" -> "TicketSwitch": start_session .. note left .. Provide username & password .. end note .. TicketSwitch -> "API Client" : Crypto block .. note left .. returned if authenticated .. Crypto block used as parameter in future calls. .. end note .. .. "Backend System" -> TicketSwitch : Current Options .. TicketSwitch -> "API Client" .. .. .. .. .. .. participant API Client .. .. .. title API Client / TicketSwitch: Create Order .. API Client->TicketSwitch: Create Order .. note left of TicketSwitch: .. crypto_block (from discount options), [discount_token/s] .. end note .. TicketSwitch->Backend System: Options Check .. Backend System->TicketSwitch: Current Options .. TicketSwitch->API Client: .. note right of API Client: .. Order block: Discounts, currency, event, performance, despatch method .. end note ..