POST api/Book/GetLatestBookingsDetails23

Request Information

URI Parameters

None.

Body Parameters

FPLatestBookingsRQ
NameDescriptionTypeAdditional information
LatestBookingRequest

LatestBookingsRQ

None.

LatestBookingVersion

LatestBookVersion

None.

SoapAuthentication

SoapAuthentication

None.

Request Formats

application/json, text/json

Sample:
{
  "LatestBookingRequest": {
    "Email": "sample string 1",
    "LastName": "sample string 2",
    "ZipOrPhone": "sample string 3"
  },
  "LatestBookingVersion": 0,
  "SoapAuthentication": {
    "UserName": "sample string 1",
    "Password": "sample string 2"
  }
}

text/html

Sample:
{"LatestBookingRequest":{"Email":"sample string 1","LastName":"sample string 2","ZipOrPhone":"sample string 3"},"LatestBookingVersion":0,"SoapAuthentication":{"UserName":"sample string 1","Password":"sample string 2"}}

application/xml, text/xml

Sample:
<FPLatestBookingsRQ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FPWebBox.BusinessObjects">
  <LatestBookingRequest>
    <Email>sample string 1</Email>
    <LastName>sample string 2</LastName>
    <ZipOrPhone>sample string 3</ZipOrPhone>
  </LatestBookingRequest>
  <LatestBookingVersion>NONE</LatestBookingVersion>
  <SoapAuthentication>
    <Password>sample string 2</Password>
    <UserName>sample string 1</UserName>
  </SoapAuthentication>
</FPLatestBookingsRQ>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

FPLatestBookingsRS
NameDescriptionTypeAdditional information
FlightBookings

Collection of FlightBooking

None.

HotelBookings

Collection of HotelBooking

None.

CarBookings

Collection of CarBooking

None.

ErrorCode

string

None.

ErrorAtNode

string

None.

Response Formats

application/json, text/json

Sample:
{
  "FlightBookings": [
    {
      "bookingGuid": "sample string 10",
      "ParentTid": "sample string 1",
      "BookingNumber": 1,
      "PNR": "sample string 2",
      "FromCity": "sample string 3",
      "ToCity": "sample string 4",
      "AirlineName": "sample string 5",
      "BookedOn": "2018-05-26T15:56:09.218228-04:00",
      "DepartureDateTime": "2018-05-26T15:56:09.218228-04:00",
      "Email": "sample string 8",
      "TravellerName": "sample string 9",
      "PortalId": "sample string 11"
    },
    {
      "bookingGuid": "sample string 10",
      "ParentTid": "sample string 1",
      "BookingNumber": 1,
      "PNR": "sample string 2",
      "FromCity": "sample string 3",
      "ToCity": "sample string 4",
      "AirlineName": "sample string 5",
      "BookedOn": "2018-05-26T15:56:09.218228-04:00",
      "DepartureDateTime": "2018-05-26T15:56:09.218228-04:00",
      "Email": "sample string 8",
      "TravellerName": "sample string 9",
      "PortalId": "sample string 11"
    }
  ],
  "HotelBookings": [
    {
      "ParentTid": "sample string 1",
      "BookingNumber": 1,
      "BookingGUID": "sample string 2",
      "PNR": "sample string 3",
      "CityName": "sample string 4",
      "HotelName": "sample string 5",
      "Email": "sample string 6",
      "BookedOn": "2018-05-26T15:56:09.218228-04:00",
      "CheckInDate": "2018-05-26T15:56:09.218228-04:00",
      "CheckOutDate": "2018-05-26T15:56:09.218228-04:00",
      "GuestName": "sample string 10",
      "PortalId": "sample string 11"
    },
    {
      "ParentTid": "sample string 1",
      "BookingNumber": 1,
      "BookingGUID": "sample string 2",
      "PNR": "sample string 3",
      "CityName": "sample string 4",
      "HotelName": "sample string 5",
      "Email": "sample string 6",
      "BookedOn": "2018-05-26T15:56:09.218228-04:00",
      "CheckInDate": "2018-05-26T15:56:09.218228-04:00",
      "CheckOutDate": "2018-05-26T15:56:09.218228-04:00",
      "GuestName": "sample string 10",
      "PortalId": "sample string 11"
    }
  ],
  "CarBookings": [
    {
      "ParentTid": "sample string 1",
      "BookingGUID": "sample string 1",
      "BookingNumber": 2,
      "PickUpCity": "sample string 3",
      "DropOfCity": "sample string 4",
      "CarName": "sample string 5",
      "Email": "sample string 6",
      "PickUpDate": "2018-05-26T15:56:09.218228-04:00",
      "PaxName": "sample string 8",
      "BookedOn": "2018-05-26T15:56:09.218228-04:00",
      "PortalId": "sample string 10"
    },
    {
      "ParentTid": "sample string 1",
      "BookingGUID": "sample string 1",
      "BookingNumber": 2,
      "PickUpCity": "sample string 3",
      "DropOfCity": "sample string 4",
      "CarName": "sample string 5",
      "Email": "sample string 6",
      "PickUpDate": "2018-05-26T15:56:09.218228-04:00",
      "PaxName": "sample string 8",
      "BookedOn": "2018-05-26T15:56:09.218228-04:00",
      "PortalId": "sample string 10"
    }
  ],
  "ErrorCode": "sample string 1",
  "ErrorAtNode": "sample string 2"
}

