Admin


Click here for a complete list of operations.

InfoCustomer

Retrieves configuration for the specified merchant.

Parameters
UsernameThe login username.
SecureTokenThe login token.
CustomerKey[customer_t].[customer_key] value in the SQL database.
ExtDataReserved for future use.

Returns
The customers information.

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
Username:
SecureToken:
CustomerKey:
ExtData:

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 /admin/ws/admin.asmx HTTP/1.1
Host: secure.redfinnet.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.tpisoft.com/Admin/ws/InfoCustomer"

<?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>
    <InfoCustomer xmlns="http://www.tpisoft.com/Admin/ws">
      <Username>string</Username>
      <SecureToken>string</SecureToken>
      <CustomerKey>string</CustomerKey>
      <ExtData>string</ExtData>
    </InfoCustomer>
  </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>
    <InfoCustomerResponse xmlns="http://www.tpisoft.com/Admin/ws">
      <InfoCustomerResult>
        <City>string</City>
        <Country>string</Country>
        <DayPhone>string</DayPhone>
        <Department>string</Department>
        <Email>string</Email>
        <Fax>string</Fax>
        <FirstName>string</FirstName>
        <LastName>string</LastName>
        <Mobile>string</Mobile>
        <NightPhone>string</NightPhone>
        <Province>string</Province>
        <State>string</State>
        <Street1>string</Street1>
        <Street2>string</Street2>
        <Street3>string</Street3>
        <Title>string</Title>
        <Zip>string</Zip>
        <PaymentMethods>string</PaymentMethods>
      </InfoCustomerResult>
    </InfoCustomerResponse>
  </soap:Body>
</soap:Envelope>

HTTP GET

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

GET /admin/ws/admin.asmx/InfoCustomer?Username=string&SecureToken=string&CustomerKey=string&ExtData=string HTTP/1.1
Host: secure.redfinnet.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<CustomerResult xmlns="http://www.tpisoft.com/Admin/ws">
  <City>string</City>
  <Country>string</Country>
  <DayPhone>string</DayPhone>
  <Department>string</Department>
  <Email>string</Email>
  <Fax>string</Fax>
  <FirstName>string</FirstName>
  <LastName>string</LastName>
  <Mobile>string</Mobile>
  <NightPhone>string</NightPhone>
  <Province>string</Province>
  <State>string</State>
  <Street1>string</Street1>
  <Street2>string</Street2>
  <Street3>string</Street3>
  <Title>string</Title>
  <Zip>string</Zip>
  <PaymentMethods>string</PaymentMethods>
</CustomerResult>

HTTP POST

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

POST /admin/ws/admin.asmx/InfoCustomer HTTP/1.1
Host: secure.redfinnet.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

Username=string&SecureToken=string&CustomerKey=string&ExtData=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<CustomerResult xmlns="http://www.tpisoft.com/Admin/ws">
  <City>string</City>
  <Country>string</Country>
  <DayPhone>string</DayPhone>
  <Department>string</Department>
  <Email>string</Email>
  <Fax>string</Fax>
  <FirstName>string</FirstName>
  <LastName>string</LastName>
  <Mobile>string</Mobile>
  <NightPhone>string</NightPhone>
  <Province>string</Province>
  <State>string</State>
  <Street1>string</Street1>
  <Street2>string</Street2>
  <Street3>string</Street3>
  <Title>string</Title>
  <Zip>string</Zip>
  <PaymentMethods>string</PaymentMethods>
</CustomerResult>