Sample Response Message
LeasePak Documentation Suite NETSOL website
loadBatchPayment

(mPower icon) LPPayment

loadBatchPayment

Sample Successful Response without SOAP
<BATCH_PAYMENTS>
	<INFO>API Processing Started.</INFO>
	<ERROR>Record(1)Lease number OPER-1 not found.</ERROR>
	<ERROR>Record(2)Group 1 could not be found</ERROR>
	<ERROR>Record(3)Customer 1005 could not be found</ERROR>
	<INFO>Record(4)Batch payment record is added successfully.</INFO>
	<ERROR>Record(5)Lease number CS-1 not found.</ERROR>
	<ERROR>Record(6)Lease number IBL-1 not found.</ERROR>
	<ERROR>Record(7)Only one of the tags is allowed as input [leaseNumber, invoice or customer]</ERROR>
	<ERROR>Record(8)Lease number IBL-11 not found.</ERROR>
	<ERROR>Record(9)Invoice number 1711 could not be found</ERROR>
	<ERROR>Record(10)Only one of the tags is allowed as input [leaseNumber, invoice or customer]</ERROR>
	<ERROR>Record(11)ERROR: Invalid value (12345678900) encountered while parsing [checkNumber] element.</ERROR>
	<ERROR>Record(12)ERROR: Invalid value (14525) encountered while parsing [account] element.</ERROR>
	<ERROR>Record(13)Batch number must consist of 20 digits.</ERROR>
	<ERROR>Record(14)Lease number IBL-1 not found.</ERROR>
	<ERROR>Record(15)Lease number FIN-2 not found.</ERROR>
	<INFO>API Processing Completed.</INFO>
</BATCH_PAYMENTS>
Sample Error Response without SOAP
<BATCH_PAYMENTS>
	<INFO>API Processing Started.</INFO>
	<ERROR>Record(1)Lease number 99 not found.</ERROR>
	<INFO>API Processing Completed.</INFO>
</BATCH_PAYMENTS>
Sample Successful Response with SOAP
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
	<soapenv:Body>
		<ns:loadBatchPaymentResponse xmlns:ns="urn:LPPayment">
			<ns:return><![CDATA[
			<BATCH_PAYMENTS>
				<INFO>API Processing Started.</INFO>
				<ERROR>Record(1)Lease number OPER-1 not found.</ERROR>
				<ERROR>Record(2)Group 1 could not be found</ERROR>
				<ERROR>Record(3)Customer 1005 could not be found</ERROR>
				<INFO>Record(4)Batch payment record is added successfully.</INFO>
				<ERROR>Record(5)Lease number CS-1 not found.</ERROR>
				<ERROR>Record(6)Lease number IBL-1 not found.</ERROR>
				<ERROR>Record(7)Only one of the tags is allowed as input [leaseNumber, invoice or customer]</ERROR>
				<ERROR>Record(8)Lease number IBL-11 not found.</ERROR>
				<ERROR>Record(9)Invoice number 1711 could not be found</ERROR>
				<ERROR>Record(10)Only one of the tags is allowed as input [leaseNumber, invoice or customer]</ERROR>
				<ERROR>Record(11)ERROR: Invalid value (12345678900) encountered while parsing [checkNumber] element.</ERROR>
				<ERROR>Record(12)ERROR: Invalid value (14525) encountered while parsing [account] element.</ERROR>
				<ERROR>Record(13)Batch number must consist of 20 digits.</ERROR>
				<ERROR>Record(14)Lease number IBL-1 not found.</ERROR>
				<ERROR>Record(15)Lease number FIN-2 not found.</ERROR>
				<INFO>API Processing Completed.</INFO>
			</BATCH_PAYMENTS>         
         ]]></ns:return>
		</ns:loadBatchPaymentResponse>
	</soapenv:Body>
</soapenv:Envelope>
Sample Error Response with SOAP
Error - Output with invalid lease number
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
	<soapenv:Body>
		<ns:loadBatchPaymentResponse xmlns:ns="urn:LPPayment">
			<ns:return><![CDATA[
			<BATCH_PAYMENTS>
				<INFO>API Processing Started.</INFO>
				<ERROR>Record(1)Lease number 99 not found.</ERROR>
				<INFO>API Processing Completed.</INFO>
			</BATCH_PAYMENTS>			
         ]]></ns:return>
		</ns:loadBatchPaymentResponse>
	</soapenv:Body>
</soapenv:Envelope>