text/html

Sample:
{"FlightBookings":[{"bookingGuid":"sample string 10","ParentTid":"sample string 1","BookingNumber":1,"PNR":"sample string 2","FromCity":"sample string 3","ToCity":"sample string 4","AirlineName":"sample string 5","BookedOn":"2018-05-26T15:56:09.218228-04:00","DepartureDateTime":"2018-05-26T15:56:09.218228-04:00","Email":"sample string 8","TravellerName":"sample string 9","PortalId":"sample string 11"},{"bookingGuid":"sample string 10","ParentTid":"sample string 1","BookingNumber":1,"PNR":"sample string 2","FromCity":"sample string 3","ToCity":"sample string 4","AirlineName":"sample string 5","BookedOn":"2018-05-26T15:56:09.218228-04:00","DepartureDateTime":"2018-05-26T15:56:09.218228-04:00","Email":"sample string 8","TravellerName":"sample string 9","PortalId":"sample string 11"}],"HotelBookings":[{"ParentTid":"sample string 1","BookingNumber":1,"BookingGUID":"sample string 2","PNR":"sample string 3","CityName":"sample string 4","HotelName":"sample string 5","Email":"sample string 6","BookedOn":"2018-05-26T15:56:09.218228-04:00","CheckInDate":"2018-05-26T15:56:09.218228-04:00","CheckOutDate":"2018-05-26T15:56:09.218228-04:00","GuestName":"sample string 10","PortalId":"sample string 11"},{"ParentTid":"sample string 1","BookingNumber":1,"BookingGUID":"sample string 2","PNR":"sample string 3","CityName":"sample string 4","HotelName":"sample string 5","Email":"sample string 6","BookedOn":"2018-05-26T15:56:09.218228-04:00","CheckInDate":"2018-05-26T15:56:09.218228-04:00","CheckOutDate":"2018-05-26T15:56:09.218228-04:00","GuestName":"sample string 10","PortalId":"sample string 11"}],"CarBookings":[{"ParentTid":"sample string 1","BookingGUID":"sample string 1","BookingNumber":2,"PickUpCity":"sample string 3","DropOfCity":"sample string 4","CarName":"sample string 5","Email":"sample string 6","PickUpDate":"2018-05-26T15:56:09.218228-04:00","PaxName":"sample string 8","BookedOn":"2018-05-26T15:56:09.218228-04:00","PortalId":"sample string 10"},{"ParentTid":"sample string 1","BookingGUID":"sample string 1","BookingNumber":2,"PickUpCity":"sample string 3","DropOfCity":"sample string 4","CarName":"sample string 5","Email":"sample string 6","PickUpDate":"2018-05-26T15:56:09.218228-04:00","PaxName":"sample string 8","BookedOn":"2018-05-26T15:56:09.218228-04:00","PortalId":"sample string 10"}],"ErrorCode":"sample string 1","ErrorAtNode":"sample string 2"}

application/xml, text/xml

