My Booking

My Booking API: GET

This API is used to get booking history.

API: http://bsptrips.staging.vggdev.com/api/Flight/MyBookings

Request Header:

Authorization: {Bearer Token}

Content-Type: application/json

MerchantCode: {MerchantCode}

"Parameters": {
    "pnr": "GQBPNB",
    "email": "test@test.com",
    "phone": "0902232883420"
},
"from": 1,
"pageSize": 10

Response

{
    "TotalCount": 1,
    "ResultList": [
        {
            "ArrivalLocation": "DXB",
            "DepatureLocation": "LHR",
            "AirlineCode": "LO",
            "DepartureDate": "2022-11-30T10:25:00",
            "ArrivalDate": "2022-12-01T16:25:00",
            "Stops": 1,
            "BookingClass": "O",
            "TotalFare": 145720.04,
            "TotalTax": 77421,
            "AdultCount": 1,
            "ChildrenCount": 0,
            "InfantCount": 0,
            "PnrNumber": "RCEG7E",
            "ContactEmail": "jimoh@qa.team",
            "ContactPhone": "09063479230",
            "Country": "NG",
            "TotalAdultFare": 145720.04,
            "TotalAdultTax": 77421,
            "TotalChildFare": 0,
            "TotalChildTax": 0,
            "TotalInfantFare": 0,
            "TotalInfantTax": 0,
            "BookingStatusId": 1,
            "BookingStatusName": "Cancelled"
        }
    ],
    "Errors": null
}

Last updated