Sample Response Message
LeasePak Documentation Suite NETSOL website
extractExtendedCodes

(mPower icon) LPSearch

extractExtendedCodes

Sample Successful Response without SOAP
<?xml version="1.0"?>
<LPSEARCH>
	<RESULT>
		<data>
			<office>  1</office>
			<offcName>OFFICE 1                            </offcName>
		</data>
		<data>
			<office>  2</office>
			<offcName>OFFICE 2                            </offcName>
		</data>
	</RESULT>
</LPSEARCH>
Sample Error Response
<?xml version="1.0"?>
<LPSEARCH>
	<ERROR>No search results found!</ERROR>
</LPSEARCH>
Sample Successful Response with SOAP
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
	<soapenv:Body>
		<ns:extractExtendedCodesResponse xmlns:ns="urn:LPSearch">
			<ns:return><![CDATA[<?xml version="1.0"?>
			<LPSEARCH>
				<RESULT>
					<data>
						<office>  1</office>
						<offcName>OFFICE 1                            </offcName>
					</data>
					<data>
						<office>  2</office>
						<offcName>OFFICE 2                            </offcName>
					</data>
				</RESULT>
			</LPSEARCH>
			]]></ns:return>
		</ns:extractExtendedCodesResponse>
	</soapenv:Body>
</soapenv:Envelope>
Sample Error Response with SOAP
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
	<soapenv:Body>
		<ns:extractExtendedCodesResponse xmlns:ns="urn:LPSearch">
			<ns:return>
			<?xml version="1.0"?>
				<LPSEARCH>
					<ERROR>No search results found!</ERROR>
				</LPSEARCH>
			</ns:return>
		</ns:extractExtendedCodesResponse>
	</soapenv:Body>
</soapenv:Envelope>