Customer
Click here for a complete list of operations.
GetUserDetails
Mobile - Get customer login details from a list
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/GetUserDetails"
<?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>
<GetUserDetails xmlns="CIPC_WEB_SERVICES">
<sUserName>string</sUserName>
<sPassword>string</sPassword>
<sBankID>string</sBankID>
<sCust_Code>string</sCust_Code>
</GetUserDetails>
</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>
<GetUserDetailsResponse xmlns="CIPC_WEB_SERVICES">
<GetUserDetailsResult>
<CustomerCode>string</CustomerCode>
<Name>string</Name>
<Surname>string</Surname>
<DisplayName>string</DisplayName>
<Status>string</Status>
<EmailAddress>string</EmailAddress>
<Password>string</Password>
<TelCode>string</TelCode>
<TelNumber>string</TelNumber>
<MobileNumber>string</MobileNumber>
<FaxCode>string</FaxCode>
<FaxNumber>string</FaxNumber>
<PhysicalAddress1>string</PhysicalAddress1>
<PhysicalAddress2>string</PhysicalAddress2>
<PhysicalAddress3>string</PhysicalAddress3>
<PhysicalAddress4>string</PhysicalAddress4>
<PhysicalCode>string</PhysicalCode>
<PostalAddress1>string</PostalAddress1>
<PostalAddress2>string</PostalAddress2>
<PostalAddress3>string</PostalAddress3>
<PostalAddress4>string</PostalAddress4>
<PostalCode>string</PostalCode>
<IDNumber>string</IDNumber>
<PassportNumber>string</PassportNumber>
<RegistrationDate>dateTime</RegistrationDate>
<IDType>int</IDType>
<CustomerType>string</CustomerType>
<DeliveryType>string</DeliveryType>
<CommunicationMethod>string</CommunicationMethod>
<Balance>decimal</Balance>
<EnterpriseName>string</EnterpriseName>
<EnterpriseNumber>string</EnterpriseNumber>
</GetUserDetailsResult>
</GetUserDetailsResponse>
</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>
<GetUserDetails xmlns="CIPC_WEB_SERVICES">
<sUserName>string</sUserName>
<sPassword>string</sPassword>
<sBankID>string</sBankID>
<sCust_Code>string</sCust_Code>
</GetUserDetails>
</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>
<GetUserDetailsResponse xmlns="CIPC_WEB_SERVICES">
<GetUserDetailsResult>
<CustomerCode>string</CustomerCode>
<Name>string</Name>
<Surname>string</Surname>
<DisplayName>string</DisplayName>
<Status>string</Status>
<EmailAddress>string</EmailAddress>
<Password>string</Password>
<TelCode>string</TelCode>
<TelNumber>string</TelNumber>
<MobileNumber>string</MobileNumber>
<FaxCode>string</FaxCode>
<FaxNumber>string</FaxNumber>
<PhysicalAddress1>string</PhysicalAddress1>
<PhysicalAddress2>string</PhysicalAddress2>
<PhysicalAddress3>string</PhysicalAddress3>
<PhysicalAddress4>string</PhysicalAddress4>
<PhysicalCode>string</PhysicalCode>
<PostalAddress1>string</PostalAddress1>
<PostalAddress2>string</PostalAddress2>
<PostalAddress3>string</PostalAddress3>
<PostalAddress4>string</PostalAddress4>
<PostalCode>string</PostalCode>
<IDNumber>string</IDNumber>
<PassportNumber>string</PassportNumber>
<RegistrationDate>dateTime</RegistrationDate>
<IDType>int</IDType>
<CustomerType>string</CustomerType>
<DeliveryType>string</DeliveryType>
<CommunicationMethod>string</CommunicationMethod>
<Balance>decimal</Balance>
<EnterpriseName>string</EnterpriseName>
<EnterpriseNumber>string</EnterpriseNumber>
</GetUserDetailsResult>
</GetUserDetailsResponse>
</soap12:Body>
</soap12:Envelope>