Sample Response Message
LeasePak Documentation Suite NETSOL website
updateAsset

(mPower icon) LPBookLease

updateAsset

Sample Successful Response without SOAP
<?xml version="1.0"?>
<ASSET_UPDATE>
	<INFO>API Processing Started.</INFO>
	<INFO>ASSET:(43)Asset updated successfully.</INFO>
	<INFO>API Processing Completed.</INFO>
</ASSET_UPDATE>
Sample Error Response
<?xml version="1.0"?>
<ASSET_UPDATE>
	<INFO>API Processing Started.</INFO>
	<ERROR>ASSET:(84)Asset is not on lease.</ERROR>
	<INFO>API Processing Completed.</INFO>
</ASSET_UPDATE>
Sample Successful Response with SOAP
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
	<soapenv:Body>
		<ns:updateAssetResponse xmlns:ns="urn:LPBookLease">
			<ns:return><![CDATA[<?xml version="1.0"?>
			<ASSET_UPDATE>
				<INFO>API Processing Started.</INFO>
				<INFO>ASSET:(43)Asset updated successfully.</INFO>
				<INFO>API Processing Completed.</INFO>
			</ASSET_UPDATE>
             ]]></ns:return>
		</ns:updateAssetResponse>
	</soapenv:Body>
</soapenv:Envelope>
Sample Error Response with SOAP
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
	<soapenv:Body>
		<ns:updateAssetResponse xmlns:ns="urn:LPBookLease">
			<ns:return><![CDATA[<?xml version="1.0"?>
				<ASSET_UPDATE>
					<INFO>API Processing Started.</INFO>
					<ERROR>ASSET:(84)Asset is not on lease.</ERROR>
					<INFO>API Processing Completed.</INFO>
				</ASSET_UPDATE>
			 ]]></ns:return>
		</ns:updateAssetResponse>
	</soapenv:Body>
</soapenv:Envelope>