wsReservation


Click here for a complete list of operations.

RejectPaymentTCN

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 /ResService/wsReservation.asmx HTTP/1.1
Host: tsuiteservice.it.ws.travelexplorer.com.br
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://ws.travelsuite.com.br/RejectPaymentTCN"

<?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>
    <RejectPaymentTCN xmlns="http://ws.travelsuite.com.br">
      <contractId>int</contractId>
      <pnrId>long</pnrId>
      <PaymentId>long</PaymentId>
      <Error>string</Error>
      <CreditCardInfo>
        <CreditCardInfo>
          <CreditCardInfoTCN>
            <CreditCardInfo xsi:nil="true" />
            <CreditCardInfoIdTCN>long</CreditCardInfoIdTCN>
            <CreditCardInfoId>long</CreditCardInfoId>
            <IdTransacao>string</IdTransacao>
            <CodRetorno>int</CodRetorno>
            <MensagemRet>string</MensagemRet>
            <NrReferencia>string</NrReferencia>
            <NrAutorizacao>string</NrAutorizacao>
            <Data>dateTime</Data>
            <NRCV>string</NRCV>
            <NRNSU>string</NRNSU>
            <CodRetAdm>int</CodRetAdm>
            <MensagemAdm>string</MensagemAdm>
          </CreditCardInfoTCN>
          <CreditCardInfoId>long</CreditCardInfoId>
          <Type>Visa or Master or Amex or Hypercard or Dinner or Elo or UATP</Type>
          <FirstName>string</FirstName>
          <LastName>string</LastName>
          <ValidThru>string</ValidThru>
          <SecCode>string</SecCode>
          <CardNumber>string</CardNumber>
          <PrefixCardNumber>string</PrefixCardNumber>
          <AuthorizationCode>string</AuthorizationCode>
          <ErrorCode>string</ErrorCode>
          <AuthenticationCode>string</AuthenticationCode>
          <PaymentInfoId>long</PaymentInfoId>
          <ParcelsNumber>short</ParcelsNumber>
          <AccountHolderName>string</AccountHolderName>
          <VerificationCode>string</VerificationCode>
          <ExpirationDate>dateTime</ExpirationDate>
          <WithoutInterest>boolean</WithoutInterest>
          <Interest>decimal</Interest>
          <IsCodeSecRead>boolean</IsCodeSecRead>
          <HostCodeSecRead>string</HostCodeSecRead>
          <DateCodeSecRead>dateTime</DateCodeSecRead>
          <Parcels>
            <anyType />
            <anyType />
          </Parcels>
          <CustomerBillingData>
            <CustomerBillingDataId>long</CustomerBillingDataId>
            <CreditCardInfo xsi:nil="true" />
            <DocNumber>string</DocNumber>
            <Address>string</Address>
            <Number>int</Number>
            <Completion>string</Completion>
            <District>string</District>
            <State>string</State>
            <City>string</City>
            <Zip>string</Zip>
            <Country>string</Country>
            <EmissionBank>string</EmissionBank>
            <County>string</County>
            <Email>string</Email>
          </CustomerBillingData>
          <CreditCardInfoParcels>
            <CreditCardInfoParcels xsi:nil="true" />
            <CreditCardInfoParcels xsi:nil="true" />
          </CreditCardInfoParcels>
          <CardNumberEncrypted>string</CardNumberEncrypted>
        </CreditCardInfo>
        <CreditCardInfoIdTCN>long</CreditCardInfoIdTCN>
        <CreditCardInfoId>long</CreditCardInfoId>
        <IdTransacao>string</IdTransacao>
        <CodRetorno>int</CodRetorno>
        <MensagemRet>string</MensagemRet>
        <NrReferencia>string</NrReferencia>
        <NrAutorizacao>string</NrAutorizacao>
        <Data>dateTime</Data>
        <NRCV>string</NRCV>
        <NRNSU>string</NRNSU>
        <CodRetAdm>int</CodRetAdm>
        <MensagemAdm>string</MensagemAdm>
      </CreditCardInfo>
    </RejectPaymentTCN>
  </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>
    <RejectPaymentTCNResponse xmlns="http://ws.travelsuite.com.br" />
  </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 /ResService/wsReservation.asmx HTTP/1.1
