Skip to main content

COMMIT

Method DestServicesCommitV2

This method is to commit the booking

{YOUR.PROVIDER.DOMAIN}/destservices/destservices.asmx?op=DestServicesCommitV2

General data that should be obtained from the DestServicesBookV2Response

Node definition Request

NodeAttributeData TypeDescriptionValueMandatory
objRequestPrimaryLangIDStringLanguage codeLANGUAGERequired
objRequestEchoTokenIntegerThis value is returned in the response of the method DestServicesBookV2Required
objRequestTransactionIdentifierStringThis value is returned in the response of the method DestServicesBookV2 and represents the locator of the bookingRequired
objRequestClientReferenceStringIn this attribute you can put your booking locator or any reference for the bookingOptional
objRequest\InternalNotesStringInternal notes of the bookingOptional
objRequest\TransferAddressOriginNameStringName of the origin locationOptional
objRequest\TransferAddressOriginAddressStringAddress of the origin locationOptional
objRequest\TransferAddressOriginAddress2StringAdditional address info of the originOptional
objRequest\TransferAddressOriginPostalCodeStringPostal code of the origin locationOptional
objRequest\TransferAddressDestinationNameStringName of the destination locationOptional
objRequest\TransferAddressDestinationAddressStringAddress of the destination locationOptional
objRequest\TransferAddressDestinationAddress2StringAdditional address info of the destinationOptional
objRequest\TransferAddressDestinationPostalCodeStringPostal code of the destination locationOptional
objRequest\ConceptsArrayArray of the concepts of the bookingRequired
objRequest\Concepts\CommitRequestV2Concept\ConceptBookingCodeStringCode of the concept returned in DestServicesBookV2Required
objRequest\Concepts\CommitRequestV2Concept\CommentsStringObservations for the providerOptional
objRequest\Concepts\CommitRequestV2Concept\AnswersArrayArray of answers to the DestServicesBookV2Result questionsOptional
objRequest\Concepts\CommitRequestV2Concept\Answers\AnswerCodeStringCode of the questionRequired
objRequest\Concepts\CommitRequestV2Concept\Answers\AnswerRPHIntegerIdentifier of the pax to whom the question relates. If the question returns the node RPH in the method DestServicesBookV2, this attribute is mandatory.Required (if is returned in the DestServicesBookV2 method)
objRequest\Concepts\CommitRequestV2Concept\Answers\AnswerStringAnswer of the questionRequired
objRequest\Concepts\CommitRequestV2Concept\GuestsArrayArray of the pax of the bookingRequired
objRequest\Concepts\CommitRequestV2Concept\Guests\Guest\GivenNameStringName of the passengerRequired
objRequest\Concepts\CommitRequestV2Concept\Guests\Guest\SurnameStringSurname of the passengerRequired
objRequest\Concepts\CommitRequestV2Concept\Guests\Guest\PhoneNumberStringPhone number of the passengerOptional
objRequest\Concepts\CommitRequestV2Concept\Guests\Guest\BirthDateDateBirth date of the passengerYYYY-MM-DDRequired
objRequest\Concepts\CommitRequestV2Concept\Guests\Guest\AgeIntegerAge of the passengerRequired
objRequest\Concepts\CommitRequestV2Concept\Guests\Guest\DocumentIDStringNational ID Card/Passport number of the passengerOptional
objRequest\Concepts\CommitRequestV2Concept\Guests\Guest\DocumentExpirationDateStringNational ID Card/Passport expiration dateOptional
objRequest\Concepts\CommitRequestV2Concept\Guests\Guest\GenderStringUsed to specify the passenger's genderH (Male) or M (Female)Optional
objRequest\Concepts\CommitRequestV2Concept\Guests\Guest\IsChildBooleanThis value is to indicate if the passenger is an adult or childtrue/falseRequired
objRequest\Concepts\CommitRequestV2Concept\TransferThis node is only for Transfer bookingsOptional
objRequest\Concepts\CommitRequestV2Concept\TransferTransportCompanyStringName of the company of the transport in which the passenger arrivesOptional
objRequest\Concepts\CommitRequestV2Concept\TransferTransportDataStringInformation about the transport in which the passenger arrives (Ex.: Flight number)Optional
objRequest\Concepts\CommitRequestV2Concept\TransferTransportCompanyOriginStringName of the company of the transport in transfer originOptional
objRequest\Concepts\CommitRequestV2Concept\TransferTransportDataOriginStringInformation about the transport in transfer origin (Ex.: Flight number)Optional
objRequest\Concepts\CommitRequestV2Concept\TransferTransportCompanyDestinationStringName of the company of the transport in transfer destinationOptional
objRequest\Concepts\CommitRequestV2Concept\TransferTransportDataDestinationStringInformation about the transport in transfer destination (Ex.: Flight number)Optional

