Sample Response Message
LeasePak Documentation Suite NETSOL website
change

(mPower icon) LPChangeLeaseKey

change

Sample Successful Response
Sample 1
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
	<soapenv:Body>
		<ns:changeResponse xmlns:ns="urn:LPChangeLeaseKey">
			<ns:return>INFO:0000:Lease (25) key has been successfully changed to [POR:  2, COM:  1, REG:  1, OFF:   2].</ns:return>
		</ns:changeResponse>
	</soapenv:Body>
</soapenv:Envelope>
Sample 2
<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"> <soapenv:Body> <ns:changeResponse xmlns:ns="urn:LPChangeLeaseKey"> <ns:return>INFO:0000:Lease (50) key has been successfully changed to [POR: 5, COM: 1, REG: 1, OFF: 1].</ns:return> </ns:changeResponse> </soapenv:Body> </soapenv:Envelope>
Sample Error Response

Error response with error code and its reason description

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
	<soapenv:Body>
		<ns:changeResponse xmlns:ns="urn:LPChangeLeaseKey">
			<ns:return>ERROR:5001:Existing Lease Number not found.</ns:return>
		</ns:changeResponse>
	</soapenv:Body>
</soapenv:Envelope>
Response with blank input parameters
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
	<soapenv:Body>
		<ns:changeResponse xmlns:ns="urn:LPChangeLeaseKey">
			<ns:return>ERROR:4001:Lease number is required.</ns:return>
		</ns:changeResponse>
	</soapenv:Body>
</soapenv:Envelope>
Response without Lease Number
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
	<soapenv:Body>
		<ns:changeResponse xmlns:ns="urn:LPChangeLeaseKey">
			<ns:return>ERROR:4001:Lease number is required.</ns:return>
		</ns:changeResponse>
	</soapenv:Body>
</soapenv:Envelope>
Response when Base Rates are not updated
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
	<soapenv:Body>
		<ns:changeResponse xmlns:ns="urn:LPChangeLeaseKey">
			<ns:return>ERROR:5001:Use the Float index update [U0705] to update all rates for today.</ns:return>
		</ns:changeResponse>
	</soapenv:Body>
</soapenv:Envelope>
Response with invalid Date Format
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
	<soapenv:Body>
		<ns:changeResponse xmlns:ns="urn:LPChangeLeaseKey">
			<ns:return>ERROR:3001:Invalid value (890318) encountered while parsing [eff_date] element.</ns:return>
		</ns:changeResponse>
	</soapenv:Body>
</soapenv:Envelope>