Sample Response Message
LeasePak Documentation Suite NETSOL website
update

(mPower icon) LPGuarantor

update

Sample Successful Response without SOAP
<?xml version="1.0"?>
<LP_RESPONSE_INFO>
	<RESULT_RECORD>
		<TYPE>INFO</TYPE>
		<RECORD>GUARANTOR</RECORD>
		<KEY>14</KEY>
		<FIELD>clientNumber</FIELD>
		<MSGCODE>0</MSGCODE>
		<MSGTEXT>Successful.</MSGTEXT>
	</RESULT_RECORD>
</LP_RESPONSE_INFO>
Sample Successful Response with SOAP
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
	<soapenv:Body>
		<ns:updateResponse xmlns:ns="urn:LPGuarantor">
			<ns:return><![CDATA[<?xml version="1.0"?>
				<LP_RESPONSE_INFO>
					<RESULT_RECORD>
						<TYPE>INFO</TYPE>
						<RECORD>GUARANTOR</RECORD>
						<KEY>14</KEY>
						<FIELD>clientNumber</FIELD>
						<MSGCODE>0</MSGCODE>
						<MSGTEXT>Successful.</MSGTEXT>
					</RESULT_RECORD>
				</LP_RESPONSE_INFO>
			]]></ns:return>
		</ns:updateResponse>
	</soapenv:Body>
</soapenv:Envelope>
Sample Response Message with SOAP (error output)

Example: When portfolio field valuei s NULL.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
	<soapenv:Body>
		<ns:updateResponse xmlns:ns="urn:LPGuarantor">
			<ns:return><![CDATA[<?xml version="1.0"?>
			<LP_RESPONSE_INFO>
				<RESULT_RECORD>
					<TYPE>ERROR</TYPE>
					<RECORD>GUARANTOR</RECORD>
					<KEY>14</KEY>
					<FIELD>portfolio</FIELD>
					<MSGCODE>1037</MSGCODE>
					<MSGTEXT>Input Required.</MSGTEXT>
				</RESULT_RECORD>
			</LP_RESPONSE_INFO>
        ]]></ns:return>
		</ns:updateResponse>
	</soapenv:Body>
</soapenv:Envelope>