POST api/Book/BookingDetails

Request Information

URI Parameters

None.

Body Parameters

FPBookingDetailsRQ
NameDescriptionTypeAdditional information
BookingDetailsRequest

BookingDetailsRQ

None.

SoapAuthentication

SoapAuthentication

None.

Request Formats

application/json, text/json

Sample:
{
  "BookingDetailsRequest": {
    "BookingNumber": 1,
    "PNR": "sample string 2",
    "BookingGUID": "sample string 1"
  },
  "SoapAuthentication": {
    "UserName": "sample string 1",
    "Password": "sample string 2"
  }
}

text/html

Sample:
{"BookingDetailsRequest":{"BookingNumber":1,"PNR":"sample string 2","BookingGUID":"sample string 1"},"SoapAuthentication":{"UserName":"sample string 1","Password":"sample string 2"}}

application/xml, text/xml

Sample:
<FPBookingDetailsRQ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FPWebBox.BusinessObjects">
  <BookingDetailsRequest>
    <BookingGUID>sample string 1</BookingGUID>
    <BookingNumber>1</BookingNumber>
    <PNR>sample string 2</PNR>
  </BookingDetailsRequest>
  <SoapAuthentication>
    <Password>sample string 2</Password>
    <UserName>sample string 1</UserName>
  </SoapAuthentication>
</FPBookingDetailsRQ>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BookingDetailsRS
NameDescriptionTypeAdditional information
BookingNumber

integer

None.

PNR

string

None.

BookingStatus

string

None.

BookedOn

date

None.

TicketExpireTime

date

None.

TicketedOn

date

None.

Travelers

Collection of Traveler

None.

Flights

Collection of Flight

None.

PaymentDetails

BookingPrice

None.

TotalAmount

decimal number

None.

PaidAmount

decimal number

None.

InsuranceAmount

decimal number

None.

CouponDiscountAmount

decimal number

None.

TravelAssistAmount

decimal number

None.

TicketType

string

None.

Address

string

None.

City

string

None.

State

string

None.

Country

string

None.

Zip

string

None.

Email

string

None.

ContactNumber

string

None.

BookedCurrency

string

None.

DisplayCurrency

string

None.

DisplayConversionRate

string

None.

LastMinumteBooking

boolean

None.

LMFAmountPayable

decimal number

None.

EngineID

integer

None.

TripType

FlightTripType

None.

ErrorCode

string

None.

ErrorAtNode

string

None.

AirBookingGUID

string

None.

CurrencyFromProvider

string

None.

