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_RFND_2PAX_1REFUND #36

Open
LucFen opened this issue Sep 18, 2024 · 2 comments
Open

OTST_TI_RFND_2PAX_1REFUND #36

LucFen opened this issue Sep 18, 2024 · 2 comments
Assignees
Labels

Comments

@LucFen
Copy link
Collaborator

LucFen commented Sep 18, 2024

Description
Scenario includes:
• Post /offers, the request is related to two passenger and is based on a tripSearchCriteria, containing
o Origin
o Destination
o departure time
• Post /bookings, the request is based on one of the offerId contained in the response of the Post /offers response.
• Post /bookings/{bookingId}/fulfillments, the request contains the bookingId produced by the previous interaction.
• Request of available refund offers with POST /bookings/{bookingId}/refund-offers related to one of the fulfillment obtained.
• Execute a refund based on one of the offers obtained, using PATCH /bookings/{bookingId}/refund-offers/{refundOfferId}.
Scenario

  1. Generate and send a Post /offers request with a tripSearchCriteria, containing origin, destination and departure time, specify two passengers with anonymousPassengerSpecifications
  2. Generate and send a Post /bookings request using one offer (identified by offerId) in the post offers response
  3. Generate and send a Post /bookings/{bookingId}/fulfillments request using the booking id in the response of the post booking
  4. Generate and send a POST /bookings/{bookingId}/refund-offers using the bookingId and one of the fulfillmentId (from the previous call), select a refundOfferId
  5. Generate and send a PATCH /bookings/{bookingId}/refund-offers/{refundOfferId}, using in input the bookingId and the refundOfferId (from the previous API invocation response)
@TOP-PHE
Copy link
Collaborator

TOP-PHE commented Oct 1, 2024

Put in priority 2 as the main priority is to deliver the scope of functionnalities on a 1 PAX_1 Leg type of offer first before managing more complex cases

1 similar comment
@TOP-PHE
Copy link
Collaborator

TOP-PHE commented Oct 1, 2024

Put in priority 2 as the main priority is to deliver the scope of functionnalities on a 1 PAX_1 Leg type of offer first before managing more complex cases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Open
Development

No branches or pull requests

3 participants