如何在GetReservationRS中获得服务价格

时间:2019-06-16 11:14:27

标签: sabre

I have booked a valid available service through Sabre PassengerDetailsRS and booking was successful. But in the GetReservationRS, price of the service is missing. How can we get that price. My GetReservationRQ was as below

    <?xml version="1.0" encoding="UTF-8"?>
<ns7:GetReservationRQ xmlns:ns7="http://webservices.sabre.com/pnrbuilder/v1_19" Version="1.19.0">
  <ns7:Locator>*pnr_number</ns7:Locator>
  <ns7:RequestType>Stateful</ns7:RequestType>
  <ns7:ReturnOptions PriceQuoteServiceVersion="3.2.0">
    <ns7:SubjectAreas>
      <ns7:SubjectArea>PRICE_QUOTE</ns7:SubjectArea>
    </ns7:SubjectAreas>
    <ns7:ViewName>Full</ns7:ViewName>
    <ns7:ResponseFormat>STL</ns7:ResponseFormat>
  </ns7:ReturnOptions>
</ns7:GetReservationRQ>
</soapenv:Body>


And in the response, that service is present which I booked in the booking step. But there is no pricing reference for that service, only the flight total price is present which is service excluded price

  ...                     /运动公司         WEAP BA NN1 LHRZRH0720N11AUG /运动鞋                                                                                                           一世                 BA                                    110.59                                  2019-06-16T13:03:00                                               。 。 。                    

How can I get the price of ode="WEAP" (<or114:FreeText>/SPORTING FIREARMS</or114:FreeText>)

3 个答案:

答案 0 :(得分:0)

您必须在GetReservationRQ中添加ReturnOptions-> SubjectArea-> PRICE_QUOTE

    e.g:
    <ReturnOptions PriceQuoteServiceVersion="3.2.0">
            <SubjectAreas>
                <SubjectArea>PRICE_QUOTE</SubjectArea>
            </SubjectAreas>
    </ReturnOptions>

for more details please have a look at below URL (Sabre Documentation)

`https://beta.developer.sabre.com/docs/soap_apis/management/itinerary`/Retrieve_Itinerary

答案 1 :(得分:0)

答案 2 :(得分:0)

由于这是大多数航空公司的加价促销,因此属于附属服务-因此,为它们定价,您应该使用:GetAncillaryOffersRQ