CurrencyFromProviderConversionratio

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "BookingNumber": 1,
  "PNR": "sample string 2",
  "BookingStatus": "sample string 3",
  "BookedOn": "2018-02-25T12:46:08.9481731-05:00",
  "TicketExpireTime": "2018-02-25T12:46:08.9481731-05:00",
  "TicketedOn": "2018-02-25T12:46:08.9481731-05:00",
  "Travelers": [
    {
      "PaxOrder": 64,
      "PaxType": 0,
      "BirthDate": "2018-02-25T12:46:08.9481731-05:00",
      "Title": "sample string 3",
      "FirstName": "sample string 4",
      "MiddleInitial": "sample string 5",
      "LastName": "sample string 6",
      "TicketNumber": "sample string 7",
      "FreqFlightNo": "sample string 8",
      "SeatPreference": 0,
      "MealPreference": 0,
      "SpecialRequest": 0,
      "Gender": 0,
      "TSARedressNumber": "sample string 9",
      "AssociatedOrderID": 10,
      "PassportDetail": {
        "Number": "sample string 1",
        "IssueDate": "2018-02-25T12:46:08.9481731-05:00",
        "ExpirationDate": "2018-02-25T12:46:08.9481731-05:00",
        "IssuingCity": "sample string 4",
        "IssuingCounty": "sample string 5"
      }
    },
    {
      "PaxOrder": 64,
      "PaxType": 0,
      "BirthDate": "2018-02-25T12:46:08.9481731-05:00",
      "Title": "sample string 3",
      "FirstName": "sample string 4",
      "MiddleInitial": "sample string 5",
      "LastName": "sample string 6",
      "TicketNumber": "sample string 7",
      "FreqFlightNo": "sample string 8",
      "SeatPreference": 0,
      "MealPreference": 0,
      "SpecialRequest": 0,
      "Gender": 0,
      "TSARedressNumber": "sample string 9",
      "AssociatedOrderID": 10,
      "PassportDetail": {
        "Number": "sample string 1",
        "IssueDate": "2018-02-25T12:46:08.9481731-05:00",
        "ExpirationDate": "2018-02-25T12:46:08.9481731-05:00",
        "IssuingCity": "sample string 4",
        "IssuingCounty": "sample string 5"
      }
    }
  ],
  "Flights": [
    {
      "FlightNumber": "sample string 1",
      "AirlineName": "sample string 2",
      "ConfirmationNumber": "sample string 3",
      "SourceCity": "sample string 4",
      "SourceCityName": "sample string 5",
      "DestinationCity": "sample string 6",
      "DestinationCityName": "sample string 7",
      "DepartureTime": "sample string 8",
      "ArrivalTime": "sample string 9",
      "Cabin": "sample string 10",
      "Class": "sample string 11",
      "Equipment": "sample string 12",
      "OperatedBy": "sample string 13",
      "BoundType": 64,
      "Duration": "sample string 15",
      "FDType": "sample string 16",
      "Stops": 64,
      "BaggageInfo": true
    },
    {
      "FlightNumber": "sample string 1",
      "AirlineName": "sample string 2",
      "ConfirmationNumber": "sample string 3",
      "SourceCity": "sample string 4",
      "SourceCityName": "sample string 5",
      "DestinationCity": "sample string 6",
      "DestinationCityName": "sample string 7",
      "DepartureTime": "sample string 8",
      "ArrivalTime": "sample string 9",
      "Cabin": "sample string 10",
      "Class": "sample string 11",
      "Equipment": "sample string 12",
      "OperatedBy": "sample string 13",
      "BoundType": 64,
      "Duration": "sample string 15",
      "FDType": "sample string 16",
      "Stops": 64,
      "BaggageInfo": true
    }
  ],
  "PaymentDetails": {
    "AdultFare": {
      "BasePrice": 1.1,
      "TaxandFee": 2.1,
      "TotalPrice": 3.1
    },
    "SeniorFare": {
      "BasePrice": 1.1,
      "TaxandFee": 2.1,
      "TotalPrice": 3.1
    },
    "ChildFare": {
      "BasePrice": 1.1,
      "TaxandFee": 2.1,
      "TotalPrice": 3.1
    },
    "InfantOnSeatFare": {
      "BasePrice": 1.1,
      "TaxandFee": 2.1,
      "TotalPrice": 3.1
    },
    "InantInLapFare": {
      "BasePrice": 1.1,
      "TaxandFee": 2.1,
      "TotalPrice": 3.1
    },
    "YouthFare": {
      "BasePrice": 1.1,
      "TaxandFee": 2.1,
      "TotalPrice": 3.1
    },
    "KidFare": {
      "BasePrice": 1.1,
      "TaxandFee": 2.1,
      "TotalPrice": 3.1
    }
  },
  "TotalAmount": 7.1,
  "PaidAmount": 8.1,
  "InsuranceAmount": 9.1,
  "CouponDiscountAmount": 10.1,
  "TravelAssistAmount": 11.1,
  "TicketType": "sample string 12",
  "Address": "sample string 13",
  "City": "sample string 14",
  "State": "sample string 15",
  "Country": "sample string 16",
  "Zip": "sample string 17",
  "Email": "sample string 18",
  "ContactNumber": "sample string 19",
  "BookedCurrency": "sample string 20",
  "DisplayCurrency": "sample string 21",
  "DisplayConversionRate": "sample string 22",
  "LastMinumteBooking": true,
  "LMFAmountPayable": 24.1,
  "EngineID": 25,
  "TripType": 0,
  "ErrorCode": "sample string 26",
  "ErrorAtNode": "sample string 27",
  "AirBookingGUID": "sample string 28",
  "CurrencyFromProvider": "sample string 29",
  "CurrencyFromProviderConversionratio": 30.1
}

text/html

