Sample Request Message
LeasePak Documentation Suite NETSOL website
retrieve

(mPower icon) LPCustomer

retrieve

Sample Request Message

The method takes customerNumber to retrieve a customer record.

Sample Request Message With SOAP
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:LPCustomer">
	<soapenv:Header/>
	<soapenv:Body>
		<urn:retrieve>
			<urn:customerNumber>34</urn:customerNumber>
		</urn:retrieve>
	</soapenv:Body>
</soapenv:Envelope>
Sample Request Message With SOAP (Invalid Input)
Example: Invalid customerNumber and does not exist.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:LPCustomer">
	<soapenv:Header/>
	<soapenv:Body>
		<urn:retrieve>
			<urn:customerNumber>100</urn:customerNumber>
		</urn:retrieve>
	</soapenv:Body>
</soapenv:Envelope>