Customer


Click here for a complete list of operations.

GetCustLoginDetails_k2

Returns a string of the Customer Login Data.

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 /Customer.asmx HTTP/1.1
Host: webservices1.cipc.co.za
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "CIPC_WEB_SERVICES/GetCustLoginDetails_k2"

<?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>
    <GetCustLoginDetails_k2 xmlns="CIPC_WEB_SERVICES">
      <sUserName>string</sUserName>
      <sPassword>string</sPassword>
      <sBankID>string</sBankID>
      <sCust_Code>string</sCust_Code>
    </GetCustLoginDetails_k2>
  </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>
    <GetCustLoginDetails_k2Response xmlns="CIPC_WEB_SERVICES">
      <GetCustLoginDetails_k2Result>
        <agent_code>string</agent_code>
        <password>string</password>
        <status>string</status>
        <agent_type>string</agent_type>
        <agent_id_no>string</agent_id_no>
        <cell_no>string</cell_no>
        <email>string</email>
        <phys_addr1>string</phys_addr1>
        <phys_addr2>string</phys_addr2>
        <phys_addr3>string</phys_addr3>
        <phys_addr4>string</phys_addr4>
        <phys_code>string</phys_code>
        <post_addr1>string</post_addr1>
        <post_addr2>string</post_addr2>
        <post_addr3>string</post_addr3>
        <post_addr4>string</post_addr4>
        <post_code>string</post_code>
        <balance>string</balance>
        <agent_name>string</agent_name>
      </GetCustLoginDetails_k2Result>
    </GetCustLoginDetails_k2Response>
  </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 /Customer.asmx HTTP/1.1
Host: webservices1.cipc.co.za
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>
    <GetCustLoginDetails_k2 xmlns="CIPC_WEB_SERVICES">
      <sUserName>string</sUserName>
      <sPassword>string</sPassword>
      <sBankID>string</sBankID>
      <sCust_Code>string</sCust_Code>
    </GetCustLoginDetails_k2>
  </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>
    <GetCustLoginDetails_k2Response xmlns="CIPC_WEB_SERVICES">
      <GetCustLoginDetails_k2Result>
        <agent_code>string</agent_code>
        <password>string</password>
        <status>string</status>
        <agent_type>string</agent_type>
        <agent_id_no>string</agent_id_no>
        <cell_no>string</cell_no>
        <email>string</email>
        <phys_addr1>string</phys_addr1>
        <phys_addr2>string</phys_addr2>
        <phys_addr3>string</phys_addr3>
        <phys_addr4>string</phys_addr4>
        <phys_code>string</phys_code>
        <post_addr1>string</post_addr1>
        <post_addr2>string</post_addr2>
        <post_addr3>string</post_addr3>
        <post_addr4>string</post_addr4>
        <post_code>string</post_code>
        <balance>string</balance>
        <agent_name>string</agent_name>
      </GetCustLoginDetails_k2Result>
    </GetCustLoginDetails_k2Response>
  </soap12:Body>
</soap12:Envelope>