Sample:
{"BookingNumber":1,"PNR":"sample string 2","BookingStatus":"sample string 3","BookedOn":"2018-02-25T12:46:08.9481731-05:00","TicketExpireTime":"2018-02-25T12:46:08.9481731-05:00","TicketedOn":"2018-02-25T12:46:08.9481731-05:00","Travelers":[{"PaxOrder":64,"PaxType":0,"BirthDate":"2018-02-25T12:46:08.9481731-05:00","Title":"sample string 3","FirstName":"sample string 4","MiddleInitial":"sample string 5","LastName":"sample string 6","TicketNumber":"sample string 7","FreqFlightNo":"sample string 8","SeatPreference":0,"MealPreference":0,"SpecialRequest":0,"Gender":0,"TSARedressNumber":"sample string 9","AssociatedOrderID":10,"PassportDetail":{"Number":"sample string 1","IssueDate":"2018-02-25T12:46:08.9481731-05:00","ExpirationDate":"2018-02-25T12:46:08.9481731-05:00","IssuingCity":"sample string 4","IssuingCounty":"sample string 5"}},{"PaxOrder":64,"PaxType":0,"BirthDate":"2018-02-25T12:46:08.9481731-05:00","Title":"sample string 3","FirstName":"sample string 4","MiddleInitial":"sample string 5","LastName":"sample string 6","TicketNumber":"sample string 7","FreqFlightNo":"sample string 8","SeatPreference":0,"MealPreference":0,"SpecialRequest":0,"Gender":0,"TSARedressNumber":"sample string 9","AssociatedOrderID":10,"PassportDetail":{"Number":"sample string 1","IssueDate":"2018-02-25T12:46:08.9481731-05:00","ExpirationDate":"2018-02-25T12:46:08.9481731-05:00","IssuingCity":"sample string 4","IssuingCounty":"sample string 5"}}],"Flights":[{"FlightNumber":"sample string 1","AirlineName":"sample string 2","ConfirmationNumber":"sample string 3","SourceCity":"sample string 4","SourceCityName":"sample string 5","DestinationCity":"sample string 6","DestinationCityName":"sample string 7","DepartureTime":"sample string 8","ArrivalTime":"sample string 9","Cabin":"sample string 10","Class":"sample string 11","Equipment":"sample string 12","OperatedBy":"sample string 13","BoundType":64,"Duration":"sample string 15","FDType":"sample string 16","Stops":64,"BaggageInfo":true},{"FlightNumber":"sample string 1","AirlineName":"sample string 2","ConfirmationNumber":"sample string 3","SourceCity":"sample string 4","SourceCityName":"sample string 5","DestinationCity":"sample string 6","DestinationCityName":"sample string 7","DepartureTime":"sample string 8","ArrivalTime":"sample string 9","Cabin":"sample string 10","Class":"sample string 11","Equipment":"sample string 12","OperatedBy":"sample string 13","BoundType":64,"Duration":"sample string 15","FDType":"sample string 16","Stops":64,"BaggageInfo":true}],"PaymentDetails":{"AdultFare":{"BasePrice":1.1,"TaxandFee":2.1,"TotalPrice":3.1},"SeniorFare":{"BasePrice":1.1,"TaxandFee":2.1,"TotalPrice":3.1},"ChildFare":{"BasePrice":1.1,"TaxandFee":2.1,"TotalPrice":3.1},"InfantOnSeatFare":{"BasePrice":1.1,"TaxandFee":2.1,"TotalPrice":3.1},"InantInLapFare":{"BasePrice":1.1,"TaxandFee":2.1,"TotalPrice":3.1},"YouthFare":{"BasePrice":1.1,"TaxandFee":2.1,"TotalPrice":3.1},"KidFare":{"BasePrice":1.1,"TaxandFee":2.1,"TotalPrice":3.1}},"TotalAmount":7.1,"PaidAmount":8.1,"InsuranceAmount":9.1,"CouponDiscountAmount":10.1,"TravelAssistAmount":11.1,"TicketType":"sample string 12","Address":"sample string 13","City":"sample string 14","State":"sample string 15","Country":"sample string 16","Zip":"sample string 17","Email":"sample string 18","ContactNumber":"sample string 19","BookedCurrency":"sample string 20","DisplayCurrency":"sample string 21","DisplayConversionRate":"sample string 22","LastMinumteBooking":true,"LMFAmountPayable":24.1,"EngineID":25,"TripType":0,"ErrorCode":"sample string 26","ErrorAtNode":"sample string 27","AirBookingGUID":"sample string 28","CurrencyFromProvider":"sample string 29","CurrencyFromProviderConversionratio":30.1}

application/xml, text/xml

Sample:
<BookingDetailsRS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FPWebBox.BusinessObjects">
  <Address>sample string 13</Address>
  <AirBookingGUID>sample string 28</AirBookingGUID>
  <BookedCurrency>sample string 20</BookedCurrency>
  <BookedOn>2018-02-25T12:46:08.9481731-05:00</BookedOn>
  <BookingNumber>1</BookingNumber>
  <BookingStatus>sample string 3</BookingStatus>
  <City>sample string 14</City>
  <ContactNumber>sample string 19</ContactNumber>
  <Country>sample string 16</Country>
  <CouponDiscountAmount>10.1</CouponDiscountAmount>
  <CurrencyFromProvider>sample string 29</CurrencyFromProvider>
  <CurrencyFromProviderConversionratio>30.1</CurrencyFromProviderConversionratio>
  <DisplayConversionRate>sample string 22</DisplayConversionRate>
  <DisplayCurrency>sample string 21</DisplayCurrency>
  <Email>sample string 18</Email>
  <EngineID>25</EngineID>
  <ErrorAtNode>sample string 27</ErrorAtNode>
  <ErrorCode>sample string 26</ErrorCode>
  <Flights>
    <Flight>
      <AirlineName>sample string 2</AirlineName>
      <ArrivalTime>sample string 9</ArrivalTime>
      <BaggageInfo>true</BaggageInfo>
      <BoundType>64</BoundType>
      <Cabin>sample string 10</Cabin>
      <Class>sample string 11</Class>
      <ConfirmationNumber>sample string 3</ConfirmationNumber>
      <DepartureTime>sample string 8</DepartureTime>
      <DestinationCity>sample string 6</DestinationCity>
      <DestinationCityName>sample string 7</DestinationCityName>
      <Duration>sample string 15</Duration>
      <Equipment>sample string 12</Equipment>
      <FDType>sample string 16</FDType>
      <FlightNumber>sample string 1</FlightNumber>
      <OperatedBy>sample string 13</OperatedBy>
      <SourceCity>sample string 4</SourceCity>
      <SourceCityName>sample string 5</SourceCityName>
      <Stops>64</Stops>
    </Flight>
    <Flight>
      <AirlineName>sample string 2</AirlineName>
      <ArrivalTime>sample string 9</ArrivalTime>
      <BaggageInfo>true</BaggageInfo>
      <BoundType>64</BoundType>
      <Cabin>sample string 10</Cabin>
      <Class>sample string 11</Class>
      <ConfirmationNumber>sample string 3</ConfirmationNumber>
      <DepartureTime>sample string 8</DepartureTime>
      <DestinationCity>sample string 6</DestinationCity>
      <DestinationCityName>sample string 7</DestinationCityName>
      <Duration>sample string 15</Duration>
      <Equipment>sample string 12</Equipment>
      <FDType>sample string 16</FDType>
      <FlightNumber>sample string 1</FlightNumber>
      <OperatedBy>sample string 13</OperatedBy>
      <SourceCity>sample string 4</SourceCity>
      <SourceCityName>sample string 5</SourceCityName>
      <Stops>64</Stops>
    </Flight>
  </Flights>
  <InsuranceAmount>9.1</InsuranceAmount>
  <LMFAmountPayable>24.1</LMFAmountPayable>
  <LastMinumteBooking>true</LastMinumteBooking>
  <PNR>sample string 2</PNR>
  <PaidAmount>8.1</PaidAmount>
  <PaymentDetails>
    <AdultFare>
      <BasePrice>1.1</BasePrice>
      <TaxandFee>2.1</TaxandFee>
      <TotalPrice>3.1</TotalPrice>
    </AdultFare>
    <ChildFare>
      <BasePrice>1.1</BasePrice>
      <TaxandFee>2.1</TaxandFee>
      <TotalPrice>3.1</TotalPrice>
    </ChildFare>
    <InantInLapFare>
      <BasePrice>1.1</BasePrice>
      <TaxandFee>2.1</TaxandFee>
      <TotalPrice>3.1</TotalPrice>
    </InantInLapFare>
    <InfantOnSeatFare>
      <BasePrice>1.1</BasePrice>
      <TaxandFee>2.1</TaxandFee>
      <TotalPrice>3.1</TotalPrice>
    </InfantOnSeatFare>
    <KidFare>
      <BasePrice>1.1</BasePrice>
      <TaxandFee>2.1</TaxandFee>
      <TotalPrice>3.1</TotalPrice>
    </KidFare>
    <SeniorFare>
      <BasePrice>1.1</BasePrice>
      <TaxandFee>2.1</TaxandFee>
      <TotalPrice>3.1</TotalPrice>
    </SeniorFare>
    <YouthFare>
      <BasePrice>1.1</BasePrice>
      <TaxandFee>2.1</TaxandFee>
      <TotalPrice>3.1</TotalPrice>
    </YouthFare>
  </PaymentDetails>
  <State>sample string 15</State>
  <TicketExpireTime>2018-02-25T12:46:08.9481731-05:00</TicketExpireTime>
  <TicketType>sample string 12</TicketType>
  <TicketedOn>2018-02-25T12:46:08.9481731-05:00</TicketedOn>
  <TotalAmount>7.1</TotalAmount>
  <TravelAssistAmount>11.1</TravelAssistAmount>
  <Travelers>
    <Traveler>
      <AssociatedOrderID>10</AssociatedOrderID>
      <BirthDate>2018-02-25T12:46:08.9481731-05:00</BirthDate>
      <FirstName>sample string 4</FirstName>
      <FreqFlightNo>sample string 8</FreqFlightNo>
      <Gender>NONE</Gender>
      <LastName>sample string 6</LastName>
      <MealPreference>NOMEALSERVICENEEDED</MealPreference>
      <MiddleInitial>sample string 5</MiddleInitial>
      <PassportDetail>
        <ExpirationDate>2018-02-25T12:46:08.9481731-05:00</ExpirationDate>
        <IssueDate>2018-02-25T12:46:08.9481731-05:00</IssueDate>
        <IssuingCity>sample string 4</IssuingCity>
        <IssuingCounty>sample string 5</IssuingCounty>
        <Number>sample string 1</Number>
      </PassportDetail>
      <PaxOrder>64</PaxOrder>
      <PaxType>ADULT</PaxType>
      <SeatPreference>ANY</SeatPreference>
      <SpecialRequest>NOSPECIALSERVICENEEDED</SpecialRequest>
      <TSARedressNumber>sample string 9</TSARedressNumber>
      <TicketNumber>sample string 7</TicketNumber>
      <Title>sample string 3</Title>
    </Traveler>
    <Traveler>
      <AssociatedOrderID>10</AssociatedOrderID>
      <BirthDate>2018-02-25T12:46:08.9481731-05:00</BirthDate>
      <FirstName>sample string 4</FirstName>
      <FreqFlightNo>sample string 8</FreqFlightNo>
      <Gender>NONE</Gender>
      <LastName>sample string 6</LastName>
      <MealPreference>NOMEALSERVICENEEDED</MealPreference>
      <MiddleInitial>sample string 5</MiddleInitial>
      <PassportDetail>
        <ExpirationDate>2018-02-25T12:46:08.9481731-05:00</ExpirationDate>
        <IssueDate>2018-02-25T12:46:08.9481731-05:00</IssueDate>
        <IssuingCity>sample string 4</IssuingCity>
        <IssuingCounty>sample string 5</IssuingCounty>
        <Number>sample string 1</Number>
      </PassportDetail>
      <PaxOrder>64</PaxOrder>
      <PaxType>ADULT</PaxType>
      <SeatPreference>ANY</SeatPreference>
      <SpecialRequest>NOSPECIALSERVICENEEDED</SpecialRequest>
      <TSARedressNumber>sample string 9</TSARedressNumber>
      <TicketNumber>sample string 7</TicketNumber>
      <Title>sample string 3</Title>
    </Traveler>
  </Travelers>
  <TripType>ONEWAYTRIP</TripType>
  <Zip>sample string 17</Zip>
</BookingDetailsRS>