Sample Response Message
LeasePak Documentation Suite NETSOL website
addNote

(mPower icon) LPNotebook

addNote

Sample Successful Response without SOAP
Successfully added client note:
<?xml version="1.0"?>
<LPNOTEBOOK>
	<RESULT_RECORD>
		<TYPE>INFO</TYPE>
		<RECORD>NOTEBOOK</RECORD>
		<FIELD>clientNumber</FIELD>
		<MSGCODE>3111</MSGCODE>
		<MSGTEXT>Note added successfully.</MSGTEXT>
	</RESULT_RECORD>
</LPNOTEBOOK>
	
Successfully added App/Lease note:
<?xml version="1.0"?>
<LPNOTEBOOK>
	<RESULT_RECORD>
		<TYPE>INFO</TYPE>
		<RECORD>NOTEBOOK</RECORD>
		<FIELD>appLeaseNumber</FIELD>
		<MSGCODE>3111</MSGCODE>
		<MSGTEXT>Note added successfully.</MSGTEXT>
	</RESULT_RECORD>
</LPNOTEBOOK>
Sample Error Response Without SOAP
With invalid time:
<?xml version="1.0"?>
<LPNOTEBOOK>
	<RESULT_RECORD>
		<TYPE>ERROR</TYPE>
		<RECORD>NOTEBOOK</RECORD>
		<KEY>43</KEY>
		<FIELD>timeEntered</FIELD>
		<MSGCODE>1936</MSGCODE>
		<MSGTEXT>Invalid Time.</MSGTEXT>
	</RESULT_RECORD>
</LPNOTEBOOK>
Sample Successful Response with SOAP
Successfully added client note:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
	<soapenv:Body>
		<ns:addNoteResponse xmlns:ns="urn:LPNotebookAPI">
			<ns:return><![CDATA[<?xml version="1.0"?>
			<LPNOTEBOOK>
				<RESULT_RECORD>
					<TYPE>INFO</TYPE>
					<RECORD>NOTEBOOK</RECORD>
					<FIELD>clientNumber</FIELD>
					<MSGCODE>3111</MSGCODE>
					<MSGTEXT>Note added successfully.</MSGTEXT>
				</RESULT_RECORD>
			</LPNOTEBOOK>         
         ]]></ns:return>
		</ns:addNoteResponse>
	</soapenv:Body>
</soapenv:Envelope>
	
Successfully added App/Lease note:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
	<soapenv:Body>
		<ns:addNoteResponse xmlns:ns="urn:LPNotebookAPI">
			<ns:return><![CDATA[<?xml version="1.0"?>
			<LPNOTEBOOK>
				<RESULT_RECORD>
					<TYPE>INFO</TYPE>
					<RECORD>NOTEBOOK</RECORD>
					<FIELD>appLeaseNumber</FIELD>
					<MSGCODE>3111</MSGCODE>
					<MSGTEXT>Note added successfully.</MSGTEXT>
				</RESULT_RECORD>
			</LPNOTEBOOK>			
			]]></ns:return>
		</ns:addNoteResponse>
	</soapenv:Body>
</soapenv:Envelope>
Sample Error Response with SOAP
With invalid time:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
	<soapenv:Body>
		<ns:addNoteResponse xmlns:ns="urn:LPNotebookAPI">
			<ns:return><![CDATA[<?xml version="1.0"?>
			<LPNOTEBOOK>
				<RESULT_RECORD>
					<TYPE>ERROR</TYPE>
					<RECORD>NOTEBOOK</RECORD>
					<KEY>43</KEY>
					<FIELD>timeEntered</FIELD>
					<MSGCODE>1936</MSGCODE>
					<MSGTEXT>Invalid Time.</MSGTEXT>
				</RESULT_RECORD>
			</LPNOTEBOOK> 
         ]]></ns:return>
		</ns:addNoteResponse>
	</soapenv:Body>
</soapenv:Envelope>