WSNewHotelClient


Click here for a complete list of operations.

ManageDepositInvoices

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 /WSNewHotelClient/WSNewHotelClient.asmx HTTP/1.1
Host: reservas.tryplisboaaeroporto.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.newhotel.com/client/ManageDepositInvoices"

<?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>
    <ManageDepositInvoices xmlns="http://www.newhotel.com/client">
      <rqManageInvoices>
        <RequestId>guid</RequestId>
        <PapoCodi>int</PapoCodi>
        <RequestServer>
          <Username>string</Username>
          <Password>string</Password>
          <Origin>string</Origin>
          <ExternalChannelCode>int</ExternalChannelCode>
          <ExternalChannelIdentifier>string</ExternalChannelIdentifier>
          <IndividualDepositInvoiceList>
            <IndividualDepositInvoice xsi:nil="true" />
            <IndividualDepositInvoice xsi:nil="true" />
          </IndividualDepositInvoiceList>
          <GroupsDepositInvoiceList>
            <GroupDepositInvoice xsi:nil="true" />
            <GroupDepositInvoice xsi:nil="true" />
          </GroupsDepositInvoiceList>
          <OrderFieldManager>None or HotelCode or HotelName or Order or ReservationCode or FirstName or LastName</OrderFieldManager>
        </RequestServer>
        <CountryCodeType>string</CountryCodeType>
      </rqManageInvoices>
    </ManageDepositInvoices>
  </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>
    <ManageDepositInvoicesResponse xmlns="http://www.newhotel.com/client">
      <ManageDepositInvoicesResult>
        <GroupDepositInvoicesError>
          <DepositInvoiceError Order="string" InvoiceOrder="string">
            <HotelCode>string</HotelCode>
            <HotelName>string</HotelName>
            <Error>string</Error>
            <ErrorCode>int</ErrorCode>
            <Operation>string</Operation>
            <MovementIdentifiers xsi:nil="true" />
          </DepositInvoiceError>
          <DepositInvoiceError Order="string" InvoiceOrder="string">
            <HotelCode>string</HotelCode>
            <HotelName>string</HotelName>
            <Error>string</Error>
            <ErrorCode>int</ErrorCode>
            <Operation>string</Operation>
            <MovementIdentifiers xsi:nil="true" />
          </DepositInvoiceError>
        </GroupDepositInvoicesError>
        <IndividualDepositInvoicesError>
          <DepositInvoiceError Order="string" InvoiceOrder="string">
            <HotelCode>string</HotelCode>
            <HotelName>string</HotelName>
            <Error>string</Error>
            <ErrorCode>int</ErrorCode>
            <Operation>string</Operation>
            <MovementIdentifiers xsi:nil="true" />
          </DepositInvoiceError>
          <DepositInvoiceError Order="string" InvoiceOrder="string">
            <HotelCode>string</HotelCode>
            <HotelName>string</HotelName>
            <Error>string</Error>
            <ErrorCode>int</ErrorCode>
            <Operation>string</Operation>
            <MovementIdentifiers xsi:nil="true" />
          </DepositInvoiceError>
        </IndividualDepositInvoicesError>
        <GroupDepositInvoices>
          <GroupDepositInvoice>
            <Order>string</Order>
            <DepositInvoices xsi:nil="true" />
          </GroupDepositInvoice>
          <GroupDepositInvoice>
            <Order>string</Order>
            <DepositInvoices xsi:nil="true" />
          </GroupDepositInvoice>
        </GroupDepositInvoices>
        <IndividualDepositInvoices>
          <IndividualDepositInvoice>
            <Order>string</Order>
            <DepositInvoice xsi:nil="true" />
          </IndividualDepositInvoice>
          <IndividualDepositInvoice>
            <Order>string</Order>
            <DepositInvoice xsi:nil="true" />
          </IndividualDepositInvoice>
        </IndividualDepositInvoices>
        <IndividualDepositInvoicesWarning>
          <DepositInvoiceWarning Order="string" InvoiceOrder="string">
            <HotelCode>string</HotelCode>
            <HotelName>string</HotelName>
            <Error>string</Error>
            <ErrorCode>int</ErrorCode>
            <Operation>string</Operation>
            <MovementIdentifiers xsi:nil="true" />
          </DepositInvoiceWarning>
          <DepositInvoiceWarning Order="string" InvoiceOrder="string">
            <HotelCode>string</HotelCode>
            <HotelName>string</HotelName>
            <Error>string</Error>
            <ErrorCode>int</ErrorCode>
            <Operation>string</Operation>
            <MovementIdentifiers xsi:nil="true" />
          </DepositInvoiceWarning>
        </IndividualDepositInvoicesWarning>
        <GroupDepositInvoicesWarning>
          <DepositInvoiceWarning Order="string" InvoiceOrder="string">
            <HotelCode>string</HotelCode>
            <HotelName>string</HotelName>
            <Error>string</Error>
            <ErrorCode>int</ErrorCode>
            <Operation>string</Operation>
            <MovementIdentifiers xsi:nil="true" />
          </DepositInvoiceWarning>
          <DepositInvoiceWarning Order="string" InvoiceOrder="string">
            <HotelCode>string</HotelCode>
            <HotelName>string</HotelName>
            <Error>string</Error>
            <ErrorCode>int</ErrorCode>
            <Operation>string</Operation>
            <MovementIdentifiers xsi:nil="true" />
          </DepositInvoiceWarning>
        </GroupDepositInvoicesWarning>
      </ManageDepositInvoicesResult>
    </ManageDepositInvoicesResponse>
  </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 /WSNewHotelClient/WSNewHotelClient.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>
    <ManageDepositInvoices xmlns="http://www.newhotel.com/client">
      <rqManageInvoices>
        <RequestId>guid</RequestId>
        <PapoCodi>int</PapoCodi>
        <RequestServer>
          <Username>string</Username>
          <Password>string</Password>
          <Origin>string</Origin>
          <ExternalChannelCode>int</ExternalChannelCode>
          <ExternalChannelIdentifier>string</ExternalChannelIdentifier>
          <IndividualDepositInvoiceList>
            <IndividualDepositInvoice xsi:nil="true" />
            <IndividualDepositInvoice xsi:nil="true" />
          </IndividualDepositInvoiceList>
          <GroupsDepositInvoiceList>
            <GroupDepositInvoice xsi:nil="true" />
            <GroupDepositInvoice xsi:nil="true" />
          </GroupsDepositInvoiceList>
          <OrderFieldManager>None or HotelCode or HotelName or Order or ReservationCode or FirstName or LastName</OrderFieldManager>
        </RequestServer>
        <CountryCodeType>string</CountryCodeType>
      </rqManageInvoices>
    </ManageDepositInvoices>
  </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>
    <ManageDepositInvoicesResponse xmlns="http://www.newhotel.com/client">
      <ManageDepositInvoicesResult>
        <GroupDepositInvoicesError>
          <DepositInvoiceError Order="string" InvoiceOrder="string">
            <HotelCode>string</HotelCode>
            <HotelName>string</HotelName>
            <Error>string</Error>
            <ErrorCode>int</ErrorCode>
            <Operation>string</Operation>
            <MovementIdentifiers xsi:nil="true" />
          </DepositInvoiceError>
          <DepositInvoiceError Order="string" InvoiceOrder="string">
            <HotelCode>string</HotelCode>
            <HotelName>string</HotelName>
            <Error>string</Error>
            <ErrorCode>int</ErrorCode>
            <Operation>string</Operation>
            <MovementIdentifiers xsi:nil="true" />
          </DepositInvoiceError>
        </GroupDepositInvoicesError>
        <IndividualDepositInvoicesError>
          <DepositInvoiceError Order="string" InvoiceOrder="string">
            <HotelCode>string</HotelCode>
            <HotelName>string</HotelName>
            <Error>string</Error>
            <ErrorCode>int</ErrorCode>
            <Operation>string</Operation>
            <MovementIdentifiers xsi:nil="true" />
          </DepositInvoiceError>
          <DepositInvoiceError Order="string" InvoiceOrder="string">
            <HotelCode>string</HotelCode>
            <HotelName>string</HotelName>
            <Error>string</Error>
            <ErrorCode>int</ErrorCode>
            <Operation>string</Operation>
            <MovementIdentifiers xsi:nil="true" />
          </DepositInvoiceError>
        </IndividualDepositInvoicesError>
        <GroupDepositInvoices>
          <GroupDepositInvoice>
            <Order>string</Order>
            <DepositInvoices xsi:nil="true" />
          </GroupDepositInvoice>
          <GroupDepositInvoice>
            <Order>string</Order>
            <DepositInvoices xsi:nil="true" />
          </GroupDepositInvoice>
        </GroupDepositInvoices>
        <IndividualDepositInvoices>
          <IndividualDepositInvoice>
            <Order>string</Order>
            <DepositInvoice xsi:nil="true" />
          </IndividualDepositInvoice>
          <IndividualDepositInvoice>
            <Order>string</Order>
            <DepositInvoice xsi:nil="true" />
          </IndividualDepositInvoice>
        </IndividualDepositInvoices>
        <IndividualDepositInvoicesWarning>
          <DepositInvoiceWarning Order="string" InvoiceOrder="string">
            <HotelCode>string</HotelCode>
            <HotelName>string</HotelName>
            <Error>string</Error>
            <ErrorCode>int</ErrorCode>
            <Operation>string</Operation>
            <MovementIdentifiers xsi:nil="true" />
          </DepositInvoiceWarning>
          <DepositInvoiceWarning Order="string" InvoiceOrder="string">
            <HotelCode>string</HotelCode>
            <HotelName>string</HotelName>
            <Error>string</Error>
            <ErrorCode>int</ErrorCode>
            <Operation>string</Operation>
            <MovementIdentifiers xsi:nil="true" />
          </DepositInvoiceWarning>
        </IndividualDepositInvoicesWarning>
        <GroupDepositInvoicesWarning>
          <DepositInvoiceWarning Order="string" InvoiceOrder="string">
            <HotelCode>string</HotelCode>
            <HotelName>string</HotelName>
            <Error>string</Error>
            <ErrorCode>int</ErrorCode>
            <Operation>string</Operation>
            <MovementIdentifiers xsi:nil="true" />
          </DepositInvoiceWarning>
          <DepositInvoiceWarning Order="string" InvoiceOrder="string">
            <HotelCode>string</HotelCode>
            <HotelName>string</HotelName>
            <Error>string</Error>
            <ErrorCode>int</ErrorCode>
            <Operation>string</Operation>
            <MovementIdentifiers xsi:nil="true" />
          </DepositInvoiceWarning>
        </GroupDepositInvoicesWarning>
      </ManageDepositInvoicesResult>
    </ManageDepositInvoicesResponse>
  </soap12:Body>
</soap12:Envelope>