Response Codes and Messages
LeasePak Documentation Suite NETSOL website
Web Services API (mPower) Server

(mPower icon) Web Services API Server

Response Codes and Messages

LeasePak supports two types of response messages from the MSG table:

  1. Customizable XML structured response message format: This format is useful for users requiring customizable error or information message response when integrating with their own or third party applications or software. To set up for the customizable XML structured response error or information, comment out the following element in leasepak.xml and restart mPower :
    <!--<LOGICALS>
           <RESPONSE_MSG_STYLE>V67A</RESPONSE_MSG_STYLE>
    </LOGICALS>
    -->
    
    <LOGICALS>
           <RESPONSE_MSG_STYLE>V70A</RESPONSE_MSG_STYLE>
    </LOGICALS>
    
    By default this element is commented out and users will not need to set up leaspak.xml for v7.0a.
  2. XML response message with standard stored response code and message. Enable the following element in leasepak.xml to set up for standard stored response xml codes and messages:
    <LOGICALS>
    	<RESPONSE_MSG_STYLE>V67A</RESPONSE_MSG_STYLE>
    </LOGICALS>
    

Note Level 1The element name and the value is case sensitive (upper case) to enable and disable the message format.

The following methods are applicable to customizable xml structured response message format with additional parameters:

LPCustomer

LPGuarantor LPLessee LPVendor MsiAppExtractor MsiAppOriginator MsiAppOriginatorDocLit