Sample Response Message
LeasePak Documentation Suite NETSOL website
add

(mPower icon) LPGuarantor

add

Sample Successful Response without SOAP

<?xml version="1.0"?>
<LP_RESPONSE_INFO>
	<RESULT_RECORD>
		<TYPE>INFO</TYPE>
		<RECORD>GUARANTOR</RECORD>
		<KEY>177</KEY>
		<FIELD>clientNumber</FIELD>
		<MSGCODE>3003</MSGCODE>
		<MSGTEXT>New Guarantor number is:177</MSGTEXT>
	</RESULT_RECORD>
</LP_RESPONSE_INFO>
Sample Successful Response with SOAP

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
	<soapenv:Body>
		<ns:addResponse xmlns:ns="urn:LPGuarantor">
			<ns:return><![CDATA[<?xml version="1.0"?>
			<LP_RESPONSE_INFO>
				<RESULT_RECORD>
					<TYPE>INFO</TYPE>
					<RECORD>GUARANTOR</RECORD>
					<KEY>177</KEY>
					<FIELD>clientNumber</FIELD>
					<MSGCODE>3003</MSGCODE>
					<MSGTEXT>New Guarantor number is:177</MSGTEXT>
				</RESULT_RECORD>
			</LP_RESPONSE_INFO>
         ]]></ns:return>
		</ns:addResponse>
	</soapenv:Body>
</soapenv:Envelope>
Sample Response Message with SOAP (error response)

Example: Response when Address1 field is blank.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
	<soapenv:Body>
		<ns:addResponse xmlns:ns="urn:LPGuarantor">
			<ns:return><![CDATA[<?xml version="1.0"?>
			<LP_RESPONSE_INFO>
				<RESULT_RECORD>
					<TYPE>ERROR</TYPE>
					<RECORD>GUARANTOR</RECORD>
					<FIELD>address1</FIELD>
					<MSGCODE>1037</MSGCODE>
					<MSGTEXT>Input Required.</MSGTEXT>
				</RESULT_RECORD>
			</LP_RESPONSE_INFO>
        ]]></ns:return>
		</ns:addResponse>
	</soapenv:Body>
</soapenv:Envelope>