...
Code Block | ||
---|---|---|
| ||
<?xml version="1.0" encoding="UTF-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soap:Header> <HTNGHeader xmlns="http://htng.org/1.1/Header/"> <From> <systemId>API Debug</systemId> <Credential> <userName>username</userName> <password>password</password> </Credential> </From> <To> <systemId>Convert5</systemId> </To> <echoToken>1717057639</echoToken> </HTNGHeader> </soap:Header> <soap:Body> <OTA_HotelRateAmountNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05" TimeStamp="2024-05-30T08:27:19" Version="1.0" EchoToken="1717057639"> <RateAmountMessages HotelCode="1853"> <RateAmountMessage> <StatusApplicationControl InvTypeCode="DBL" RatePlanCode="EXT1" Start="2024-05-30" End="2024-06-29"/> <Rates> <Rate> <BaseByGuestAmts> <BaseByGuestAmt AgeQualifyingCode="10" NumberOfGuests="1" AmountAfterTax="125.00"/> <BaseByGuestAmt AgeQualifyingCode="10" NumberOfGuests="2" AmountAfterTax="150.00"/> </BaseByGuestAmts> <AdditionalGuestAmounts> <AdditionalGuestAmount AgeQualifyingCode="10" Amount="20"/> <AdditionalGuestAmount AgeQualifyingCode="8" Amount="10"/> </AdditionalGuestAmounts> </Rate> </Rates> </RateAmountMessage> </RateAmountMessages> </OTA_HotelRateAmountNotifRQ> </soap:Body> </soap:Envelope> |
Response
Node Element / @Attribute | Quantity | Type | Description |
OTA_HotelRateAmountNotifRS | 1 | Root element | |
@TimeStamp | 0..1 | DateTime | ISO 8601 encoded timestamp indicating the creation date and time of the message |
@Version | 0..1 | Decimal | The OpenTravel message version indicated by a decimal value |
Success | 0..1 | Indicates that the incoming request message was processed successfully | |
Errors | 0..1 | A collection of errors that occurred during the processing of a message | |
Warnings | 0..1 | A collection of warning that occurred during the processing of a message |
...