saber汽车新书API EnhancedVehBookRQ

sabre car new bookAPI EnhancedVehBookRQ

我试图用 CERT ENV 调用 EnhancedVehBookRQ API 这是我的要求和回应

请求:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sec="http://schemas.xmlsoap.org/ws/2002/12/secext" >
        <soapenv:Header>
            <Security xmlns="http://schemas.xmlsoap.org/ws/2002/12/secext">
                <BinarySecurityToken>
                token
                </BinarySecurityToken>
            </Security>
            <MessageHeader xmlns="http://www.ebxml.org/namespaces/messageHeader">
                <From>
                    <PartyId type="urn:x12.org:IO5:01">from</PartyId>
                </From>
                <To>
                    <PartyId type="urn:x12.org:IO5:01">to</PartyId>
                </To>
                <CPAId>hiddendata
                </CPAId>
                <ConversationId>hiddendata</ConversationId>
                <Action>EnhancedVehBookRQ</Action>
                <MessageData>
                    <MessageId>1001</MessageId>
                    <Timestamp>2021-08-18T10:00:01</Timestamp>
                    <!--Optional:-->
                    <TimeToLive>2021-08-19T10:00:01</TimeToLive>
                    <!--Optional:-->
                    <Timeout>0</Timeout>
                </MessageData>
            </MessageHeader>
        </soapenv:Header>
        <soapenv:Body>
            <EnhancedVehBookRQ xmlns="http://services.sabre.com/sp/enhanced/veh/book/v1" version="1.0.0">
                <VehBook>
                    <BookingInfo >
                        <BookingKey>23accd05-4770-4d1c-a286-ab0e6f360fc5
                    </BookingKey>
                    </BookingInfo>
                    <Customer NameNumber="1.1">
                        <Address>
                            <CityName>DALLAS</CityName>
                            <CountryCode>US</CountryCode>
                            <PostalCode>12345</PostalCode>
                            <StateCountyProv StateCode="TX" />
                            <StreetNmbr>1234 TEST ADDRESS</StreetNmbr>
                        </Address>
                    </Customer>
                    <RentalPaymentPrefs>
                        <GuaranteePrepaid Type="GUARANTEE">
                            <PaymentCard>
                                <CardCode>DC</CardCode>
                                <CardNumber>311234567685619</CardNumber>
                                <ExpiryMonth>12</ExpiryMonth>
                                <ExpiryYear>2022</ExpiryYear>
                                <FullCardHolderName>
                                    <LastName>Monster</LastName>
                                </FullCardHolderName>
                            </PaymentCard>
                        </GuaranteePrepaid>
                    </RentalPaymentPrefs>
                    <VehRentalCore Quantity="1" />
                </VehBook>
            </EnhancedVehBookRQ>
        </soapenv:Body>
    </soapenv:Envelope>

我无法继续预订汽车,出现这样的错误

<Message code="ERR.SP.INTERNAL_ERROR">TravelItineraryReadRQ: After maximum retry count it was not possible to successfully execute target service</Message>

任何人都可以确认 SOAP 请求是否正确或者我遗漏了一些东西

是的,在 运行ning EnhancedVehBookRQ API 之前,您需要 运行 PassengerDetailsRQ TravelIntinerary 详情在里面。在此 API 成功后,使用此 API 请求的响应详细信息,然后 运行 it