WSNewHotelSrv
Click here for a complete list of operations.
ModifyUserHotel
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /WsNewHotelServerHubOS/WSNewHotel.asmx HTTP/1.1
Host: reservas.tryplisboaaeroporto.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.NewHotel.com/ModifyUserHotel"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ModifyUserHotel xmlns="http://www.NewHotel.com/">
<invoqueUser>string</invoqueUser>
<invoquePassword>string</invoquePassword>
<publicKey>string</publicKey>
<userName>string</userName>
<hotelCode>string</hotelCode>
<entityCode>string</entityCode>
<priceRateCode>string</priceRateCode>
<packageCode>string</packageCode>
<marketOriginCode>string</marketOriginCode>
<marketSegmentCode>string</marketSegmentCode>
<taxSchemaCode>int</taxSchemaCode>
<checkNights>boolean</checkNights>
<overAllotment>boolean</overAllotment>
<overBooking>boolean</overBooking>
<overBookingPercent>decimal</overBookingPercent>
<newHotelCreateUser>string</newHotelCreateUser>
<newHotelCancelUser>string</newHotelCancelUser>
<childPrice>string</childPrice>
<guaranteeCode>long</guaranteeCode>
<cancelationCode>long</cancelationCode>
<availabilityType>string</availabilityType>
<fixReservationPriceType>string</fixReservationPriceType>
<paymentSectionCode>string</paymentSectionCode>
<paymentTypeCode>string</paymentTypeCode>
<neverConfirmReservation>boolean</neverConfirmReservation>
<maxPersonsAdvise>boolean</maxPersonsAdvise>
<minPersonsCount>boolean</minPersonsCount>
<depositType>string</depositType>
<depositDateToPaid>int</depositDateToPaid>
<depositValue>decimal</depositValue>
<depositPaid>boolean</depositPaid>
<checkUserInCancelation>boolean</checkUserInCancelation>
<groupTypeCode>long</groupTypeCode>
<countryCodeType>string</countryCodeType>
<checkReservationAvailability>boolean</checkReservationAvailability>
<checkReservationPrice>boolean</checkReservationPrice>
<invoiceInstruction>string</invoiceInstruction>
<nhExternalChannel>int</nhExternalChannel>
<specialsCode>long</specialsCode>
<active>boolean</active>
</ModifyUserHotel>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ModifyUserHotelResponse xmlns="http://www.NewHotel.com/">
<ModifyUserHotelResult RequestID="string">
<StatusCode>int</StatusCode>
<StatusMessage>string</StatusMessage>
<InternalMessage>string</InternalMessage>
<Time>int</Time>
</ModifyUserHotelResult>
</ModifyUserHotelResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /WsNewHotelServerHubOS/WSNewHotel.asmx HTTP/1.1
Host: reservas.tryplisboaaeroporto.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<ModifyUserHotel xmlns="http://www.NewHotel.com/">
<invoqueUser>string</invoqueUser>
<invoquePassword>string</invoquePassword>
<publicKey>string</publicKey>
<userName>string</userName>
<hotelCode>string</hotelCode>
<entityCode>string</entityCode>
<priceRateCode>string</priceRateCode>
<packageCode>string</packageCode>
<marketOriginCode>string</marketOriginCode>
<marketSegmentCode>string</marketSegmentCode>
<taxSchemaCode>int</taxSchemaCode>
<checkNights>boolean</checkNights>
<overAllotment>boolean</overAllotment>
<overBooking>boolean</overBooking>
<overBookingPercent>decimal</overBookingPercent>
<newHotelCreateUser>string</newHotelCreateUser>
<newHotelCancelUser>string</newHotelCancelUser>
<childPrice>string</childPrice>
<guaranteeCode>long</guaranteeCode>
<cancelationCode>long</cancelationCode>
<availabilityType>string</availabilityType>
<fixReservationPriceType>string</fixReservationPriceType>
<paymentSectionCode>string</paymentSectionCode>
<paymentTypeCode>string</paymentTypeCode>
<neverConfirmReservation>boolean</neverConfirmReservation>
<maxPersonsAdvise>boolean</maxPersonsAdvise>
<minPersonsCount>boolean</minPersonsCount>
<depositType>string</depositType>
<depositDateToPaid>int</depositDateToPaid>
<depositValue>decimal</depositValue>
<depositPaid>boolean</depositPaid>
<checkUserInCancelation>boolean</checkUserInCancelation>
<groupTypeCode>long</groupTypeCode>
<countryCodeType>string</countryCodeType>
<checkReservationAvailability>boolean</checkReservationAvailability>
<checkReservationPrice>boolean</checkReservationPrice>
<invoiceInstruction>string</invoiceInstruction>
<nhExternalChannel>int</nhExternalChannel>
<specialsCode>long</specialsCode>
<active>boolean</active>
</ModifyUserHotel>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<ModifyUserHotelResponse xmlns="http://www.NewHotel.com/">
<ModifyUserHotelResult RequestID="string">
<StatusCode>int</StatusCode>
<StatusMessage>string</StatusMessage>
<InternalMessage>string</InternalMessage>
<Time>int</Time>
</ModifyUserHotelResult>
</ModifyUserHotelResponse>
</soap12:Body>
</soap12:Envelope>