I 70 adding offers to a pre booked booking - UnionInternationalCheminsdeFer/OSDM GitHub Wiki

I-70: Adding offers to a pre-booked booking

Description

Need to add offers to a booking with booked offers. For a retailer to use the booking as a lightweight basket.

Owner

  • SJ
  • samtrafiken
  • turnit

Business Value

For customers

who do something

the solution

is a something – the ‘how’

that provides this value

unlike competitor, current solution or non-existing solution

our solution does something better — the ‘why’.

Business Outcomes

The measurable benefits that the business can anticipate if the epic hypothesis is proven to be correct.

To do

Leading Indicators

The early measures that will help predict the business outcome hypothesis. For more on this topic, see the Innovation Accounting advanced topic article.

To do

Nonfunctional Requirements

Nonfunctional requirements (NFRs) associated with the epic.

To do

Initial Analysis

To add: POST /bookings/{booking-id}/bookedOffers , with the following payload:

BookingPostOffersRequest:

  • array of offers (mandatory)
  • array of passengerSpecifications iff we want to add new passengers (To be clarified)
  • array of promoCodes (Optional)

Response: same as for POST /booking, i.e. the usual array of warnings and the resulting booking