WSNewHotelSrv
Click here for a complete list of operations.
AddUserHotelGral
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 /WSNewHotelSrv/WSNewHotel.asmx HTTP/1.1
Host: reservas.tryplisboaaeroporto.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.NewHotel.com/AddUserHotelGral"
<?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>
<AddUserHotelGral xmlns="http://www.NewHotel.com/">
<rqAddUserHotel>
<AllotmentsPlans>
<AllotmentPlan>
<RatePlanCode>string</RatePlanCode>
<Active>boolean</Active>
</AllotmentPlan>
<AllotmentPlan>
<RatePlanCode>string</RatePlanCode>
<Active>boolean</Active>
</AllotmentPlan>
</AllotmentsPlans>
<InvokeUser>string</InvokeUser>
<InvokePassword>string</InvokePassword>
<Active>boolean</Active>
<UserName>string</UserName>
<HotelCode>string</HotelCode>
<EntityCode>string</EntityCode>
<PriceRateCode>string</PriceRateCode>
<PackageCode>string</PackageCode>
<MarketOriginCode>string</MarketOriginCode>
<MarketSegmentCode>string</MarketSegmentCode>
<TaxSchemaCode>int</TaxSchemaCode>
<TaxIncluded>boolean</TaxIncluded>
<FixTaxIncluded>boolean</FixTaxIncluded>
<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>
<DefaultPriceWhenOffShoreConfiguration>string</DefaultPriceWhenOffShoreConfiguration>
<FixPriceHotelWhenOffShore>string</FixPriceHotelWhenOffShore>
<FixPriceOffShoreWhenOffShore>string</FixPriceOffShoreWhenOffShore>
<PaymentSectionCode>string</PaymentSectionCode>
<PaymentTypeCode>string</PaymentTypeCode>
<NeverConfirmReservation>boolean</NeverConfirmReservation>
<MaxPersonsAdvise>boolean</MaxPersonsAdvise>
<MinPersonsCount>boolean</MinPersonsCount>
<DocumentType>string</DocumentType>
<DepositDateToPaid>int</DepositDateToPaid>
<DepositValue>decimal</DepositValue>
<DepositType>string</DepositType>
<DepositPaid>boolean</DepositPaid>
<CheckUserInCancelation>boolean</CheckUserInCancelation>
<CheckUserInConsult>boolean</CheckUserInConsult>
<CheckUserInUpdate>boolean</CheckUserInUpdate>
<UpdatePermissions>string</UpdatePermissions>
<UpdateStatePermissions>string</UpdateStatePermissions>
<GroupTypeCode>long</GroupTypeCode>
<CountryCodeType>string</CountryCodeType>
<ReservationCountryCode>string</ReservationCountryCode>
<MiddlemanCountryCode>string</MiddlemanCountryCode>
<CheckReservationAvailability>boolean</CheckReservationAvailability>
<CheckOperatorPrepaid>boolean</CheckOperatorPrepaid>
<CheckReservationPrice>boolean</CheckReservationPrice>
<CheckReservationPriceHotelWhenOffShore>boolean</CheckReservationPriceHotelWhenOffShore>
<CheckReservationPriceOffShoreWhenOffShore>boolean</CheckReservationPriceOffShoreWhenOffShore>
<InvoiceInstruction>string</InvoiceInstruction>
<NHExternalChannel>int</NHExternalChannel>
<NHExternalChannelIdentifier>string</NHExternalChannelIdentifier>
<NHApplicationSource>string</NHApplicationSource>
<CheckDuplicateReservations>boolean</CheckDuplicateReservations>
<AllowNHCheckDuplicateReservations>boolean</AllowNHCheckDuplicateReservations>
<UnAssignRoom>boolean</UnAssignRoom>
<UnAssignRoomEvenBlock>boolean</UnAssignRoomEvenBlock>
<UpdateOnAssignedRoomPermission>boolean</UpdateOnAssignedRoomPermission>
<SpecialsCode>long</SpecialsCode>
<InvoiceAnnulReason>long</InvoiceAnnulReason>
<MovementAnnulReason>long</MovementAnnulReason>
<ReceiptOnAdvancedDeposit>boolean</ReceiptOnAdvancedDeposit>
<AvailabilityTypeOfCalculation>string</AvailabilityTypeOfCalculation>
<AdditionalService>string</AdditionalService>
<AdditionalSection>string</AdditionalSection>
<AdditionalRatePlan>string</AdditionalRatePlan>
<AdditionalAccountType>string</AdditionalAccountType>
<AdditionalDaily>boolean</AdditionalDaily>
<InvalidCheckPriceActionHotelWhenOffShore>string</InvalidCheckPriceActionHotelWhenOffShore>
<InvalidCheckPriceActionOffShoreWhenOffShore>string</InvalidCheckPriceActionOffShoreWhenOffShore>
<InvalidCheckPriceAction>string</InvalidCheckPriceAction>
<GroupReservationAsGroup>boolean</GroupReservationAsGroup>
<MovementAccountType>string</MovementAccountType>
<MovementPointOfSale>string</MovementPointOfSale>
<MovementService>string</MovementService>
<MovementSection>string</MovementSection>
<PaymentAnnulReason>long</PaymentAnnulReason>
</rqAddUserHotel>
</AddUserHotelGral>
</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>
<AddUserHotelGralResponse xmlns="http://www.NewHotel.com/">
<AddUserHotelGralResult>
<StatusCode>int</StatusCode>
<StatusMessage>string</StatusMessage>
<InternalMessage>string</InternalMessage>
<Time>int</Time>
</AddUserHotelGralResult>
</AddUserHotelGralResponse>
</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 /WSNewHotelSrv/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>
<AddUserHotelGral xmlns="http://www.NewHotel.com/">
<rqAddUserHotel>
<AllotmentsPlans>
<AllotmentPlan>
<RatePlanCode>string</RatePlanCode>
<Active>boolean</Active>
</AllotmentPlan>
<AllotmentPlan>
<RatePlanCode>string</RatePlanCode>
<Active>boolean</Active>
</AllotmentPlan>
</AllotmentsPlans>
<InvokeUser>string</InvokeUser>
<InvokePassword>string</InvokePassword>
<Active>boolean</Active>
<UserName>string</UserName>
<HotelCode>string</HotelCode>
<EntityCode>string</EntityCode>
<PriceRateCode>string</PriceRateCode>
<PackageCode>string</PackageCode>
<MarketOriginCode>string</MarketOriginCode>
<MarketSegmentCode>string</MarketSegmentCode>
<TaxSchemaCode>int</TaxSchemaCode>
<TaxIncluded>boolean</TaxIncluded>
<FixTaxIncluded>boolean</FixTaxIncluded>
<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>
<DefaultPriceWhenOffShoreConfiguration>string</DefaultPriceWhenOffShoreConfiguration>
<FixPriceHotelWhenOffShore>string</FixPriceHotelWhenOffShore>
<FixPriceOffShoreWhenOffShore>string</FixPriceOffShoreWhenOffShore>
<PaymentSectionCode>string</PaymentSectionCode>
<PaymentTypeCode>string</PaymentTypeCode>
<NeverConfirmReservation>boolean</NeverConfirmReservation>
<MaxPersonsAdvise>boolean</MaxPersonsAdvise>
<MinPersonsCount>boolean</MinPersonsCount>
<DocumentType>string</DocumentType>
<DepositDateToPaid>int</DepositDateToPaid>
<DepositValue>decimal</DepositValue>
<DepositType>string</DepositType>
<DepositPaid>boolean</DepositPaid>
<CheckUserInCancelation>boolean</CheckUserInCancelation>
<CheckUserInConsult>boolean</CheckUserInConsult>
<CheckUserInUpdate>boolean</CheckUserInUpdate>
<UpdatePermissions>string</UpdatePermissions>
<UpdateStatePermissions>string</UpdateStatePermissions>
<GroupTypeCode>long</GroupTypeCode>
<CountryCodeType>string</CountryCodeType>
<ReservationCountryCode>string</ReservationCountryCode>
<MiddlemanCountryCode>string</MiddlemanCountryCode>
<CheckReservationAvailability>boolean</CheckReservationAvailability>
<CheckOperatorPrepaid>boolean</CheckOperatorPrepaid>
<CheckReservationPrice>boolean</CheckReservationPrice>
<CheckReservationPriceHotelWhenOffShore>boolean</CheckReservationPriceHotelWhenOffShore>
<CheckReservationPriceOffShoreWhenOffShore>boolean</CheckReservationPriceOffShoreWhenOffShore>
<InvoiceInstruction>string</InvoiceInstruction>
<NHExternalChannel>int</NHExternalChannel>
<NHExternalChannelIdentifier>string</NHExternalChannelIdentifier>
<NHApplicationSource>string</NHApplicationSource>
<CheckDuplicateReservations>boolean</CheckDuplicateReservations>
<AllowNHCheckDuplicateReservations>boolean</AllowNHCheckDuplicateReservations>
<UnAssignRoom>boolean</UnAssignRoom>
<UnAssignRoomEvenBlock>boolean</UnAssignRoomEvenBlock>
<UpdateOnAssignedRoomPermission>boolean</UpdateOnAssignedRoomPermission>
<SpecialsCode>long</SpecialsCode>
<InvoiceAnnulReason>long</InvoiceAnnulReason>
<MovementAnnulReason>long</MovementAnnulReason>
<ReceiptOnAdvancedDeposit>boolean</ReceiptOnAdvancedDeposit>
<AvailabilityTypeOfCalculation>string</AvailabilityTypeOfCalculation>
<AdditionalService>string</AdditionalService>
<AdditionalSection>string</AdditionalSection>
<AdditionalRatePlan>string</AdditionalRatePlan>
<AdditionalAccountType>string</AdditionalAccountType>
<AdditionalDaily>boolean</AdditionalDaily>
<InvalidCheckPriceActionHotelWhenOffShore>string</InvalidCheckPriceActionHotelWhenOffShore>
<InvalidCheckPriceActionOffShoreWhenOffShore>string</InvalidCheckPriceActionOffShoreWhenOffShore>
<InvalidCheckPriceAction>string</InvalidCheckPriceAction>
<GroupReservationAsGroup>boolean</GroupReservationAsGroup>
<MovementAccountType>string</MovementAccountType>
<MovementPointOfSale>string</MovementPointOfSale>
<MovementService>string</MovementService>
<MovementSection>string</MovementSection>
<PaymentAnnulReason>long</PaymentAnnulReason>
</rqAddUserHotel>
</AddUserHotelGral>
</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>
<AddUserHotelGralResponse xmlns="http://www.NewHotel.com/">
<AddUserHotelGralResult>
<StatusCode>int</StatusCode>
<StatusMessage>string</StatusMessage>
<InternalMessage>string</InternalMessage>
<Time>int</Time>
</AddUserHotelGralResult>
</AddUserHotelGralResponse>
</soap12:Body>
</soap12:Envelope>