Read Client
Method URI: https://www.mcssl.com/API/{MerchantId}/Clients/{id}[/READ]
Example Request https://www.mcssl.com/API/118303/Clients/173457260
POST DATA <Request> <Key>9679623159ec4a51a9...</Key> </Request>
Element Name | Description | Required | Default |
---|---|---|---|
Key | Your Merchant Key | Y |
Example Response <Response success="true" xmlns:xlink="http://www.w3.org/1999/xlink"> <ClientInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Id>173457260</Id> <MerchantId>32012</MerchantId> <Email>[email protected]</Email> <FirstName>test</FirstName> <LastName>test</LastName> <Address1>1 Shop St.</Address1> <City>Barrie</City> <Zip>L0L 1L0</Zip> <StateName>Ontario</StateName> <CountryName>Canada</CountryName> <Phone>999-9999</Phone> </ClientInfo> </Response>
The <Response> root element has a success attribute. This will be true or false. In the case of a false value you will get an Error element in the Response
Error Response
<Response success="false">
<Error code="2040">No data found</Error>
</Response>