Admin


Click here for a complete list of operations.

InfoContract

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 contract 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/InfoContract"

<?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>
    <InfoContract xmlns="http://www.tpisoft.com/Admin/ws">
      <Username>string</Username>
      <SecureToken>string</SecureToken>
      <CustomerKey>string</CustomerKey>
      <ExtData>string</ExtData>
    </InfoContract>
  </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>
    <InfoContractResponse xmlns="http://www.tpisoft.com/Admin/ws">
      <InfoContractResult>
        <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>
        <Contracts>string</Contracts>
      </InfoContractResult>
    </InfoContractResponse>
  </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/InfoContract?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"?>
<ContractResult 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>
  <Contracts>string</Contracts>
</ContractResult>

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/InfoContract 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"?>
<ContractResult 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>
  <Contracts>string</Contracts>
</ContractResult>