NEW2.02.04 · Released 13 February 2015
NEWfinPOWER Connect
Released in
2.02.04
13 February 2015
  1. Opened7 Nov 2014
  2. Closed22 Dec 2014
  3. Released13 Feb
Article 12535 Job J014451

MotorWeb; fully implement VIR Response XML

The Response returned from a MotroWeb VIR is now fully expanded into objects within finPOWER Connect, allowing enhanced information to be retrieved.

An example of using this in code is given below:

Public Function Main(parameters As ISKeyValueList) As Boolean Dim response As ISSecurityEnquiryResponse_MotorWeb_Vir ' Assume Success Main = True With finBL.SecurityEnquiryMotorWeb If .ExecuteGetVehicleReportXMLFromPlateOrVin("PLATE", response) Then finBL.DebugPrint(response.VirAnalysis.Vehicle.Vin) finBL.DebugPrint(response.VirAnalysis.Vehicle.CountryOfOriginCode) finBL.DebugPrint(response.VirAnalysis.Vehicle.MaxRatedTowedMassForBrakedTrailerValue & " " & response.VirAnalysis.Vehicle.MaxRatedTowedMassForBrakedTrailerUnit) Else MsgBox(finBL.Error.Message(True, True)) End If End With End Function</code>