|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.networkcar.webservices.NetworkcarWebservice
public class NetworkcarWebservice
| Constructor Summary | |
|---|---|
NetworkcarWebservice()
|
|
NetworkcarWebservice(java.lang.String userName,
java.lang.String password)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getAlertDataXml(java.lang.String vin)
Get and return the requested Vehicle Alert List. |
java.lang.String |
getCustomerCarListXml(java.lang.String username,
java.lang.String password)
Get and return the requested Customer Car List. |
java.lang.String |
getCustomerInfoXml(int customerId)
Gets detailed Customer Info for a given Customer ID. |
java.lang.String |
getDiagnosticDataXml(java.lang.String vin,
java.lang.String... mlds)
Get and return the specified Mid Level Diagnostic Code List. |
java.lang.String |
getDrivingStatisticsXml(java.lang.String vin,
java.lang.String histType,
java.lang.String fromDate,
java.lang.String toDate)
Get and return the requested histogram (driving stats) data. |
java.lang.String |
getFleetDiagnosticsXml(java.lang.String... mlds)
Get and return the requested Fleet Diagnostic data specidifed by the Mid Level Diagnostic Code List |
java.lang.String |
getFleetGpsInfoXml()
Get the latest GPS information for a fleet |
java.lang.String |
getFleetMpgAverageXml(java.lang.String fromDate,
java.lang.String toDate)
Get and return the requested Fleet MPG Average Data for the period specified. |
java.lang.String |
getGpsInfoXml(java.lang.String vin)
Get the latest GPS information for the supplied VIN. |
java.lang.String |
getGpsTrackAdvancedXml(java.lang.String vin,
java.lang.String fromDate,
java.lang.String toDate,
java.lang.String keyOffFlag,
int fixCount,
java.lang.String sortDirection)
Get the GPS Track information for the supplied VIN, date range and other qualifying data, including the number of points (30 max) and the sort order (ascending or descending). |
java.lang.String |
getGpsTrackXml(java.lang.String vin,
java.lang.String fromDate,
java.lang.String toDate,
java.lang.String keyOffFlag)
Get the GPS Track information for the supplied VIN, date range and other qualifying data. |
java.lang.String |
getInspectionDataXml(java.lang.String vin)
Get and return the requested Vehicle Inspection Data List. |
java.lang.String |
getMpgAverageXml(java.lang.String vin,
java.lang.String fromDate,
java.lang.String toDate)
Get and return the requested Vehicle MPG Average Data for the period specified. |
java.lang.String |
getMpgHistoryXml(java.lang.String username,
java.lang.String password,
java.lang.String vin,
java.lang.String fromDate,
java.lang.String toDate)
Get and return the requested Vehicle MPG History Data for the period specified. |
java.lang.String |
getServiceHistoryXml()
Get and return the requested Service History List. |
java.lang.String |
getServiceRecordXml(int workOrderId)
Get and return the requested Service Record. |
java.lang.String |
getVehicleDataXml(java.lang.String vin)
Get and return the requested Vehicle Diagnostic List. |
java.lang.String |
updateOdometerXml(java.lang.String vin,
java.lang.String odo,
boolean isAbsoluteOdo,
boolean odoUnitsInMiles)
Update the odometer field for any vehicle by specifying either an absolute value or an offset to be applied to the existing value (base). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NetworkcarWebservice()
public NetworkcarWebservice(java.lang.String userName,
java.lang.String password)
| Method Detail |
|---|
public java.lang.String getGpsInfoXml(java.lang.String vin)
throws java.rmi.RemoteException
vin - String Vehicle Identification Number.
java.rmi.RemoteException - if there is
a communications or systems failure
public java.lang.String getGpsTrackXml(java.lang.String vin,
java.lang.String fromDate,
java.lang.String toDate,
java.lang.String keyOffFlag)
throws java.rmi.RemoteException
String - Vehicle Identification Number.String - From Date in format "YYYY-MM-DD HH:MM:SS".String - To Date in format "YYYY-MM-DD HH:MM:SS".String - KeyOff Flag "Y" or "N" (returns only Stop locs if "Y").
java.rmi.RemoteException - if there is a communications or
systems failure.
public java.lang.String getGpsTrackAdvancedXml(java.lang.String vin,
java.lang.String fromDate,
java.lang.String toDate,
java.lang.String keyOffFlag,
int fixCount,
java.lang.String sortDirection)
throws java.rmi.RemoteException
String - Vehicle Identification Number.String - From Date in format "YYYY-MM-DD HH:MM:SS".String - To Date in format "YYYY-MM-DD HH:MM:SS".String - KeyOff Flag "Y" or "N" (returns only Stop locs if "Y").int - Number of GPS Fix locations to return (default = 30)String - Sort direction of data ('A'scending or 'D'escending)
java.rmi.RemoteException - if there is a communications or
systems failure.
public java.lang.String getFleetGpsInfoXml()
throws java.rmi.RemoteException
java.rmi.RemoteException - if there is a communications or
systems failure.
public java.lang.String getVehicleDataXml(java.lang.String vin)
throws java.rmi.RemoteException
VIN - String Vehicle Identification Number.
java.rmi.RemoteException - if there is an authentication failure
public java.lang.String getAlertDataXml(java.lang.String vin)
throws java.rmi.RemoteException
VIN - String Vehicle Identification Number.
java.rmi.RemoteException - if there is an authentication failure
public java.lang.String getDiagnosticDataXml(java.lang.String vin,
java.lang.String... mlds)
throws java.rmi.RemoteException
VIN - String Vehicle Identification Number.MLDs - String[] List of MLD codes to report (optional).
java.rmi.RemoteException - if there is an authentication failure
public java.lang.String getInspectionDataXml(java.lang.String vin)
throws java.rmi.RemoteException
VIN - String Vehicle Identification Number.
java.rmi.RemoteException - if there is an authentication failure
public java.lang.String getServiceHistoryXml()
throws java.rmi.RemoteException
java.rmi.RemoteException - if there is an authentication failure
public java.lang.String getServiceRecordXml(int workOrderId)
throws java.rmi.RemoteException
workorderId - Int Work Order ID
java.rmi.RemoteException - if there is an authentication failure
public java.lang.String getMpgAverageXml(java.lang.String vin,
java.lang.String fromDate,
java.lang.String toDate)
throws java.rmi.RemoteException
VIN - String Vehicle Identification Number.fromDate - String From Date in format "YYYY-MM-DD HH:MM:SS".toDate - String To Date in format "YYYY-MM-DD HH:MM:SS".
java.rmi.RemoteException - if there is an authentication failure
public java.lang.String getMpgHistoryXml(java.lang.String username,
java.lang.String password,
java.lang.String vin,
java.lang.String fromDate,
java.lang.String toDate)
throws java.rmi.RemoteException
Username - String Database username.Password - String Database password.VIN - String Vehicle Identification Number.fromDate - String From Date in format "YYYY-MM-DD HH:MM:SS".toDate - String To Date in format "YYYY-MM-DD HH:MM:SS".
java.rmi.RemoteException - if there is an authentication failure
public java.lang.String getFleetDiagnosticsXml(java.lang.String... mlds)
throws java.rmi.RemoteException
MLD - List String[] List of MLD codes to report.
java.rmi.RemoteException - if there is an authentication failure
public java.lang.String getFleetMpgAverageXml(java.lang.String fromDate,
java.lang.String toDate)
throws java.rmi.RemoteException
VIN - String Vehicle Identification Number.fromDate - String From Date in format "YYYY-MM-DD HH:MM:SS".toDate - String To Date in format "YYYY-MM-DD HH:MM:SS".
java.rmi.RemoteException - if there is an authentication failure
public java.lang.String updateOdometerXml(java.lang.String vin,
java.lang.String odo,
boolean isAbsoluteOdo,
boolean odoUnitsInMiles)
throws java.rmi.RemoteException
VIN - String Vehicle Identification Number.Odo - String Odometer value used to update vehmld table.IsAbsoluteOdo - Boolean Sets update value type (absolute or offset).odoUnitsInMiles - Boolean Specifies input units in Miles or Kilometers.
java.rmi.RemoteException - if there is an authentication failure
public java.lang.String getDrivingStatisticsXml(java.lang.String vin,
java.lang.String histType,
java.lang.String fromDate,
java.lang.String toDate)
throws java.rmi.RemoteException
VIN - String Vehicle Identification Number.histType - String Histogram Type. See "NOTE" section above.fromDate - String From Date in format "YYYY-MM-DD HH:MM:SS".toDate - String To Date in format "YYYY-MM-DD HH:MM:SS".
java.rmi.RemoteException - if there is an authentication failure
public java.lang.String getCustomerInfoXml(int customerId)
throws java.rmi.RemoteException
customerId - int Customer ID.
java.rmi.RemoteException - if there is
a communications or systems failure
public java.lang.String getCustomerCarListXml(java.lang.String username,
java.lang.String password)
throws java.rmi.RemoteException
Username - String Database username.Password - String Database password.
java.rmi.RemoteException - if there is an authentication failure
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||