Host: tsuiteservice.it.ws.travelexplorer.com.br
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>
    <RejectPaymentTCN xmlns="http://ws.travelsuite.com.br">
      <contractId>int</contractId>
      <pnrId>long</pnrId>
      <PaymentId>long</PaymentId>
      <Error>string</Error>
      <CreditCardInfo>
        <CreditCardInfo>
          <CreditCardInfoTCN>
            <CreditCardInfo xsi:nil="true" />
            <CreditCardInfoIdTCN>long</CreditCardInfoIdTCN>
            <CreditCardInfoId>long</CreditCardInfoId>
            <IdTransacao>string</IdTransacao>
            <CodRetorno>int</CodRetorno>
            <MensagemRet>string</MensagemRet>
            <NrReferencia>string</NrReferencia>
            <NrAutorizacao>string</NrAutorizacao>
            <Data>dateTime</Data>
            <NRCV>string</NRCV>
            <NRNSU>string</NRNSU>
            <CodRetAdm>int</CodRetAdm>
            <MensagemAdm>string</MensagemAdm>
          </CreditCardInfoTCN>
          <CreditCardInfoId>long</CreditCardInfoId>
          <Type>Visa or Master or Amex or Hypercard or Dinner or Elo or UATP</Type>
          <FirstName>string</FirstName>
          <LastName>string</LastName>
          <ValidThru>string</ValidThru>
          <SecCode>string</SecCode>
          <CardNumber>string</CardNumber>
          <PrefixCardNumber>string</PrefixCardNumber>
          <AuthorizationCode>string</AuthorizationCode>
          <ErrorCode>string</ErrorCode>
          <AuthenticationCode>string</AuthenticationCode>
          <PaymentInfoId>long</PaymentInfoId>
          <ParcelsNumber>short</ParcelsNumber>
          <AccountHolderName>string</AccountHolderName>
          <VerificationCode>string</VerificationCode>
          <ExpirationDate>dateTime</ExpirationDate>
          <WithoutInterest>boolean</WithoutInterest>
          <Interest>decimal</Interest>
          <IsCodeSecRead>boolean</IsCodeSecRead>
          <HostCodeSecRead>string</HostCodeSecRead>
          <DateCodeSecRead>dateTime</DateCodeSecRead>
          <Parcels>
            <anyType />
            <anyType />
          </Parcels>
          <CustomerBillingData>
            <CustomerBillingDataId>long</CustomerBillingDataId>
            <CreditCardInfo xsi:nil="true" />
            <DocNumber>string</DocNumber>
            <Address>string</Address>
            <Number>int</Number>
            <Completion>string</Completion>
            <District>string</District>
            <State>string</State>
            <City>string</City>
            <Zip>string</Zip>
            <Country>string</Country>
            <EmissionBank>string</EmissionBank>
            <County>string</County>
            <Email>string</Email>
          </CustomerBillingData>
          <CreditCardInfoParcels>
            <CreditCardInfoParcels xsi:nil="true" />
            <CreditCardInfoParcels xsi:nil="true" />
          </CreditCardInfoParcels>
          <CardNumberEncrypted>string</CardNumberEncrypted>
        </CreditCardInfo>
        <CreditCardInfoIdTCN>long</CreditCardInfoIdTCN>
        <CreditCardInfoId>long</CreditCardInfoId>
        <IdTransacao>string</IdTransacao>
        <CodRetorno>int</CodRetorno>
        <MensagemRet>string</MensagemRet>
        <NrReferencia>string</NrReferencia>
        <NrAutorizacao>string</NrAutorizacao>
        <Data>dateTime</Data>
        <NRCV>string</NRCV>
        <NRNSU>string</NRNSU>
        <CodRetAdm>int</CodRetAdm>
        <MensagemAdm>string</MensagemAdm>
      </CreditCardInfo>
    </RejectPaymentTCN>
  </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>
    <RejectPaymentTCNResponse xmlns="http://ws.travelsuite.com.br" />
  </soap12:Body>
</soap12:Envelope>