Sample Response Message
LeasePak Documentation Suite NETSOL website
getR0405A

(mPower icon) LPReports

getR0405A

Sample Successful Response without SOAP
<?xml version="1.0"?>
<!-- [R0405A] -->
<r0405a hrefs_on="-1" lpmreq_on="-1" popups_on="-1">
	<key_change>
		<header>
			<run_dt>9/13/17</run_dt>
			<run_tm>3:56am</run_tm>
			<user_s>SANASA</user_s>
			<version_s>Linux Oracle 7.00.5639</version_s>
			<por_name_s>VAX/DEC TEST MGR PORTFOLIO 2</por_name_s>
			<div_name_s>EQUIPMENT LEASE DIVISION</div_name_s>
			<lskey>
				<type_s>PORTFOLIO</type_s>
				<data_s>2</data_s>
				<desc_s>VAX/DEC TEST MGR PORTFOLIO 2</desc_s>
				<criteria_s>SELECTED LEASE: 50</criteria_s>
			</lskey>
			<lskey>
				<type_s>COMPANY</type_s>
				<data_s>1</data_s>
				<desc_s>COMPANY 1</desc_s>
				<criteria_s>PERIOD ENDING  9/13/17</criteria_s>
			</lskey>
			<lskey>
				<type_s>REGION</type_s>
				<data_s>1</data_s>
				<desc_s>REGION 1</desc_s>
				<criteria_s/>
			</lskey>
			<lskey>
				<type_s>OFFICE</type_s>
				<data_s>1</data_s>
				<desc_s>OFFICE 1</desc_s>
				<criteria_s/>
			</lskey>
		</header>
		<data>
			<lse_s>50</lse_s>
			<tx_code_s>100</tx_code_s>
			<tx_type_s>NEW LEASE ADD</tx_type_s>
			<tx_dt>1/31/14</tx_dt>
			<amount_d>1,000.00</amount_d>
			<opr_s>SA</opr_s>
			<debit_acct_s>CLEARING</debit_acct_s>
			<credit_acct_s>CASH 126 - DEFAULT DISBURSAL</credit_acct_s>
			<comment_s/>
			<unit_s>78</unit_s>
			<check_s>84</check_s>
			<invo_s>203</invo_s>
			<susp_s/>
			<eff_dt>1/01/89</eff_dt>
			<invo_due_dt>1/01/89</invo_due_dt>
			<debit_l>0</debit_l>
			<credit_l>126</credit_l>
		</data>
	</key_change>
</r0405a>
Sample Error Response Without SOAP
Error: Response Message without Lease Number
<?xml version="1.0"?>
<R0405_ERROR>
	<ERROR>Lease number is required.</ERROR>
</R0405_ERROR>
Error: Response Message with Invalid Lease Number
<?xml version="1.0" encoding="UTF-8"?>
<R0405_ERROR>
	<ERROR>Lease record does not exist for key 2.5.</ERROR>
</R0405_ERROR>
Sample Successful Response with SOAP
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
	<soapenv:Body>
		<ns:getR0405AResponse xmlns:ns="urn:LPReports">
			<ns:return><![CDATA[<?xml version="1.0"?>
			<!-- [R0405A] -->
			<r0405a hrefs_on="-1" lpmreq_on="-1" popups_on="-1">
				<key_change>
					<header>
						<run_dt>9/13/17</run_dt>
						<run_tm>3:56am</run_tm>
						<user_s>SANASA</user_s>
						<version_s>Linux Oracle 7.00.5639</version_s>
						<por_name_s>VAX/DEC TEST MGR PORTFOLIO 2</por_name_s>
						<div_name_s>EQUIPMENT LEASE DIVISION</div_name_s>
						<lskey>
							<type_s>PORTFOLIO</type_s>
							<data_s>2</data_s>
							<desc_s>VAX/DEC TEST MGR PORTFOLIO 2</desc_s>
							<criteria_s>SELECTED LEASE: 50</criteria_s>
						</lskey>
						<lskey>
							<type_s>COMPANY</type_s>
							<data_s>1</data_s>
							<desc_s>COMPANY 1</desc_s>
							<criteria_s>PERIOD ENDING  9/13/17</criteria_s>
						</lskey>
						<lskey>
							<type_s>REGION</type_s>
							<data_s>1</data_s>
							<desc_s>REGION 1</desc_s>
							<criteria_s/>
						</lskey>
						<lskey>
							<type_s>OFFICE</type_s>
							<data_s>1</data_s>
							<desc_s>OFFICE 1</desc_s>
							<criteria_s/>
						</lskey>
					</header>
					<data>
						<lse_s>50</lse_s>
						<tx_code_s>100</tx_code_s>
						<tx_type_s>NEW LEASE ADD</tx_type_s>
						<tx_dt>1/31/14</tx_dt>
						<amount_d>1,000.00</amount_d>
						<opr_s>SA</opr_s>
						<debit_acct_s>CLEARING</debit_acct_s>
						<credit_acct_s>CASH 126 - DEFAULT DISBURSAL</credit_acct_s>
						<comment_s/>
						<unit_s>78</unit_s>
						<check_s>84</check_s>
						<invo_s>203</invo_s>
						<susp_s/>
						<eff_dt>1/01/89</eff_dt>
						<invo_due_dt>1/01/89</invo_due_dt>
						<debit_l>0</debit_l>
						<credit_l>126</credit_l>
					</data>
				</key_change>
			</r0405a>
			]]></ns:return>
		</ns:getR0405AResponse>
	</soapenv:Body>
</soapenv:Envelope>
Sample Error Response with SOAP
Error: Response Message without Lease Number
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
	<soapenv:Body>
		<ns:getR0405AResponse xmlns:ns="urn:LPReports">
			<ns:return>
			<?xml version="1.0"?>
				<R0405_ERROR>
					<ERROR>Lease number is required.</ERROR>
				</R0405_ERROR>
			</ns:return>
		</ns:getR0405AResponse>
	</soapenv:Body>
</soapenv:Envelope>
Error: Response Message with Invalid Lease Number
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
	<soapenv:Body>
		<ns:getR0405AResponse xmlns:ns="urn:LPReports">
			<ns:return>
				<R0405_ERROR>
				<?xml version="1.0"?>
					<ERROR>Lease record does not exist for key 2.5.</ERROR>
				</R0405_ERROR>
			</ns:return>
		</ns:getR0405AResponse>
	</soapenv:Body>
</soapenv:Envelope>