An example of end-to-end scenario based on on operation flow and user story
Operation flowread (booking) → servicePrice→ seatMap→ addAncillaries → voidTicket (EMD) User storyS7 agent wants to buy ancillaries (bags, seats and meals) for 1ADT+1CHD+1INF 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 rout;
Get ancillaries pricing (bags, meals): S7 Agent executes a seravicePrice operation to get information about extra bags and meals price;
Get ancillaries pricing (seats): S7 Agent executes a seatMap operation to get information seats price and availability;
Issue EMD for ancillaries services: S7 Agent executes an addAncillaries operation to issue EMD for choosen 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.
|
|