WSNewHotelSrv


Click here for a complete list of operations.

AddUserHotelTeste

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
invoqueUser:
invoquePassword:
publicKey:
userName:
hotelCode:
entityCode:
priceRateCode:
packageCode:
marketOriginCode:
marketSegmentCode:
taxSchemaCode:
checkNights:
overAllotment:
overBooking:
overBookingPercent:
newHotelCreateUser:
newHotelCancelUser:
childPrice:
guaranteeCode:
cancelationCode:
availabilityType:
fixReservationPriceType:
paymentSectionCode:
paymentTypeCode:
neverConfirmReservation:
maxPersonsAdvise:
minPersonsCount:
depositType:
depositDateToPaid:
depositValue:
depositPaid:
checkUserInCancelation:
groupTypeCode:
countryCodeType:
checkReservationAvailability:
checkReservationPrice:
invoiceInstruction:
nhExternalChannel:
specialsCode:

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/AddUserHotelTeste"

<?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>
    <AddUserHotelTeste 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>
    </AddUserHotelTeste>
  </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>
    <AddUserHotelTesteResponse xmlns="http://www.NewHotel.com/">
      <AddUserHotelTesteResult>
        <StatusCode>int</StatusCode>
        <StatusMessage>string</StatusMessage>
        <InternalMessage>string</InternalMessage>
        <Time>int</Time>
      </AddUserHotelTesteResult>
    </AddUserHotelTesteResponse>
  </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>
    <AddUserHotelTeste 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>
    </AddUserHotelTeste>
  </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>
    <AddUserHotelTesteResponse xmlns="http://www.NewHotel.com/">
      <AddUserHotelTesteResult>
        <StatusCode>int</StatusCode>
        <StatusMessage>string</StatusMessage>
        <InternalMessage>string</InternalMessage>
        <Time>int</Time>
      </AddUserHotelTesteResult>
    </AddUserHotelTesteResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /WSNewHotelSrv/WSNewHotel.asmx/AddUserHotelTeste?invoqueUser=string&invoquePassword=string&publicKey=string&userName=string&hotelCode=string&entityCode=string&priceRateCode=string&packageCode=string&marketOriginCode=string&marketSegmentCode=string&taxSchemaCode=string&checkNights=string&overAllotment=string&overBooking=string&overBookingPercent=string&newHotelCreateUser=string&newHotelCancelUser=string&childPrice=string&guaranteeCode=string&cancelationCode=string&availabilityType=string&fixReservationPriceType=string&paymentSectionCode=string&paymentTypeCode=string&neverConfirmReservation=string&maxPersonsAdvise=string&minPersonsCount=string&depositType=string&depositDateToPaid=string&depositValue=string&depositPaid=string&checkUserInCancelation=string&groupTypeCode=string&countryCodeType=string&checkReservationAvailability=string&checkReservationPrice=string&invoiceInstruction=string&nhExternalChannel=string&specialsCode=string HTTP/1.1
Host: reservas.tryplisboaaeroporto.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<WSResponseBase xmlns="http://www.NewHotel.com/">
  <StatusCode>int</StatusCode>
  <StatusMessage>string</StatusMessage>
  <InternalMessage>string</InternalMessage>
  <Time>int</Time>
</WSResponseBase>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /WSNewHotelSrv/WSNewHotel.asmx/AddUserHotelTeste HTTP/1.1
Host: reservas.tryplisboaaeroporto.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

invoqueUser=string&invoquePassword=string&publicKey=string&userName=string&hotelCode=string&entityCode=string&priceRateCode=string&packageCode=string&marketOriginCode=string&marketSegmentCode=string&taxSchemaCode=string&checkNights=string&overAllotment=string&overBooking=string&overBookingPercent=string&newHotelCreateUser=string&newHotelCancelUser=string&childPrice=string&guaranteeCode=string&cancelationCode=string&availabilityType=string&fixReservationPriceType=string&paymentSectionCode=string&paymentTypeCode=string&neverConfirmReservation=string&maxPersonsAdvise=string&minPersonsCount=string&depositType=string&depositDateToPaid=string&depositValue=string&depositPaid=string&checkUserInCancelation=string&groupTypeCode=string&countryCodeType=string&checkReservationAvailability=string&checkReservationPrice=string&invoiceInstruction=string&nhExternalChannel=string&specialsCode=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<WSResponseBase xmlns="http://www.NewHotel.com/">
  <StatusCode>int</StatusCode>
  <StatusMessage>string</StatusMessage>
  <InternalMessage>string</InternalMessage>
  <Time>int</Time>
</WSResponseBase>