updateAsset
LeasePak Documentation Suite NETSOL website
updateAsset

(mPower icon) updateAsset

This method takes XML input file, validate the values of the elements of XML, and then process the updateAsset. The updateAsset method of the LPBookLease web service updates the following two types of fields in LeasePak:

  • Asset level user defined fields
  • Asset level license plate and license plate state fields.


The method uses an XML file to update these fields.The information to be input in LeasePak is received from RL Polk in the form of a text file with fixed length fields. A standalone custom script is used to convert this file into an XML file that the updateAsset method can use. You have to place the flat file received from RL Polk on the server where the custom conversion script resides, which converts the file into an XML file and places it at the same location.

public java.lang.String updateAsset(java.lang.String input, boolean requireOnLease)

Throws:

    java.rmi.RemoteException - Exceptions that may occur during the execution of a remote method call.

Where:

      requireOnLease - - True when the asset must be on lease to be updated otherwise false.

      input - - An XML document with all values needed to update user defined asset fields and the asset license plate.

Table of Contents

Reference Grid
Request Reference Grid
Response Reference Grid

Schema (DTD)
Request DTD
Response DTD

Schema (XSD)
Request XSD
Response XSD

Sample Messages
Sample Request Message
Sample Response Message