An example of end-to-end scenario based on on operation flow and user story
Operation flowread (booking) → servicePrice → addAncillaries → voidTicket (EMD) User storyS7 agent wants to buy ancillaries (bag) for 1ADT in booking with tickets issued earlier. He also wants to cancel ancillaries services if it necessary. |
The general process for book a trip and read reservation details such as this is:
Read reservation: S7 Agent executes a read operation to get information about passengers, issued tickets and route;
Get ancillaries pricing (bag): S7 Agent executes a servicePrice operation to get information about available ancillaries;
Issue EMD for ancillaries services: S7 Agent executes an addAncillaries operation to issue EMD for chosen ancillaries services;
Cancel EMD if necessary: S7 Agent executes a voidTicket operation to cancel EMD.
Table of contents:
Before you can send a request to S7 Agent API, you must get an SSL certificate and configure your software. |
S7 Agent executes a read operation to get information about passengers, issued tickets and rout.
|
|
S7 Agent executes a servicePrice operation to get information about extra bag price.
|
|
S7 Agent executes an addAncillaries operation to issue EMD for choosen ancillaries services.
|
|
|
S7 Agent executes a voidTicket operation to cancel EMD.
|
|