Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OTST_TI_FULFILLMENT_2PAX #23

Open
LucFen opened this issue Sep 17, 2024 · 0 comments
Open

OTST_TI_FULFILLMENT_2PAX #23

LucFen opened this issue Sep 17, 2024 · 0 comments
Labels

Comments

@LucFen
Copy link
Collaborator

LucFen commented Sep 17, 2024

Description

This scenario includes interaction with the following APIs:
• Post /offers, the request is based on two passengers and a tripSpecifications, containing
o Legs.timedleg.start
o Legs.timedleg.end
o Legs.timedleg.serviceDeparture
• Post /bookings, the request is based on one of the offers[i].offerId contained in the response of the Post /offers response.
• Post /bookings/{bookingId}/fulfillments, the request contains the bookingId produced by the previous interaction.

Scenario

  1. Generate and send a Post /offers request for two passengers with a tripSpecifications, containing
    o Legs.timedleg.start
    o Legs.timedleg.end
    o Legs.timedleg.serviceDeparture
  2. Generate and send a Post /bookings request using one offer in the Post /offers response, defined by the offers[i].offerId contained in the response of the previous interaction
  3. Generate and send a Post /bookings/{bookingId}/fulfillments request using the booking.id contained in the response of the Post /bookings and retrieve the pdf documents in the fulfillments.fulfillmentDocuments.content field
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant