POST api/PostBook/GetPriceQuoteForAdditionalServices

Request Information

URI Parameters

None.

Body Parameters

FPAdditionalServicesPriceQuoteRQ
NameDescriptionTypeAdditional information
BookingGUID

string

None.

TravelerServices

Collection of TravellerAssistanceServiceType

None.

MethodVersion

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BookingGUID": "sample string 1",
  "TravelerServices": [
    10,
    10
  ],
  "MethodVersion": "sample string 2"
}

text/html

Sample:
{"BookingGUID":"sample string 1","TravelerServices":[10,10],"MethodVersion":"sample string 2"}

application/xml, text/xml

Sample:
<FPAdditionalServicesPriceQuoteRQ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FPWebBox.BusinessObjects.AdditionalServices">
  <BookingGUID>sample string 1</BookingGUID>
  <MethodVersion>sample string 2</MethodVersion>
  <SoapHeader xmlns:d2p1="http://schemas.datacontract.org/2004/07/FPWebBox.BusinessObjects">
    <d2p1:Password>sample string 2</d2p1:Password>
    <d2p1:UserName>sample string 1</d2p1:UserName>
  </SoapHeader>
  <TravelerServices xmlns:d2p1="http://schemas.datacontract.org/2004/07/FPWebBox.Utility">
    <d2p1:TravellerAssistanceServiceType>INSURANCE</d2p1:TravellerAssistanceServiceType>
    <d2p1:TravellerAssistanceServiceType>INSURANCE</d2p1:TravellerAssistanceServiceType>
  </TravelerServices>
</FPAdditionalServicesPriceQuoteRQ>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

FPAdditionalServicesPriceQuoteRS
NameDescriptionTypeAdditional information
ErrorCode

string

None.

ErrorAtNode

string

None.

ServiceWisePriceDetails

Collection of ServicePriceDetails

None.

PaymentDetail

FPPostBookingCardDetail

None.

Response Formats

application/json, text/json

Sample:
{
  "ErrorCode": "sample string 1",
  "ErrorAtNode": "sample string 2",
  "ServiceWisePriceDetails": [
    {
      "TravelerService": 10,
      "ServicePrice": 1.1
    },
    {
      "TravelerService": 10,
      "ServicePrice": 1.1
    }
  ],
  "PaymentDetail": {
    "CardHolderName": "sample string 1",
    "CardNumber": "sample string 2",
    "ExpirationDate": "2018-07-17T05:44:17.3505069-04:00"
  }
}

text/html

Sample:
{"ErrorCode":"sample string 1","ErrorAtNode":"sample string 2","ServiceWisePriceDetails":[{"TravelerService":10,"ServicePrice":1.1},{"TravelerService":10,"ServicePrice":1.1}],"PaymentDetail":{"CardHolderName":"sample string 1","CardNumber":"sample string 2","ExpirationDate":"2018-07-17T05:44:17.3505069-04:00"}}

application/xml, text/xml

Sample:
<FPAdditionalServicesPriceQuoteRS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FPWebBox.BusinessObjects.AdditionalServices">
  <ErrorAtNode>sample string 2</ErrorAtNode>
  <ErrorCode>sample string 1</ErrorCode>
  <PaymentDetail>
    <CardHolderName>sample string 1</CardHolderName>
    <CardNumber>sample string 2</CardNumber>
    <ExpirationDate>2018-07-17T05:44:17.3505069-04:00</ExpirationDate>
  </PaymentDetail>
  <ServiceWisePriceDetails>
    <ServicePriceDetails>
      <ServicePrice>1.1</ServicePrice>
      <TravelerService>INSURANCE</TravelerService>
    </ServicePriceDetails>
    <ServicePriceDetails>
      <ServicePrice>1.1</ServicePrice>
      <TravelerService>INSURANCE</TravelerService>
    </ServicePriceDetails>
  </ServiceWisePriceDetails>
</FPAdditionalServicesPriceQuoteRS>