Node definition Response

NodeAttributeData TypeDescriptionValueMandatory
DestServicesCommitV2ResultTransactionIdentifierStringLocator of the bookingRequired
DestServicesCommitV2ResultResResponseTypeStringState of the bookingCommited / Cancelled / Pending / RejectedRequired
DestServicesCommitV2Result\ProductsArrayArray of productsRequired
DestServicesCommitV2Result\Products\BookResponseV2Product\StatusStringStatus of the product bookingCommited / Cancelled / Pending / RejectedRequired
DestServicesCommitV2Result\Products\BookResponseV2Product\ProductCodeStringCode of the productRequired
DestServicesCommitV2Result\Products\BookResponseV2Product\ProductNameStringName of the productRequired
DestServicesCommitV2Result\Products\BookResponseV2Product\StayDateRangeDate informationRequired
DestServicesCommitV2Result\Products\BookResponseV2Product\StayDateRangeStartDateDate fromYYYY-MM-DDRequired
DestServicesCommitV2Result\Products\BookResponseV2Product\StayDateRangeEndDateDate toYYYY-MM-DDRequired
DestServicesCommitV2Result\Products\BookResponseV2Product\CommentsArrayArray of commentsOptional
DestServicesCommitV2Result\Products\BookResponseV2Product\Comments\CommentTextStringProduct observationRequired
DestServicesCommitV2Result\Products\BookResponseV2Product\CancelPenaltiesArrayArray of cancel penaltiesOptional
DestServicesCommitV2Result\Products\BookResponseV2Product\CancelPenalties\CancelPenaltyStartDateStart date of the application of this cancel penaltyYYYY-MM-DDRequired
DestServicesCommitV2Result\Products\BookResponseV2Product\CancelPenalties\CancelPenaltyEndDateEnd date of the application of this cancel penaltyYYYY-MM-DDRequired
DestServicesCommitV2Result\Products\BookResponseV2Product\CancelPenalties\CancelPenalty\AmountPercentPercentIntegerPercentage of penalty over the amount of the productYYYY-MM-DDOptional
DestServicesCommitV2Result\Products\BookResponseV2Product\CancelPenalties\CancelPenalty\AmountPercentNmbrOfNightsIntegerNumber of nights of penaltyOptional
DestServicesCommitV2Result\Products\BookResponseV2Product\CancelPenalties\CancelPenalty\AmountPercentAmountDecimalAmount of the penaltyOptional
DestServicesCommitV2Result\Products\BookResponseV2Product\CancelPenalties\CancelPenalty\AmountPercentCurrencyCodeStringCurrency of the amount of the penaltyOptional
BookResponseV2Product\Concepts\BookResponseV2Concept\TotalPrice information of the concept (more info)Required
BookResponseV2Product\Concepts\BookResponseV2Concept\Total\TaxesAmountDecimalNet amount of the conceptRequired
BookResponseV2Product\Concepts\BookResponseV2Concept\Total\TaxesCurrencyCodeStringCode of the currency of the priceRequired
BookResponseV2Product\Concepts\BookResponseV2Concept\Total\Taxes\CommissionsNode with the information about the commissionsOptional
BookResponseV2Product\Concepts\BookResponseV2Concept\Total\Taxes\Commissions\SellingPriceDecimalSelling amount of the conceptRequired
BookResponseV2Product\Concepts\BookResponseV2Concept\Total\Taxes\Commissions\CommissionableAmountDecimalCommissionable amount of the conceptRequired
BookResponseV2Product\Concepts\BookResponseV2Concept\Total\Taxes\Commissions\NotCommissionableAmountDecimalNot commissionable amount of the conceptRequired
BookResponseV2Product\Concepts\BookResponseV2Concept\Total\Taxes\Commissions\CommissionAmountDecimalAmount of the commission of the conceptRequired
BookResponseV2Product\Concepts\BookResponseV2Concept\Total\Taxes\Commissions\NetAmountDecimalNet amount of the conceptRequired
BookResponseV2Product\Concepts\BookResponseV2Concept\Details\BookResponseV2Detail\QuantityIntegerReturn the booked quantity of the detail (only in optional details)Optional
BookResponseV2Product\Concepts\BookResponseV2Concept\Details\BookResponseV2Detail\TotalPrice information detail (more info)Required
BookResponseV2Product\Concepts\BookResponseV2Concept\Details\BookResponseV2Detail\Total\TaxesAmountDecimalTotal amountRequired
BookResponseV2Product\Concepts\BookResponseV2Concept\Details\BookResponseV2Detail\Total\TaxesCurrencyCodeStringCurrency codeCURRENCYRequired
BookResponseV2Product\Concepts\BookResponseV2Concept\Details\BookResponseV2Detail\Total\TaxesNumDecimalsIntegerNumber of decimalsRequired
BookResponseV2Product\Concepts\BookResponseV2Concept\Details\BookResponseV2Detail\Total\Taxes\CommissionsCommission informationRequired
BookResponseV2Product\Concepts\BookResponseV2Concept\Details\BookResponseV2Detail\Total\Taxes\CommissionsSellingPriceDecimalAmount for sellingRequired
BookResponseV2Product\Concepts\BookResponseV2Concept\Details\BookResponseV2Detail\Total\Taxes\CommissionsCommissionableAmountDecimalComisionable amountRequired
BookResponseV2Product\Concepts\BookResponseV2Concept\Details\BookResponseV2Detail\Total\Taxes\CommissionsNotCommissionableAmountDecimalNo commissionable amountRequired
BookResponseV2Product\Concepts\BookResponseV2Concept\Details\BookResponseV2Detail\Total\Taxes\CommissionsCommissionAmountDecimalCommision amountRequired
BookResponseV2Product\Concepts\BookResponseV2Concept\Details\BookResponseV2Detail\Total\Taxes\CommissionsNetAmountDecimalNet amountRequired
BookResponseV2Product\ProviderLocatorStringExternal booking locator. This is not always returned, check with your provider if you need it.Optional
BookResponseV2Product\BookingItemIdentifierIntegerIdentifier of the product element in the booking.Required
BookResponseV2Product\VoucherNode with the information about the voucherOptional
BookResponseV2Product\VoucherTypeStringType of the voucherBAR_CODE / QR_CODERequired
BookResponseV2Product\VoucherValueStringValue of the voucherRequired
DestServicesCommitV2Result\VoucherURLStringVoucher URLOptional

