WebServiceCustomerPortal


Click here for a complete list of operations.

CustomerGet

Get an account

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 /WebServiceCustomerPortal.asmx HTTP/1.1
Host: www.simplylookupadmin.co.uk
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/CustomerGet"

<?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>
    <CustomerGet xmlns="http://tempuri.org/">
      <Parameters>string</Parameters>
      <CustomerRecord>
        <CO_TestAccount>boolean</CO_TestAccount>
        <CO_ID>long</CO_ID>
        <CO_e_mail_address>string</CO_e_mail_address>
        <CO_Password>string</CO_Password>
        <CO_COMPANY>string</CO_COMPANY>
        <CO_Contact_Name>string</CO_Contact_Name>
        <CO_LINE1>string</CO_LINE1>
        <CO_LINE2>string</CO_LINE2>
        <CO_LINE3>string</CO_LINE3>
        <CO_TOWN>string</CO_TOWN>
        <CO_COUNTY>string</CO_COUNTY>
        <CO_POSTCODE>string</CO_POSTCODE>
        <CO_DataKey_For_Internal_use>string</CO_DataKey_For_Internal_use>
        <CO_DataKey_For_Web_use>string</CO_DataKey_For_Web_use>
        <CO_COUNTRY>string</CO_COUNTRY>
        <CO_VATNO>string</CO_VATNO>
        <CO_Phone>string</CO_Phone>
        <CO_Fax>string</CO_Fax>
        <CO_PostcodeAreas>string</CO_PostcodeAreas>
        <CO_Spare_Flag1>boolean</CO_Spare_Flag1>
        <CO_Spare_Flag2>boolean</CO_Spare_Flag2>
        <CO_Spare_Flag3>boolean</CO_Spare_Flag3>
        <CO_Spare_String1>string</CO_Spare_String1>
        <CO_Spare_String2>string</CO_Spare_String2>
        <CO_Spare_String3>string</CO_Spare_String3>
        <CO_Spare_String4>string</CO_Spare_String4>
        <CO_Spare_String5>string</CO_Spare_String5>
        <CO_Spare_Num1>double</CO_Spare_Num1>
        <CO_Spare_Num2>double</CO_Spare_Num2>
        <CO_Spare_Num3>double</CO_Spare_Num3>
      </CustomerRecord>
      <ResellerAccountID>long</ResellerAccountID>
      <ResellerAccountPassword>string</ResellerAccountPassword>
      <ErrorDescription>string</ErrorDescription>
    </CustomerGet>
  </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>
    <CustomerGetResponse xmlns="http://tempuri.org/">
      <CustomerGetResult>boolean</CustomerGetResult>
      <CustomerRecord>
        <CO_TestAccount>boolean</CO_TestAccount>
        <CO_ID>long</CO_ID>
        <CO_e_mail_address>string</CO_e_mail_address>
        <CO_Password>string</CO_Password>
        <CO_COMPANY>string</CO_COMPANY>
        <CO_Contact_Name>string</CO_Contact_Name>
        <CO_LINE1>string</CO_LINE1>
        <CO_LINE2>string</CO_LINE2>
        <CO_LINE3>string</CO_LINE3>
        <CO_TOWN>string</CO_TOWN>
        <CO_COUNTY>string</CO_COUNTY>
        <CO_POSTCODE>string</CO_POSTCODE>
        <CO_DataKey_For_Internal_use>string</CO_DataKey_For_Internal_use>
        <CO_DataKey_For_Web_use>string</CO_DataKey_For_Web_use>
        <CO_COUNTRY>string</CO_COUNTRY>
        <CO_VATNO>string</CO_VATNO>
        <CO_Phone>string</CO_Phone>
        <CO_Fax>string</CO_Fax>
        <CO_PostcodeAreas>string</CO_PostcodeAreas>
        <CO_Spare_Flag1>boolean</CO_Spare_Flag1>
        <CO_Spare_Flag2>boolean</CO_Spare_Flag2>
        <CO_Spare_Flag3>boolean</CO_Spare_Flag3>
        <CO_Spare_String1>string</CO_Spare_String1>
        <CO_Spare_String2>string</CO_Spare_String2>
        <CO_Spare_String3>string</CO_Spare_String3>
        <CO_Spare_String4>string</CO_Spare_String4>
        <CO_Spare_String5>string</CO_Spare_String5>
        <CO_Spare_Num1>double</CO_Spare_Num1>
        <CO_Spare_Num2>double</CO_Spare_Num2>
        <CO_Spare_Num3>double</CO_Spare_Num3>
      </CustomerRecord>
      <ErrorDescription>string</ErrorDescription>
    </CustomerGetResponse>
  </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 /WebServiceCustomerPortal.asmx HTTP/1.1
