PrasannPradeepPatil / Booking-Website

0 stars 2 forks source link

Post Login Flight History API #82

Open ahamad-s opened 2 years ago

ahamad-s commented 2 years ago

This API returns the customer booking history in regards to the flights from the existing data in the DB. This API also uses additional authentication to authenticate a valid user by using two headers.

  1. UserId
  2. token Request: { "UserId":"" }

Response:

{ "status": "", "response": [ { "referenceNumber": "", "bookingDates": "", "source": "", "destination": "", "id": "", "price": "" },......] }