XML Examples

Confirmation REQUEST example
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://xml.ineedtours.com/ws/">
<soapenv:Header/>
<soapenv:Body>
<ws:DestServicesCommitV2>
<ws:objCredentials>
<ws:Source>
<ws:RequestorID Type="DSP" ID="YOUR-USER" MessagePassword="YOUR-PASSWORD"/>
</ws:Source>
</ws:objCredentials>
<ws:objRequest PrimaryLangID="IDLANGUAGE" EchoToken="4974" TransactionIdentifier="DN3C43" ClientReference="XXXXXXX">
<ws:Concepts>
<ws:CommitRequestV2Concept>
<ws:ConceptBookingCode>795</ws:ConceptBookingCode>
<ws:Answers>
<ws:Answer Code="HTLOBLIGATORIO">The hotel is in New York City</ws:Answer>
<ws:Answer Code="MENU">Pescado</ws:Answer>
</ws:Answers>
<ws:Guests>
<ws:Guest>
<ws:GivenName>Pax name 1</ws:GivenName>
<ws:Surname>Pax surname 1</ws:Surname>
<ws:BirthDate>YYYY-MM-DD</ws:BirthDate>
<ws:Age>35</ws:Age>
<ws:IsChild>false</ws:IsChild>
<ws:PhoneNumber>960000002</ws:PhoneNumber>
</ws:Guest>
<ws:Guest>
<ws:GivenName>Pax name 2</ws:GivenName>
<ws:Surname>Pax surname 2</ws:Surname>
<ws:BirthDate>YYYY-MM-DD</ws:BirthDate>
<ws:Age>35</ws:Age>
<ws:IsChild>false</ws:IsChild>
</ws:Guest>
<ws:Guest>
<ws:GivenName>Pax name 3</ws:GivenName>
<ws:Surname>Pax surname 3</ws:Surname>
<ws:BirthDate>YYYY-MM-DD</ws:BirthDate>
<ws:Age>4</ws:Age>
<ws:IsChild>true</ws:IsChild>
</ws:Guest>
</ws:Guests>
<ws:Transfer TransportData="IB780"/>
</ws:CommitRequestV2Concept>
</ws:Concepts>
</ws:objRequest>
</ws:DestServicesCommitV2>
</soapenv:Body>
</soapenv:Envelope>
Confirmation RESPONSE example
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<DestServicesCommitV2Response xmlns="http://xml.ineedtours.com/ws/">
<DestServicesCommitV2Result EchoToken="262" PrimaryLangID="ES" TransactionIdentifier="D6JL8E" ResResponseType="Commited">
<Header ResponseTimestamp="2019-01-14T17:28:56.1806425+01:00" MillisecondProcessingTime="52688" Endpoint="demo.xml.com"/>
<Products>
<BookResponseV2Product>
<Status>Commited</Status>
<ProductCode>1352</ProductCode>
<ProductName>Traslado XML (PRIVADO)</ProductName>
<ProductDays>1</ProductDays>
<ProductBookingCode>-1</ProductBookingCode>
<StayDateRange Start="2019-01-19T00:00:00" End="2019-01-19T00:00:00"/>
<CancelPenaltiesStartDate xsi:nil="true"/>
<ProviderLocator>Z58X8D</ProviderLocator>
<Voucher>
<Type>QR_CODE</Type>
<Value>##2025396##kf195a##5921423</Value>
</Voucher>
<Concepts>
<BookResponseV2Concept>
<ConceptCode>1398</ConceptCode>
<ConceptName>Coche Berlina Tipo A</ConceptName>
<Quantity>1</Quantity>
<ConceptBookingCode>42</ConceptBookingCode>
<AgeFrom>0</AgeFrom>
<AgeTo>99</AgeTo>
<IsChild>false</IsChild>
<PickUpTime>09:00</PickUpTime>
<Duration>0</Duration>
<Guests>
<Guest>
<GivenName>Jose</GivenName>
<Surname>Vicente</Surname>
<BirthDate xsi:nil="true"/>
<Age>0</Age>
<IsChild>false</IsChild>
</Guest>
</Guests>
<Details>
<BookResponseV2Detail>
<DetailName>Coche Berlina Tipo A</DetailName>
<DetailBookingCode/>
<Date xsi:nil="true"/>
<OnRequest>false</OnRequest>
<Total>
<Taxes Amount="52.5000" CurrencyCode="EUR" NumDecimals="2">
<Commissions>
<SellingPrice>52.5000</SellingPrice>
<CommissionableAmount>52.5000</CommissionableAmount>
<NotCommissionableAmount>0.0000</NotCommissionableAmount>
<CommissionAmount>0.0000</CommissionAmount>
<NetAmount>52.5000</NetAmount>
</Commissions>
</Taxes>
</Total>
<Offer>false</Offer>
</BookResponseV2Detail>
</Details>
</BookResponseV2Concept>
</Concepts>
</BookResponseV2Product>
<BookResponseV2Product>
<Status>Commited</Status>
<ProductCode>1352</ProductCode>
<ProductName>Traslado XML (PRIVADO)</ProductName>
<ProductDays>1</ProductDays>
<ProductBookingCode>-1</ProductBookingCode>
<StayDateRange Start="2019-01-19T00:00:00" End="2019-01-19T00:00:00"/>
<CancelPenaltiesStartDate xsi:nil="true"/>
<ProviderLocator>Z58X8D</ProviderLocator>
<Voucher>
<Type>QR_CODE</Type>
<Value>##2025396##kf195a##5921423</Value>
</Voucher>
<Concepts>
<BookResponseV2Concept>
<ConceptCode>1398</ConceptCode>
<ConceptName>Coche Berlina Tipo A</ConceptName>
<Quantity>1</Quantity>
<ConceptBookingCode>43</ConceptBookingCode>
<AgeFrom>0</AgeFrom>
<AgeTo>99</AgeTo>
<IsChild>false</IsChild>
<DeliveryTime>15:30</DeliveryTime>
<Duration>0</Duration>
<Guests>
<Guest>
<GivenName>Jose V</GivenName>
<Surname>Ferrero</Surname>
<BirthDate xsi:nil="true"/>
<Age>0</Age>
<IsChild>false</IsChild>
</Guest>
</Guests>
<Details>
<BookResponseV2Detail>
<DetailName>Coche Berlina Tipo A</DetailName>
<DetailBookingCode/>
<Date xsi:nil="true"/>
<OnRequest>false</OnRequest>
<Total>
<Taxes Amount="52.5000" CurrencyCode="EUR" NumDecimals="2">
<Commissions>
<SellingPrice>52.5000</SellingPrice>
<CommissionableAmount>52.5000</CommissionableAmount>
<NotCommissionableAmount>0.0000</NotCommissionableAmount>
<CommissionAmount>0.0000</CommissionAmount>
<NetAmount>52.5000</NetAmount>
</Commissions>
</Taxes>
</Total>
<Offer>false</Offer>
</BookResponseV2Detail>
</Details>
</BookResponseV2Concept>
</Concepts>
<BookingItemIdentifier>5890672</BookingItemIdentifier>
</BookResponseV2Product>
</Products>
</DestServicesCommitV2Result>
</DestServicesCommitV2Response>
</soap:Body>
</soap:Envelope>
Notes

QR/BARCODE generation: To generate de QR or BARCODE and put this in the final voucher, you need generate a image of the type indicated in the Voucher/Type node (QR or BarCode) with the value returned in the Voucher/Value node. This image must be included in the final voucher so that it can be read at the time of accessing the service.

IMPORTANT: in the event that a response from DestServicesCommitV2 fails or does not return a response, under no circumstances should the reservation be resubmitted, you should check the status of the reservation and services with your supplier (there may be confirmed services with active cancellation fees).

Name and Address consistency: When using coordinates to specify the origin or destination, a Name and Address must be provided. These values must be consistent between the Avail request and the Commit request. If the values were not sent in Avail, they must be included in Commit. If the values are sent in both Avail and Commit, the Commit values take precedence.