Host: www.simplylookupadmin.co.uk
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>
    <CustomerGet xmlns="http://tempuri.org/">
      <Parameters>string</Parameters>
      <CustomerRecord>
        <CO_TestAccount>boolean</CO_TestAccount>
        <CO_ID>long</CO_ID>
        <CO_e_mail_address>string</CO_e_mail_address>
        <CO_Password>string</CO_Password>
        <CO_COMPANY>string</CO_COMPANY>
        <CO_Contact_Name>string</CO_Contact_Name>
        <CO_LINE1>string</CO_LINE1>
        <CO_LINE2>string</CO_LINE2>
        <CO_LINE3>string</CO_LINE3>
        <CO_TOWN>string</CO_TOWN>
        <CO_COUNTY>string</CO_COUNTY>
        <CO_POSTCODE>string</CO_POSTCODE>
        <CO_DataKey_For_Internal_use>string</CO_DataKey_For_Internal_use>
        <CO_DataKey_For_Web_use>string</CO_DataKey_For_Web_use>
        <CO_COUNTRY>string</CO_COUNTRY>
        <CO_VATNO>string</CO_VATNO>
        <CO_Phone>string</CO_Phone>
        <CO_Fax>string</CO_Fax>
        <CO_PostcodeAreas>string</CO_PostcodeAreas>
        <CO_Spare_Flag1>boolean</CO_Spare_Flag1>
        <CO_Spare_Flag2>boolean</CO_Spare_Flag2>
        <CO_Spare_Flag3>boolean</CO_Spare_Flag3>
        <CO_Spare_String1>string</CO_Spare_String1>
        <CO_Spare_String2>string</CO_Spare_String2>
        <CO_Spare_String3>string</CO_Spare_String3>
        <CO_Spare_String4>string</CO_Spare_String4>
        <CO_Spare_String5>string</CO_Spare_String5>
        <CO_Spare_Num1>double</CO_Spare_Num1>
        <CO_Spare_Num2>double</CO_Spare_Num2>
        <CO_Spare_Num3>double</CO_Spare_Num3>
      </CustomerRecord>
      <ResellerAccountID>long</ResellerAccountID>
      <ResellerAccountPassword>string</ResellerAccountPassword>
      <ErrorDescription>string</ErrorDescription>
    </CustomerGet>
  </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>
    <CustomerGetResponse xmlns="http://tempuri.org/">
      <CustomerGetResult>boolean</CustomerGetResult>
      <CustomerRecord>
        <CO_TestAccount>boolean</CO_TestAccount>
        <CO_ID>long</CO_ID>
        <CO_e_mail_address>string</CO_e_mail_address>
        <CO_Password>string</CO_Password>
        <CO_COMPANY>string</CO_COMPANY>
        <CO_Contact_Name>string</CO_Contact_Name>
        <CO_LINE1>string</CO_LINE1>
        <CO_LINE2>string</CO_LINE2>
        <CO_LINE3>string</CO_LINE3>
        <CO_TOWN>string</CO_TOWN>
        <CO_COUNTY>string</CO_COUNTY>
        <CO_POSTCODE>string</CO_POSTCODE>
        <CO_DataKey_For_Internal_use>string</CO_DataKey_For_Internal_use>
        <CO_DataKey_For_Web_use>string</CO_DataKey_For_Web_use>
        <CO_COUNTRY>string</CO_COUNTRY>
        <CO_VATNO>string</CO_VATNO>
        <CO_Phone>string</CO_Phone>
        <CO_Fax>string</CO_Fax>
        <CO_PostcodeAreas>string</CO_PostcodeAreas>
        <CO_Spare_Flag1>boolean</CO_Spare_Flag1>
        <CO_Spare_Flag2>boolean</CO_Spare_Flag2>
        <CO_Spare_Flag3>boolean</CO_Spare_Flag3>
        <CO_Spare_String1>string</CO_Spare_String1>
        <CO_Spare_String2>string</CO_Spare_String2>
        <CO_Spare_String3>string</CO_Spare_String3>
        <CO_Spare_String4>string</CO_Spare_String4>
        <CO_Spare_String5>string</CO_Spare_String5>
        <CO_Spare_Num1>double</CO_Spare_Num1>
        <CO_Spare_Num2>double</CO_Spare_Num2>
        <CO_Spare_Num3>double</CO_Spare_Num3>
      </CustomerRecord>
      <ErrorDescription>string</ErrorDescription>
    </CustomerGetResponse>
  </soap12:Body>
</soap12:Envelope>