manageRebill_test


Click here for a complete list of operations.

QueryRebillCustomer

Query rebill customer.

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
RebillCustomerID:

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 /gateway/rebill/test/manageRebill_test.asmx HTTP/1.1
Host: www.eway.com.au
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.eway.com.au/gateway/rebill/manageRebill/QueryRebillCustomer"

<?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:Header>
    <eWAYHeader xmlns="http://www.eway.com.au/gateway/rebill/manageRebill">
      <eWAYCustomerID>string</eWAYCustomerID>
      <Username>string</Username>
      <Password>string</Password>
    </eWAYHeader>
  </soap:Header>
  <soap:Body>
    <QueryRebillCustomer xmlns="http://www.eway.com.au/gateway/rebill/manageRebill">
      <RebillCustomerID>string</RebillCustomerID>
    </QueryRebillCustomer>
  </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:Header>
    <eWAYHeader xmlns="http://www.eway.com.au/gateway/rebill/manageRebill">
      <eWAYCustomerID>string</eWAYCustomerID>
      <Username>string</Username>
      <Password>string</Password>
    </eWAYHeader>
  </soap:Header>
  <soap:Body>
    <QueryRebillCustomerResponse xmlns="http://www.eway.com.au/gateway/rebill/manageRebill">
      <QueryRebillCustomerResult>
        <Result>string</Result>
        <ErrorSeverity>string</ErrorSeverity>
        <ErrorDetails>string</ErrorDetails>
        <RebillCustomerID>string</RebillCustomerID>
        <CustomerRef>string</CustomerRef>
        <CustomerTitle>string</CustomerTitle>
        <CustomerFirstName>string</CustomerFirstName>
        <CustomerLastName>string</CustomerLastName>
        <CustomerCompany>string</CustomerCompany>
        <CustomerJobDesc>string</CustomerJobDesc>
        <CustomerEmail>string</CustomerEmail>
        <CustomerAddress>string</CustomerAddress>
        <CustomerSuburb>string</CustomerSuburb>
        <CustomerState>string</CustomerState>
        <CustomerPostCode>string</CustomerPostCode>
        <CustomerCountry>string</CustomerCountry>
        <CustomerPhone1>string</CustomerPhone1>
        <CustomerPhone2>string</CustomerPhone2>
        <CustomerFax>string</CustomerFax>
        <CustomerURL>string</CustomerURL>
        <CustomerComments>string</CustomerComments>
      </QueryRebillCustomerResult>
    </QueryRebillCustomerResponse>
  </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 /gateway/rebill/test/manageRebill_test.asmx HTTP/1.1
Host: www.eway.com.au
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:Header>
    <eWAYHeader xmlns="http://www.eway.com.au/gateway/rebill/manageRebill">
      <eWAYCustomerID>string</eWAYCustomerID>
      <Username>string</Username>
      <Password>string</Password>
    </eWAYHeader>
  </soap12:Header>
  <soap12:Body>
    <QueryRebillCustomer xmlns="http://www.eway.com.au/gateway/rebill/manageRebill">
      <RebillCustomerID>string</RebillCustomerID>
    </QueryRebillCustomer>
  </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:Header>
    <eWAYHeader xmlns="http://www.eway.com.au/gateway/rebill/manageRebill">
      <eWAYCustomerID>string</eWAYCustomerID>
      <Username>string</Username>
      <Password>string</Password>
    </eWAYHeader>
  </soap12:Header>
  <soap12:Body>
    <QueryRebillCustomerResponse xmlns="http://www.eway.com.au/gateway/rebill/manageRebill">
      <QueryRebillCustomerResult>
        <Result>string</Result>
        <ErrorSeverity>string</ErrorSeverity>
        <ErrorDetails>string</ErrorDetails>
        <RebillCustomerID>string</RebillCustomerID>
        <CustomerRef>string</CustomerRef>
        <CustomerTitle>string</CustomerTitle>
        <CustomerFirstName>string</CustomerFirstName>
        <CustomerLastName>string</CustomerLastName>
        <CustomerCompany>string</CustomerCompany>
        <CustomerJobDesc>string</CustomerJobDesc>
        <CustomerEmail>string</CustomerEmail>
        <CustomerAddress>string</CustomerAddress>
        <CustomerSuburb>string</CustomerSuburb>
        <CustomerState>string</CustomerState>
        <CustomerPostCode>string</CustomerPostCode>
        <CustomerCountry>string</CustomerCountry>
        <CustomerPhone1>string</CustomerPhone1>
        <CustomerPhone2>string</CustomerPhone2>
        <CustomerFax>string</CustomerFax>
        <CustomerURL>string</CustomerURL>
        <CustomerComments>string</CustomerComments>
      </QueryRebillCustomerResult>
    </QueryRebillCustomerResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP POST

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

POST /gateway/rebill/test/manageRebill_test.asmx/QueryRebillCustomer HTTP/1.1
Host: www.eway.com.au
Content-Type: application/x-www-form-urlencoded
Content-Length: length

RebillCustomerID=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<CustomerDetails xmlns="http://www.eway.com.au/gateway/rebill/manageRebill">
  <Result>string</Result>
  <ErrorSeverity>string</ErrorSeverity>
  <ErrorDetails>string</ErrorDetails>
  <RebillCustomerID>string</RebillCustomerID>
  <CustomerRef>string</CustomerRef>
  <CustomerTitle>string</CustomerTitle>
  <CustomerFirstName>string</CustomerFirstName>
  <CustomerLastName>string</CustomerLastName>
  <CustomerCompany>string</CustomerCompany>
  <CustomerJobDesc>string</CustomerJobDesc>
  <CustomerEmail>string</CustomerEmail>
  <CustomerAddress>string</CustomerAddress>
  <CustomerSuburb>string</CustomerSuburb>
  <CustomerState>string</CustomerState>
  <CustomerPostCode>string</CustomerPostCode>
  <CustomerCountry>string</CustomerCountry>
  <CustomerPhone1>string</CustomerPhone1>
  <CustomerPhone2>string</CustomerPhone2>
  <CustomerFax>string</CustomerFax>
  <CustomerURL>string</CustomerURL>
  <CustomerComments>string</CustomerComments>
</CustomerDetails>