Sample:
<FPLatestBookingsRS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FPWebBox.BusinessObjects">
  <CarBookings>
    <CarBooking>
      <BookedOn>2018-05-26T15:56:09.218228-04:00</BookedOn>
      <BookingGUID>sample string 1</BookingGUID>
      <BookingNumber>2</BookingNumber>
      <CarName>sample string 5</CarName>
      <DropOfCity>sample string 4</DropOfCity>
      <Email>sample string 6</Email>
      <ParentTid>sample string 1</ParentTid>
      <PaxName>sample string 8</PaxName>
      <PickUpCity>sample string 3</PickUpCity>
      <PickUpDate>2018-05-26T15:56:09.218228-04:00</PickUpDate>
      <PortalId>sample string 10</PortalId>
    </CarBooking>
    <CarBooking>
      <BookedOn>2018-05-26T15:56:09.218228-04:00</BookedOn>
      <BookingGUID>sample string 1</BookingGUID>
      <BookingNumber>2</BookingNumber>
      <CarName>sample string 5</CarName>
      <DropOfCity>sample string 4</DropOfCity>
      <Email>sample string 6</Email>
      <ParentTid>sample string 1</ParentTid>
      <PaxName>sample string 8</PaxName>
      <PickUpCity>sample string 3</PickUpCity>
      <PickUpDate>2018-05-26T15:56:09.218228-04:00</PickUpDate>
      <PortalId>sample string 10</PortalId>
    </CarBooking>
  </CarBookings>
  <ErrorAtNode>sample string 2</ErrorAtNode>
  <ErrorCode>sample string 1</ErrorCode>
  <FlightBookings>
    <FlightBooking>
      <AirlineName>sample string 5</AirlineName>
      <BookedOn>2018-05-26T15:56:09.218228-04:00</BookedOn>
      <BookingNumber>1</BookingNumber>
      <DepartureDateTime>2018-05-26T15:56:09.218228-04:00</DepartureDateTime>
      <Email>sample string 8</Email>
      <FromCity>sample string 3</FromCity>
      <PNR>sample string 2</PNR>
      <ParentTid>sample string 1</ParentTid>
      <PortalId>sample string 11</PortalId>
      <ToCity>sample string 4</ToCity>
      <TravellerName>sample string 9</TravellerName>
      <bookingGuid>sample string 10</bookingGuid>
    </FlightBooking>
    <FlightBooking>
      <AirlineName>sample string 5</AirlineName>
      <BookedOn>2018-05-26T15:56:09.218228-04:00</BookedOn>
      <BookingNumber>1</BookingNumber>
      <DepartureDateTime>2018-05-26T15:56:09.218228-04:00</DepartureDateTime>
      <Email>sample string 8</Email>
      <FromCity>sample string 3</FromCity>
      <PNR>sample string 2</PNR>
      <ParentTid>sample string 1</ParentTid>
      <PortalId>sample string 11</PortalId>
      <ToCity>sample string 4</ToCity>
      <TravellerName>sample string 9</TravellerName>
      <bookingGuid>sample string 10</bookingGuid>
    </FlightBooking>
  </FlightBookings>
  <HotelBookings>
    <HotelBooking>
      <BookedOn>2018-05-26T15:56:09.218228-04:00</BookedOn>
      <BookingGUID>sample string 2</BookingGUID>
      <BookingNumber>1</BookingNumber>
      <CheckInDate>2018-05-26T15:56:09.218228-04:00</CheckInDate>
      <CheckOutDate>2018-05-26T15:56:09.218228-04:00</CheckOutDate>
      <CityName>sample string 4</CityName>
      <Email>sample string 6</Email>
      <GuestName>sample string 10</GuestName>
      <HotelName>sample string 5</HotelName>
      <PNR>sample string 3</PNR>
      <ParentTid>sample string 1</ParentTid>
      <PortalId>sample string 11</PortalId>
    </HotelBooking>
    <HotelBooking>
      <BookedOn>2018-05-26T15:56:09.218228-04:00</BookedOn>
      <BookingGUID>sample string 2</BookingGUID>
      <BookingNumber>1</BookingNumber>
      <CheckInDate>2018-05-26T15:56:09.218228-04:00</CheckInDate>
      <CheckOutDate>2018-05-26T15:56:09.218228-04:00</CheckOutDate>
      <CityName>sample string 4</CityName>
      <Email>sample string 6</Email>
      <GuestName>sample string 10</GuestName>
      <HotelName>sample string 5</HotelName>
      <PNR>sample string 3</PNR>
      <ParentTid>sample string 1</ParentTid>
      <PortalId>sample string 11</PortalId>
    </HotelBooking>
  </HotelBookings>
</FPLatestBookingsRS>