This API should be fired after firing getVehicleLocations API. Because the first API has the mapping between vehicleName and vehicleId. For this API vehicleID is the input.
http://domainname/public/getAcReport
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
vehicleId | String | Yes | - | For giving vehicle ID |
fromDateUtc | Date | Yes | - | fromDateUTC used to get the date |
toDateUTC | Date | Yes | - | toDateUTC used to get the date |
http://domainname/public/getAcReport?vehicleId=XYZ&fromTimeUtc=1671647400000&toTimeUtc=1671708722000
Field | Type | Description |
---|---|---|
AlarmTime | String | To getting the date and time |
address | String | To get the vehicle location |
lat(Latitude) | String | To get the location |
lng(Longitude) | String | To get the location |
Get the history of specific vehicle for the given date and time range. This API should be fired after firing getVehicleLocations API. Because the first API has the mapping between vehicleName and vehicleId. For this API vehicleID is the input.
http://domainname/getPrimaryEngineReport
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
vehicleId | String | Yes | - | For giving vehicle ID |
fromDateUtc | Date | Yes | - | fromDateUTC used to get the date |
toDateUTC | Date | Yes | - | toDateUTC used to get the date |
http://domainname/getPrimaryEngineReport?vehicleId=XYZ&fromDateTime=1671388200000&toDateTime=1671688098000
Field | Type | Description |
---|---|---|
Date | String | To getting the date and time |
address | String | To get the vehicle location |
ignitionSatus | String | To know the status ON or OFF |
Latitude | String | To get the location |
Longitude | String | To get the location |
Get the idle wastage. This API should be fired after firing getVehicleLocations API. Because the first API has the mapping between vehicleName and vehicleId. For this API vehicleID is the input.
http://domainname/idleWaste?
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
vehicleId | String | Yes | - | For giving vehicle ID |
fromDateUtc | Date | Yes | - | fromDateUTC used to get the date |
toDateUTC | Date | Yes | - | toDateUTC used to get the date |
http://domainname/idleWaste?vid=OTTO-01&vg=OTTO:SMP&tn=ac
Field | Type | Description |
---|---|---|
Date | String | To getting the date and time |
address | String | Address for the current lat and lng |
idleTime | Integer | It shows idle time of vehicle |
angleIdleTime | Integer | It shows idle time of vehicle with the postion of vehicle |
Lat | String | To get latitude of thesite |
Lng | String | To get longitude of the site |
Get the history of specific vehicle for the given date and time range. This API should be fired after firing getVehicleLocations API. Because the first API has the mapping between vehicleName and vehicleId. For this API vehicleID is the input.
http://domainname/getAcReport?
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
vehicleId | String | Yes | - | For giving vehicle ID |
fromTimeUtc | long | Yes | - | fromTimeUTC is used to give time |
toTimeUtc | long | Yes | - | toTimeUtc is used to give time |
http://domainname/getAcReport?vehicleId=XYZ&fromTimeUtc=1671733800000&toTimeUtc=1671780477000
Field | Type | Description |
---|---|---|
alarmTime | String | To getting the date and time |
alarmType | String | To check ON and OFF status |
temp | Integer | temp for Temperature |
address | Integer | To get the vehicle location |
Lat | String | To get latitude of the site |
Lng | String | To get longitude of the site |
Get the Temperature report. This API should be fired after firing getVehicleLocations API. Because the first API has the mapping between vehicleName and vehicleId. For this API vehicleID is the input.
http://domainname/getTemperatureReport?
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
Vehicleid | String | Yes | - | For get vehicle ID |
fromDate | Date | Yes | - | used to get the date |
fromTime | long | Yes | - | fromTime is used to get time |
toDate | Date | Yes | - | toDate is used to get date |
totime | long | Yes | - | toTime is used to get time |
interval | long | Yes | - | used to get time interval |
fromDateUTC | Date | Yes | - | toTimeUtc is used to get time |
toDateUTC | Date | Yes | - | toTimeUtc is used to get time |
http://domainname/getTemperatureReport?vehicleId=XYZ&fromDate=2022-12-23&fromTime=0:0:00&toDate=2022-12-23&toTime=14:44:00&interval=-1&fromDateUTC=1671733800000&toDateUTC=1671786840000
Field | Type | Description |
---|---|---|
data | String | To getting the date and time |
temperature | Integer | temp for Temperature |
address | Integer | To get the vehicle location |
Lat | String | To get latitude of the site |
Lng | String | To get longitude of the site |
Get the temperature deviation for the given date and time range. This API should be fired after firing getVehicleLocations API. Because the first API has the mapping between vehicleName and vehicleId. For this API vehicleID is the input.
http://domainname/getTemperatureReport?
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
Vehicleid | String | Yes | - | For get vehicle ID |
fromDate | Date | Yes | - | used to get the date |
fromTime | long | Yes | - | fromTime is used to get time |
toDate | Date | Yes | - | toDate is used to get date |
totime | long | Yes | - | toTime is used to get time |
interval | long | Yes | - | used to get time interval |
fromDateUTC | Date | Yes | - | toTimeUtc is used to get time |
toDateUTC | Date | Yes | - | toTimeUtc is used to get time |
http://domainname/getTemperatureReport?vehicleId=XYZ&fromDate=2022-12-23&fromTime=0:0:00&toDate=2022-12-23&toTime=14:44:00&interval=-1&fromDateUTC=1671733800000&toDateUTC=1671786840000
Field | Type | Description |
---|---|---|
data | String | To getting the date and time |
temperature | Integer | temp for Temperature |
address | Integer | To get the vehicle location |
Lat | String | To get latitude of the site |
Lng | String | To get longitude of the site |
Get the radio frequency identification report for the given date and time range. This API should be fired after firing getVehicleLocations API. Because the first API has the mapping between vehicleName and vehicleId. For this API vehicleID is the input.
http://domainname/getRfidReport
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
Vehicleid | String | Yes | - | For get vehicle ID |
fromDate | Date | Yes | - | used to get the date |
fromTime | long | Yes | - | fromTime is used to get time |
toDate | Date | Yes | - | toDate is used to get date |
totime | long | Yes | - | toTime is used to get time |
fromDateUTC | Date | Yes | - | toTimeUtc is used to get time |
toDateUTC | Date | Yes | - | toTimeUtc is used to get time |
http://domainname/getTemperatureReport?vehicleId=XYZ&fromDate=2022-12-23&fromTime=0:0:00&toDate=2022-12-23&toTime=14:44:00&interval=-1&fromDateUTC=1671733800000&toDateUTC=1671786840000
Field | Type | Description |
---|---|---|
gd | String | |
fromTime | long | temp for Temperature |
toTime | long | fromtime to get time |
address | Integer | To get the vehicle location |
Lat | String | To get latitude of the site |
Lng | String | To get longitude of the site |
Get the radio frequency identification report tag for the given date and time range. This API should be fired after firing getVehicleLocations API. Because the first API has the mapping between vehicleName and vehicleId. For this API vehicleID is the input.
http://domainname/getRfidReportNew
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
Vehicleid | String | Yes | - | For get vehicle ID |
fromDate | Date | Yes | - | used to get the date |
fromTime | long | Yes | - | fromTime is used to get time |
toDate | Date | Yes | - | toDate is used to get date |
totime | long | Yes | - | toTime is used to get time |
fromDateUTC | Date | Yes | - | toTimeUtc is used to get time |
toDateUTC | Date | Yes | - | toTimeUtc is used to get time |
http://domainname/getRfidReportNew?vehicleId=XYZ&fromDate=2022-12-24&fromTime=0:0:00&toDate=2022-12-24&toTime=10:12:00&fromDateUTC=1671820200000&toDateUTC=1671856920000
Field | Type | Description |
---|---|---|
dateTime | String | To get date and time |
employeeId | Integer | To get the employee id |
tagNo | Integer | To get tag number |
address | String | To get the vehicle location |
employeeName | String | To get employee name |
mobile | Integer | To get mobile number |
dept | String | To get the department |
Lat | String | To get latitude of the site |
Lng | String | To get longitude of the site |
Get the protocol report of device data for the given date and time range. This API should be fired after firing getVehicleLocations API. Because the first API has the mapping between vehicleName and vehicleId. For this API vehicleID is the input.
http://domainname/getFuelRawDataLog?
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
Vehicleid | String | Yes | - | For get vehicle ID |
fromTimeUTC | long | Yes | - | fromTime is used to get time |
totimeUTC | long | Yes | - | toTime is used to get time |
http://domainname/getFuelRawDataLog?vehicleId=XYZ&fromTimeUtc=1671820200000&toTimeUtc=1671864315000
Field | Type | Description |
---|---|---|
SystemTime | HH:mm:ss | To get the system time |
SystemTime | yyyy-mm-dd | To get the system date |
devicedataTime | HH:mm:ss | To get the device data time |
deviceOdoMeter | - | To get the odometer reading |
deviceMsg | String | To get msg |
protocolType | - | - |
validpacket | - | - |
Get the protocol report of data consumption for the given date and time range. This API should be fired after firing getVehicleLocations API. Because the first API has the mapping between vehicleName and vehicleId. For this API vehicleID is the input.
http://domainname/getDeviceDataAnalytics
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
Vehicleid | String | Yes | - | For get vehicle ID |
fromDate | yyyy-mm-dd | Yes | - | fromdate used get the date |
toDate | yyyy-mm-dd | Yes | - | toDate is used to get date |
http://domainname/getDeviceDataAnalytics?vehicleId=XYZ&fromDate=2022-12-12&toDate=2022-12-18
Field | Type | Description |
---|---|---|
deviceModel | - | To get the device model |
Date | yyyy-mm-dd | To get the time |
dataUsage | - | To get the data usage |
Get the history of specific vehicle for checking the fuel theft for the given date and time range with fuel method. This API should be fired after firing getVehicleLocations API. Because the first API has the mapping between vehicleName and vehicleId. For this API vehicleID is the input.
http://domainname/getFuelReports
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
groupId | String | Yes | - | For get vehicle ID |
month | Integer | Yes | - | To get month |
year | Integer | Yes | - | toDate is used to get date |
fuelMethod | String | Yes | - | toDate is used to get date |
http://domainname/getFuelReports?groupId=DEMO:Fcode&month=12&year=2022&fuelMethod=DROP
Field | Type | Description |
---|---|---|
position | string | To get the vehicle position |
fuel | Float | For future use |
shortName | String | To get vehicle name |
totalfuel | Float | To get the total fuel level |
Get the consolidated fuel report the given date and time range. This API should be fired after firing getVehicleLocations API. Because the first API has the mapping between vehicleName and vehicleId. For this API vehicleID is the input.
http://domainname/getConReport
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
groupName | String | Yes | - | For get groupname |
date | dddd-mm-dd | Yes | - | To get Date |
shiftTime | Integer | Yes | - | To get shiftTime |
http://domainname/getConsolidatedFuelReport?groupName=DEMO:Fcode&date=2022-12-25
Field | Type | Description |
---|---|---|
vehicleName | string | To get the vehicle name |
vehicleMode | String | To check the mode |
vehicleModel | String | To get the vehicle model |
fuelsensor | Array | To check the fuel level |
fueltheft | Float | To detect fuel theft |
fuelConsumption | Float | To find consumption of fuel |
startKms | Float | To get the start kms value |
endKms | Float | To get the end kms value |
kmpl | Float | To check litre of fuel for km |
litperHrs | Float | To check litre of fuel per hours |
dist | Float | To check the distance |
enginerunningHrs | Float | To check the running hours of vehicle |
ignitionHrs | - | To check ignition time |
secondaryEngineduration | - | Duration of engine |
engineIdleHrs | - | To get the idle hrs of engine. |
startAddress | String | to check start location |
EndAddress | String | to check end location |
driverName | String | To get driver name |
driveMobileNo | String | To get the mobile number |
startfuel | Float | Starting level of fuel |
endfuel | Float | end level of fuel |
fuelfilling | fuel filled | |
fuelbalance | to check fuel balance | |
fueltheft | Float | To show fuel theft data |
litsPerHrs | Integer | To check the litre of fuel per hour |
This API should be fired after firing getVehicleLocations API. Because the first API has the mapping between vehicleName and vehicleId. For this API vehicleID is the input.
http://domainname/getSitewiseVehicleCount?
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
groupId | String | Yes | - | For get group ID |
http://domainname/getSitewiseVehicleCount?groupId=DEMO:Fcode
Field | Type | Description |
---|---|---|
geoFence | String | To get the site |
getvehicles | String | To get the vehicleId |
Get the history of specific vehicle's consolidated report for the given date and time range. This API should be fired after firing getVehicleLocations API. Because the first API has the mapping between vehicleName and vehicleId. For this API vehicleID is the input.
http://domainname/v2/getVehicleConsolidatedReport
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
group | String | yes | - | To get the group |
fromDate | yyyy-mm-dd | Yes | - | fromdate is used to start date |
toDate | yyyy-mm-dd | Yes | - | toDate is used to get endDate |
fromtime | long | Yes | - | fromTime is used to get start time |
totime | long | Yes | - | toTime is used to get end time |
fromDateUTC | yyyy-mm-dd | Yes | - | fromDateUtc is used to start date |
toDateUTC | yyyy-mm-dd | Yes | - | toDateUTC is used to get endDate |
http://domainname/v2/getVehicleConsolidatedReport?group=OTTO:SMP&fromDate=2022-12-25&fromTime=0:0:0&toDate=2022-12-25&toTime=23:59:59&fromDateUTC=1671906600000&toDateUTC=1671992999000
Field | Type | Description |
---|---|---|
vehicleName | HH:mm:ss | To get the system time |
vehicleMode | yyyy-mm-dd | To get the system date |
totalTriplength | HH:mm:ss | To get the device data time |
totalmovingtime | - | To get the odometer reading |
totalParkedTime | String | To get msg |
totalidletime | Long | idle time |
topspeed | String | what was the average speed |
averagespeed | String | what was the average speed |
starttime | Long | To get the start time |
endtime | Long | To get the end time |
duration | String | Duration in milliseconds |
address | String | To get the vehicle location |
tripdistance | String | Total time for the trip |
Get the site and location of the specific vehicle for the given time.
http://domainname/getConsolidatedSiteLocation?
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
groupId | String | Yes | - | For get vehicle ID |
fromTimeUTC | long | Yes | - | fromTime is used to get start time |
totimeUTC | long | Yes | - | toTime is used to get end time |
http://domainname/getConsolidatedSiteLocation?groupId=DEMO:Fcode&fromTimeUtc=1671906600000&toTimeUtc=1671992999000
Field | Type | Description | |
---|---|---|---|
address | string | To get the vehicle location | |
state | Number | Vehicle status Parked, Idle, over speed,Location Entry, Location Exit, Site Entry, Site Exit | |
vehiclename | String | To get the vehicle name | |
Starttime | Long | To get the start time |
Get the specific vehicle to know the overspeed of the vehicle for the given date and time range. This API should be fired after firing getVehicleLocations API. Because the first API has the mapping between vehicleName and vehicleId. For this API vehicleID is the input.
http://domainname/getOverSpeedReport
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
groupName | String | yes | - | To get the group |
fromDateUTC | yyyy-mm-dd | Yes | - | fromdate is used to start date |
toDateutc | yyyy-mm-dd | Yes | - | toDate is used to get endDate |
http://domainname/getOverSpeedReport?fromDateUTC=1671906600000&toDateUTC=1671992999000&groupName=DEMO:Fcode
Field | Type | Description |
---|---|---|
vehicleName | HH:mm:ss | To get the system time |
shortName | String | To get the vehicle name |
Speedlimit | Long | To get the Speed limit of vehicle |
starttime | Long | To get the Starttime |
endtime | Long | To get the end time |
Get the history of specific vehicle stoppage time for the given date and time range. This API should be fired after firing getVehicleLocations API. Because the first API has the mapping between vehicleName and vehicleId. For this API vehicleID is the input.
http://domainname/getStoppageReport
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
groupName | String | yes | - | To get the group |
fromDateUTC | yyyy-mm-dd | Yes | - | fromdate is used to start date |
toDateutc | yyyy-mm-dd | Yes | - | toDate is used to get endDate |
http://domainname/getStoppageReport?fromDateUTC=1671993000000&toDateUTC=1672079399000&groupName=DEMO:Fcode
Field | Type | Description |
---|---|---|
longitude | String | To get the location |
latitude | String | To get the location |
stoppageTime | Integer | To check the stoppage time |
address | String | To get the location |
error | String | To showing the errors |
shorName | String | To get the vehicle name |
starttime | Long | To get the Starttime |
endtime | Long | To get the end time |
Get the site report for the given date and time range. This API should be fired after firing getVehicleLocations API. Because the first API has the mapping between vehicleName and vehicleId. For this API vehicleID is the input.
http://domainname/getConsolidatedSiteReport
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
groupId | String | yes | - | To get the group Id |
orgId | String | yes | - | To get the Id |
fromTimeUTC | long | Yes | - | fromTimeUTC is used to start time |
toTimeUTC | long | Yes | - | toTimeUTC is used to get end Time |
http://domainname/getConsolidatedSiteReport?vehicle=&siteName=&fromTimeUtc=1671993000000&toTimeUtc=1672079399000&groupId=DEMO:Fcode&orgId=OTTO
Field | Type | Description |
---|---|---|
sitelist | Array | To get the site list. |
getDetails | Array | To get the vehicle detail |
hist | Array | To check the site,vehicleid,time |
Get the Tollgate report for the given date and time range. This API should be fired after firing getVehicleLocations API. Because the first API has the mapping between vehicleName and vehicleId. For this API vehicleID is the input.
http://domainname/getTollGateReport
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
group | String | yes | - | To get the group Id |
fromTimeUTC | long | Yes | - | fromTimeUTC is used to start time |
toTimeUTC | long | Yes | - | toTimeUTC is used to get end Time |
http://domainname/getTollgateReport?group=OTTO:SMP&fromTimeUtc=1671993000000&toTimeUtc=1672079399000
Field | Type | Description |
---|---|---|
shorName | String | To get the vehicle name |
tollGateName | String | To get the tollname |
starttime | Long | To get the Starttime |
toTime | Long | To get the end time |
Lat | String | To get latitude of the site |
Lng | String | To get longitude of the site |
address | String | to get the vehicle location |
time | yyyy-mm-dd & HH:mm:ss | To get the time and date |
error | String | To give the error message |
Get the Tollgate report for the given date and time range.this used to show the status of vehicle to be idle or running, or stoppage. This API should be fired after firing getVehicleLocations API. Because the first API has the mapping between vehicleName and vehicleId. For this API vehicleID is the input.
http://domainname/getTravelSummaryReport
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
groupid | String | yes | - | To get the group Id |
fromDateUTC | yyyy-mm-dd | Yes | - | fromDateUTC is used to start Date |
toDateUTC | yyyy-mm-dd | Yes | - | toDateUTC is used to get end Date |
fromDate | yyyy-mm-dd | Yes | - | fromDate is used to start Date |
toDate | yyyy-mm-dd | Yes | - | toDate is used to get end Date |
http://domainname/getTravelSummaryReport?groupId=DEMO:Fcode&fromDate=2022-12-26&toDate=2022-12-26&fromDateUTC=1671993000000&toDateUTC=1672079399000
Field | Type | Description |
---|---|---|
CompanyName | String | To get the company name |
branch | String | To get the brance name |
address | String | to get the vehicle location |
idle | Integer | To get he idle vehicles |
running | Integer | To get the running time |
stop | Integer | To get the stop status |
vehicleName | String | Vehicles name |
startLoc | String | The start location |
endLoc | String | The end location |
vehicleMode | String | To get the vehicle mode |
distance | Float | To know the distance of vehicle |
totalWrkHours | Integer | To show the total working hours |
nodata | integer | To show the nodata status occurence |
maxStoppage | Integer | To show maximum speed |
noOfIdle | Integer | To show the idle occurence |
averagespeed | Integer | average speed of vehicle |
max | Integer | Maximum speed |
overspeedcount | Integer | count of overspeed for specific vehicles |
alert | String | To show alert |
error | String | To show error message |
Get the alert for the stoppage vehicle.This api is occur after getvehiclelocation api. Because the first API has the mapping between vehicleName and vehicleId. For this API vehicleID is the input.
http://domainname/getSiteStoppageAlertReport
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
fromTimeUtc | long | yes | - | To get the start time |
toTimeUtc | long | yes | - | To get the end time |
groupid | String | yes | - | To get the group Id |
http://domainname/getSiteStoppageAlertReport?groupId=DEMO:Fcode&fromTimeUtc=1671993000000&toTimeUtc=1672079399000
Field | Type | Description |
---|---|---|
deviceTime | long | To get the device time |
hist | Array | To check the history of vehicle |
siteName | String | To get the site name |
stoppageDuration | Integer | To get the stoppage duration |
shortName | String | To get the vehicle name |
Get the vehiclewise performance with the given time and date.
http://domainname/getExecutiveReport
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
fromDate | yyyy-mm-dd | yes | - | To get the start Date |
toDate | yyyy-mm-dd | yes | - | To get the end Date |
groupid | String | yes | - | To get the group Id |
vehicleid | String | yes | - | To get the vehicle Id |
shiftTime | String | yes | - | To get shift time |
http://domainname/getSiteStoppageAlertReport?groupId=DEMO:Fcode&fromTimeUtc=1671993000000&toTimeUtc=1672079399000
Field | Type | Description |
---|---|---|
deviceTime | long | To get the device time |
hist | Array | To check the history of vehicle |
siteName | String | To get the site name |
stoppageDuration | Integer | To get the stoppage duration |
shortName | String | To get the vehicle name |
Get the executive monthly report with the given month and year.this api is called after the getvehiclelocation api.
http://domainname/getExecutiveReportVehicleDistance
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
month | String | yes | - | To get the month |
year | string | yes | - | To get the year |
groupid | String | yes | - | To get the group Id |
http://domainname/getExecutiveReportVehicleDistance?groupId=DEMO:Fcode&month=1&year=2023
Field | Type | Description |
---|---|---|
vehicleId | String | To get the vehicles id with group name. |
shortName | String | To get the vehicle name. |
vehicleMode | String | To get the vehicle modes. |
distances | Float | To get the monthly distance. |
totalDistance | Float | To get the Total distance |
position | String | To get the vehicle's position |
Get the daily performance report with the given month and year.this api is called after the getvehiclelocation api.
http://domainname/getDailyDriverPerformance
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
fromutcTime | String | yes | - | To get the from time. |
toutcTime | string | yes | - | To get the to time. |
groupid | String | yes | - | To get the group Id |
http://domainname/getDailyDriverPerformance?groupId=DEMO:Fcode&fromUtcTime=1673116200000&toUtcTime=1673202599000
Field | Type | Description |
---|---|---|
month | String | To get the month |
WeightedBreakAnalysis | Integer | To get the heavy break. |
WeightedSpeedAnalysis | Integer | To get the over speed. |
weightedShockAlarmAnalysis | Integer | To get the time of alarm. |
WeightedAccelAnalysis | Integer | To get the acceleration |
historySpeedAnalysis | Object | To get the history of speed analysis |
historyShockAlarm | Object | To get the history of shock alarm |
Get the daily performance report with the given month and year.this api is called after the getvehiclelocation api.
http://domainname/getOverallDriverPerformance
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
month | String | yes | - | To get the month |
year | string | yes | - | To get the year |
groupid | String | yes | - | To get the group Id |
http://domainname/getOverallDriverPerformance?groupId=DEMO:Fcode&month=12&year=2022
Field | Type | Description |
---|---|---|
month | String | To get the month |
WeightedBreakAnalysis | Integer | To get the heavy break. |
WeightedSpeedAnalysis | Integer | To get the over speed. |
weightedShockAlarmAnalysis | Integer | To get the time of alarm. |
WeightedAccelAnalysis | Integer | To get the acceleration |
historySpeedAnalysis | Object | To get the history of speed analysis |
historyShockAlarm | Object | To get the history of shock alarm |
Get the Executive report with the given Date.this api is called after the getvehiclelocation api.
http://domainname/getExecutiveFuelReport
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
fromDate | yyyy-mm-dd | yes | - | To get the start date. |
toDate | yyyy-mm-dd | yes | - | To get the end date |
groupid | String | yes | - | To get the group Id |
http://domainname/getExecutiveFuelReport?groupId=DEMO:Fcode&fromDate=2023-01-03&toDate=2023-01-09
Field | Type | Description |
---|---|---|
date | String | To get the Date. |
vehicleName | String | To get the vehicle name. |
vehicleId | String | To get the vehicleid |
startFuelLevvel | Float | Starting level of fuel |
endFuelLevel | Float | Ending level of fuel |
fuelFills | Float | To get the fuel filled in vehicle. |
fuelDrops | Float | To know the fuel theft. |
fuelConsume | Float | To check the fuel consumption |
distanceToday | Float | To get the distance travelled today. |
milage | Float | to get the kilometers per litre. |
totalPrimaryEngine | Float | To get the engine on hours. |
ltrsphr | Float | To get the litres per hour |
Get the distance and fuel month wise.this api is called after the getvehiclelocation api.
http://domainname/getExecutiveFuelReport
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
month | String | yes | - | To get the month |
year | string | yes | - | To get the year |
groupid | String | yes | - | To get the group Id |
http://domainname/getMonthlyExecutiveDistanceAndFuel?groupId=DEMO:Fcode&month=1&year=2023
Field | Type | Description |
---|---|---|
vehicleiD | String | To get the vehicleid. |
VehicleName | String | To get the vehicle name. |
TotalDistance | Float | To get the total distance |
totalFuelconsume | Float | To get the total fuel consumption. |
totalKMPL | Float | To get the total kmpl. |
totalLph | Float | To get the total ltph. |
totalFuelFill | Float | To get the total fuel fills. |
vehicleMode | String | To get the vehiclemode. |
position | String | To get the vehicle location. |
KMPL | Float | To get the kilometers per litre. |
lph | Float | To get the litres per hour. |
distance | Float | To get the distance. |
date | yyyy-mm-dd | To get the current date |
litres | Float | To get the litres count. |
cumulativeVehicleLphData | Float | To get the total litresperhour per day. |
cumulativeVehicleKmplData | Float | To get the total kmpl per day |
cumulativeVehicleFuelFillData | Float | To get the fuelfill total per day |
cumulativeVehicleFuelData | Float | To get the fuel total per day |
cumulativeVehicleDistanceData | Float | To get the distance total per day |
Get the fuel anlytics with the given date and time. This api is called after the get vehicle location api.
http://domainname/getFuelDetailForMachinery
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
fromDateTime | Long | yes | - | To get the start date and time. |
toDateTime | Long | yes | - | To get the end date and time |
vehicleid | String | yes | - | To get the group Id |
http://domainname/getFuelDetailForMachinery?vehicleId=XYZ&fromDateTime=1673202600000&toDateTime=1673506342000
Field | Type | Description |
---|---|---|
date | yyyy-mm-dd | To get the date. |
starttime | Long | To get the start time |
time | Long | To get the time |
pfuel | Float | To get the previous fuel |
cfuel | Float | To get the current fuel |
lt | Float | To get the litres per hour |
odo | Float | To get the odometer reading |
address | String | used to get the address |
error | String | To show error message |
fuelconsumption | Float | To get the fuel consumption |
totalconsumption | Float | To get the total fuel consumption |
startaddress | String | To get the start address |
endaddress | String | To get the end address |
lat | Float | To get the correct location |
lng | Float | To get the correct location |
Get the dispenser detail with the given date and fueldispenser value. This api is called after the get vehicle location api.
http://domainname/getExecutiveFuelReport
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
fromDate | yyyy-mm-dd | yes | - | To get the start date. |
toDate | yyyy-mm-dd | yes | - | To get the end date. |
groupid | String | yes | - | To get the group Id |
fuelDispenser | String | yes | - | To get the tru or false value |
http://domainname/getExecutiveFuelReport?groupId=DEMO:Fcode&fromDate=2023-01-09&toDate=2023-01-12&fuelDispenser=true
Field | Type | Description |
---|---|---|
date | yyyy-mm-dd | To get the date. |
startfuelLevel | Float | To get the previous fuel |
endfuelLevel | Float | To get the current fuel |
fuelFills | Float | To get the fuel fill level. |
fuelDispenser | Float | level of fuel dispenser |
totalfuelDispensed | Float | Total level of fuel dispensed |
error | String | To get the error message |
This api is used to get the trip distance,running time,count of the trip with the given time, date and site deails.This api is called after the get vehicle location api.
http://domainname/getSiteTripFuelReport
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
fromDate | yyyy-mm-dd | yes | - | To get the start date. |
toDate | yyyy-mm-dd | yes | - | To get the end date. |
fromTime | Long | yes | - | To get the start time. |
toTime | Long | yes | - | To get the end time. |
fromDateUTC | Long | yes | - | To get the Date |
toDateUTC | Long | yes | - | To get the Date |
language | String | yes | - | To get the language. |
site1,site2 | Long | yes | - | To get the site detail. |
http://domainname/getSiteTripFuelReport?vehicleId=XYZ&fromDate=2023-01-01&fromTime=0:0:00&toDate=2023-01-11&toTime=15:11:00&language=en&site1=All&site2=All&fromDateUTC=1672511400000&toDateUTC=1673430060000
Field | Type | Description |
---|---|---|
distance covered | Float | To get the distance covered by vehicle. |
kmpl | Float | To check the kmpl. |
tripcount | Integer | To get the trip count |
singleTripDistance | Float | To get the trip distance. |
runningtime | Float | To get the running time. |
date | yyyy-mm-dd | To get the date. |
startfuelLevel | Float | To get the previous fuel |
endfuelLevel | Float | To get the current fuel |
fuelFills | Float | To get the fuel fill level. |
This uses 6 api's based on the sensors selected by the user. for sensor all option the below api's used for access data
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
fromTimeUTC | Long | yes | - | To get the start time. |
toTimeUTC | Long | yes | - | To get the end time. |
vehicleId | String | yes | - | To get the vehicleid. |
Interval | Integer | yes | - | To give interval value. |
R | Integer | yes | - | To get the . |
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
fromTimeUTC | Long | yes | - | To get the start time. |
toTimeUTC | Long | yes | - | To get the end time. |
vehicleId | String | yes | - | To get the vehicleid. |
Interval | Integer | yes | - | To give interval value. |
R | Integer | yes | - | To get the . |
sensor | Integer | yes | - | To ge the fuel level. |
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
fromTimeUTC | Long | yes | - | To get the start time. |
toTimeUTC | Long | yes | - | To get the end time. |
vehicleId | String | yes | - | To get the vehicleid. |
Interval | Integer | yes | - | To give interval value. |
R | Integer | yes | - | To get the . |
sensor | Integer | yes | - | To ge the fuel level. |
http://domainname/getFuelRawData?vehicleId=XYZ&fromTimeUtc=1672770600000&toTimeUtc=1673591827000&interval=5&zeroRecord=false&R=1200
Field | Type | Description |
---|---|---|
distance covered | Float | To get the distance covered by vehicle. |
kmpl | Float | To check the kmpl. |
tripcount | Integer | To get the trip count |
singleTripDistance | Float | To get the trip distance. |
runningtime | Float | To get the running time. |
date | yyyy-mm-dd | To get the date. |
startfuelLevel | Float | To get the previous fuel |
endfuelLevel | Float | To get the current fuel |
fuelFills | Float | To get the fuel fill level. |
http://domainname/getFuelDetailForMachinery
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
fromDateTime | Long | yes | - | To get the start date and time. |
toDateTime | Long | yes | - | To get the end date and time. |
vehicleId | String | yes | - | To get the vehicleid. |
http://domainname/vehicleId=XYZ&fromDateTime=1674930600000&toDateTime=1675312383000&sensor=1
Field | Type | Description |
---|---|---|
startTime | HH:mm:ss | To get the start time. |
endTime | HH:mm:ss | To get the end time. |
ignitionOnper | HH:mm:ss | To get the engine on hours. |
startfuel | Float | To get the previous fuel. |
endfuel | Float | To get the current fuel. |
totalConsumption | Float | To get the total consumption fuel. |
ltrphr | Float | To get the litres per hour. |
fuelmileage | Float | To get the mileage value. |
fuelconsume | Float | To get the fuel consumption. |
fuelTheftBeta | Float | To get the fuel theft in litres. |
startAddress | String | To get the start location. |
endAddress | String | To get the end location. |
startLng | Long | To get the start longitude. |
endLng | Long | To get the endlongitude. |
startlat | Long | To get the start latitude. |
endlat | Long | To get the End latitude. |
odo | Float | To get the odo reading. |
error | String | To showing error message. |
This api is used to get the vehicle wise fuel report with the fuel consumption,distance,,fuel filling,engines status and theft in fuels. this api is called after the get vehicle location api.
http://domainname/getConsolidatedVehicleWise
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
fromDate | yyyy-mm-dd | yes | - | To get the start date. |
toDate | yyyy-mm-dd | yes | - | To get the end date. |
vehicleId | String | yes | - | To get the vehicleId. |
http://domainname/getConsolidatedVehicleWise?vehicleId=XYZ&fromDate=2023-01-12&toDate=2023-01-12
Field | Type | Description |
---|---|---|
fuelconsumption | Float | To get the fuel consumption value. |
fuelTheft | Float | To know the theft in fuel. |
fuelDispenser | Float | vehicle for fuel. |
startKms | Integer | to get the starting kilometers. |
endKms | Integer | To get the end kilometers. |
dist | Float | To get the distance |
kmpl | Float | To get the kmpl. |
enginerunningHrs | HH:mm:ss | engine running hours |
ignitionHrs | HH:mm:ss | To get the ignition hours. |
SecondaryengineDuration | HH:mm:ss | The secocondary engine hours. |
engineIdleHrs | HH:mm:ss | To get the idle hours of vehicle. |
litperHr | Float | To get the litres per hour. |
startfuel | Float | To get the previous fuel |
endfuel | Float | To get the current fuel |
fuelFilling | Float | To get the fuel fill level. |
This api is used to get the vehicle wise fuel report with the fuel consumption,distance,,fuel filling,engines status and theft in fuels with the intraday report. this api is called after the get vehicle location api.
http://domainname/getConsolidatedFuelReportBasedOnTime
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
fromDateUTC | yyyy-mm-dd | yes | - | To get the start date. |
toDateUTC | yyyy-mm-dd | yes | - | To get the end date. |
vehicleId | String | yes | - | To get the vehicleId. |
sensor | Integer | yes | - | To get the sensor count. |
http://domainname/getConsolidatedFuelReportBasedOnTime?vehicleId=XYZ&fromDateUtc=1673461800000&toDateUtc=1673604396000&sensor=1
Field | Type | Description |
---|---|---|
vehicleId | String | To get the vehicle id. |
vehicleMode | String | To get the vehicle modde |
VehicleModel | String | To get the vehicle model. |
startLoc | String | To get the startin location. |
endLoc | String | To get the ending location |
fuelconsumption | Float | To get the fuel consumption value. |
fuelTheft | Float | To know the theft in fuel. |
fuelDispenser | Float | vehicle for fuel. |
startKms | Integer | to get the starting kilometers. |
endKms | Integer | To get the end kilometers. |
dist | Float | To get the distance |
kmpl | Float | To get the kmpl. |
enginerunningHrs | HH:mm:ss | engine running hours |
ignitionHrs | HH:mm:ss | To get the ignition hours. |
SecondaryengineDuration | HH:mm:ss | The secocondary engine hours. |
engineIdleHrs | HH:mm:ss | To get the idle hours of vehicle. |
litperHr | Float | To get the litres per hour. |
startfuel | Float | To get the previous fuel |
endfuel | Float | To get the current fuel |
fuelFilling | Float | To get the fuel fill level. |
This api used to get the fuel filling,drops and excess consumpion notification with the given Date.This api is called after the get vehicle location api.
http://domainname/getFuelNotificationReport
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
fromDateUTC | yyyy-mm-dd | yes | - | To get the start date. |
toDateUTC | yyyy-mm-dd | yes | - | To get the end date. |
vehicleId | String | yes | - | To get the vehicleId. |
http://domainname/getFuelNotificationReport?vehicleId=XYZ&fromDateUTC=1673461800000&toDateUTC=1673607142000
Field | Type | Description |
---|---|---|
litres | Float | To get the litres of fuel consumed. |
shortName | String | To get the vehicle name. |
lat | Float | To get the location. |
lng | Float | To get the vehicle location. |
lat | Float | To get the vehicle location |
Date | yyyy-mm-dd | For getting date. |
This takes the value that is filtered by position "M" in the api.It is used to get the movement report.
http://domainname/getVehicleHistory
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
fromDateUTC | yyyy-mm-dd | yes | - | To get the start date. |
toDateUTC | yyyy-mm-dd | yes | - | To get the end date. |
vehicleId | String | yes | - | To get the vehicleId. |
interval | Integer | yes | - | To get the interval time. |
http://domainname/getVehicleHistory?vehicleId=XYZ&interval=&fromDateUTC=1673893800000&toDateUTC=1673928640000
Field | Type | Description |
---|---|---|
date | yyyy-mm-dd & HH:mm:ss | To get the date and time. |
speed | Float | To get the speed. |
latitude | Float | To get the address occurately. |
longitude | Float | To get the location occurately. |
address | String | To get the location. |
tmpDistance | Float | To get the distance. |
distanceCovered | Float | To get the distance covered. |
odoDistance | Float | Odometer reading. |
Topspeed | - | It show the top speed with time |
TotalDistance | Float | To get the total distance. |
total running time | HH:mm:ss | To get the total hours |
total parked time | HH:mm:ss | To get the total parked time. |
Total idle Time | HH:mm:ss | To get the total idle time. |
No.Of.Parking | Integer | To get the parking count. |
No data time | HH:mm:ss | To get the no data time. |
This takes the value comes from 'overspeedList' in the getvehicleHistory api.It is used to get the overspeedvehicle report.
http://domainname/getVehicleHistory
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
fromDateUTC | yyyy-mm-dd | yes | - | To get the start date. |
toDateUTC | yyyy-mm-dd | yes | - | To get the end date. |
vehicleId | String | yes | - | To get the vehicleId. |
interval | Integer | yes | - | To get the interval time. |
http://domainname/getVehicleHistory?vehicleId=XYZ&interval=&fromDateUTC=1673893800000&toDateUTC=1673928640000
Field | Type | Description |
---|---|---|
starTime | yyyy-mm-dd & HH:mm:ss | To get the start date and time. |
endTime | yyyy-mm-dd & HH:mm:ss | To get the end date and time. |
overSpeed | Float | To get the over speed. |
latitude | Float | To get the address occurately. |
longitude | Float | To get the location occurately. |
tripDistance | Float | To get the trip distance. |
Topspeed | - | It show the top speed with time |
TotalDistance | Float | To get the total distance. |
total running time | HH:mm:ss | To get the total hours |
total parked time | HH:mm:ss | To get the total parked time. |
Total idle Time | HH:mm:ss | To get the total idle time. |
No.Of.Parking | Integer | To get the parking count. |
No data time | HH:mm:ss | To get the no data time. |
This takes the value that is filtered by position "P" in the api.It is used to get the parked vehicle report.
http://domainname/getVehicleHistory
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
fromDateUTC | yyyy-mm-dd | yes | - | To get the start date. |
toDateUTC | yyyy-mm-dd | yes | - | To get the end date. |
vehicleId | String | yes | - | To get the vehicleId. |
interval | Integer | yes | - | To get the interval time. |
http://domainname/getVehicleHistory?vehicleId=XYZ&interval=&fromDateUTC=1673893800000&toDateUTC=1673928640000
Field | Type | Description |
---|---|---|
startParkeddate | yyyy-mm-dd & HH:mm:ss | To get the start date and time. |
endParkeddate | yyyy-mm-dd & HH:mm:ss | To get the end date and time. |
parkedTime | Integer | To get the parked timing. |
address | String | To get the location. |
latitude | Float | To get the location occurately. |
longitude | Float | To get the location occurately. |
Topspeed | - | It show the top speed with time |
TotalDistance | Float | To get the total distance. |
total running time | HH:mm:ss | To get the total hours |
total parked time | HH:mm:ss | To get the total parked time. |
Total idle Time | HH:mm:ss | To get the total idle time. |
No.Of.Parking | Integer | To get the parking count. |
No data time | HH:mm:ss | To get the no data time. |
This takes the value that is filtered by position "S" in the getvehiclehistory api.It is used to get the idle vehicles report.
http://domainname/getVehicleHistory
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
fromDateUTC | yyyy-mm-dd | yes | - | To get the start date. |
toDateUTC | yyyy-mm-dd | yes | - | To get the end date. |
vehicleId | String | yes | - | To get the vehicleId. |
interval | Integer | yes | - | To get the interval time. |
http://domainname/getVehicleHistory?vehicleId=XYZ&interval=&fromDateUTC=1673893800000&toDateUTC=1673928640000
Field | Type | Description |
---|---|---|
date | yyyy-mm-dd & HH:mm:ss | To get the start date and time. |
idleEnddate | yyyy-mm-dd & HH:mm:ss | To get the end date and time. |
idleTime | Integer | To get the idle timing. |
address | String | To get the location. |
latitude | Float | To get the location occurately. |
longitude | Float | To get the location occurately. |
Topspeed | - | It show the top speed with time |
TotalDistance | Float | To get the total distance. |
total running time | HH:mm:ss | To get the total hours |
total parked time | HH:mm:ss | To get the total parked time. |
Total idle Time | HH:mm:ss | To get the total idle time. |
No.Of.Parking | Integer | To get the parking count. |
No data time | HH:mm:ss | To get the no data time. |
This api is used to get the ignition status with the given date and time.
http://domainname/getPrimaryEngineReport
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
fromDateTime | yyyy-mm-dd | yes | - | To get the start date. |
toDateTime | yyyy-mm-dd | yes | - | To get the end date. |
vehicleId | String | yes | - | To get the vehicleId. |
http://domainname/getPrimaryEngineReport?vehicleId=XYZ&fromDateTime=1673893800000&toDateTime=1673950728000
Field | Type | Description |
---|---|---|
dateTime | yyyy-mm-dd & HH:mm:ss | To get the date and time. |
Ignitionstatus | String | To get the ON and OFF status. |
address | String | To get the location. |
latitude | Float | To get the location occurately. |
longitude | Float | To get the location occurately. |
Topspeed | - | It show the top speed with time |
TotalDistance | Float | To get the total distance. |
total running time | HH:mm:ss | To get the total hours |
total parked time | HH:mm:ss | To get the total parked time. |
Total idle Time | HH:mm:ss | To get the total idle time. |
No.Of.Parking | Integer | To get the parking count. |
No data time | HH:mm:ss | To get the no data time. |
This api is used to get the site trip detail with the given time, date, language and site detail.
http://domainname/getSiteTripReport
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
fromDate | yyyy-mm-dd | yes | - | To get the start date. |
toDate | yyyy-mm-dd | yes | - | To get the end date. |
fromDateUTC | Long | yes | - | To get the start date. |
toDateUTC | Long | yes | - | To get the end date. |
language | String | yes | - | To get the language used. |
site | String | yes | - | To get the site detail. |
fromTime | HH:mm:ss | yes | - | To get the start Time. |
toTime | HH:mm:ss | yes | - | To get the end Time. |
vehicleId | String | yes | - | To get the vehicleId. |
http://domainname/getSiteTripReport?vehicleId=XYZ&fromDate=2023-01-16&fromTime=0:0:00&toDate=2023-01-16&toTime=23:59:00&language=en&site1=All&site2=All&fromDateUTC=1673807400000&toDateUTC=1673893740000
Field | Type | Description |
---|---|---|
state | Integer | To get the end and start location. |
startTime | HH:mm:ss | To get the start time. |
endtime | HH:mm:ss | To get the end time. |
detentionTime | HH:mm:ss | To get the trip duration. |
distanceCovered | Float | To get the distance. |
runningTime | HH:mm:ss | To get the running hours. |
stoppageTime | HH:mm:ss | To get the stoppage hours. |
avgSpeed | Integer | To get the average speed. |
tripcount | Integer | To get the trip count. |
singleTripDistance | Integer | To get the single trip distance. |
speedViolation | Integer | To get the speed violation. |
This api is used to get the trip summary detail with the given time, date and vehicleid.
http://domainname/getTripSummary
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
fromDate | yyyy-mm-dd | yes | - | To get the start date. |
toDate | yyyy-mm-dd | yes | - | To get the end date. |
fromDateUTC | Long | yes | - | To get the start date. |
toDateUTC | Long | yes | - | To get the end date. |
fromTime | HH:mm:ss | yes | - | To get the start Time. |
toTime | HH:mm:ss | yes | - | To get the end Time. |
vehicleId | String | yes | - | To get the vehicleId. |
http://domainname/getTripSummary?vehicleId=XYZ&fromDate=2023-01-17&fromTime=00:00:00&toDate=2023-01-18&toTime=10:04:04&fromDateUTC=00:00:00&toDateUTC=1674016444000
Field | Type | Description |
---|---|---|
fromTime | HH:mm:ss | To get the start time. |
toTime | HH:mm:ss | To get the end time. |
lastLocation | String | To get the last location. |
vehicleName | String | To get the vehicle name. |
vehTripName | String | To get the vehicle trip name. |
vehicleId | String | To get the vehicle Id. |
kmpl | Float | To get the kmpl value. |
totalTripLength | Float. | To get the total trip length. |
totalMovingTime | HH:mm:ss | To get the total moving hours. |
initialFuel | Float | To get the initial fuel level. |
fuelFillcount | Float | To get the fuel fill count. |
totalidleTime | HH:mm:ss | To get the total idle time. |
finalFuel | Float | To get the current fuel. |
moveCount | Integer | To get the move count. |
totalParkingTime | HH:mm:ss | To get the total parking time. |
totalFuelFilled | Float | To get the total fuel filled. |
parkcount | Integer | To get the park count. |
totalNoDataTime | HH:mm:ss | To get the total no data hours. |
totalfuelConsume | Float | To get the total fule consume. |
idleCount | Integer | To get the idle counting. |
historyConsolidate | Object | To get the detail about the trip. |
This takes the value that is filtered by position "U" in the getvehiclehistory api.It is used to get the nodata vehicles report.
http://domainname/getVehicleHistory
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
fromDateUTC | yyyy-mm-dd | yes | - | To get the start date. |
toDateUTC | yyyy-mm-dd | yes | - | To get the end date. |
vehicleId | String | yes | - | To get the vehicleId. |
interval | Integer | yes | - | To get the interval time. |
http://domainname/getVehicleHistory?vehicleId=XYZ&interval=&fromDateUTC=1673893800000&toDateUTC=1673928640000
Field | Type | Description |
---|---|---|
date | yyyy-mm-dd & HH:mm:ss | To get the date and time. |
noDataTime | HH:mm:ss | To get the date and time of nodata. |
address | String | To get the location. |
latitude | Float | To get the location occurately. |
longitude | Float | To get the location occurately. |
vehicleGroup | String | To get the group name. |
Vehiclename | String | To ge the vehicle name |
Topspeed | - | It show the top speed with time |
TotalDistance | Float | To get the total distance. |
total running time | HH:mm:ss | To get the total hours |
total parked time | HH:mm:ss | To get the total parked time. |
Total idle Time | HH:mm:ss | To get the total idle time. |
No.Of.Parking | Integer | To get the parking count. |
No data time | HH:mm:ss | To get the no data time. |
This takes the value that is filtered by position "U" in the getvehiclehistory api.It is used to get the nodata vehicles report.
http://domainname/getRouteDeviationData
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
fromTimeUTC | HH:mm:ss | yes | - | To get the start Time. |
toTimeUTC | HH:mm:ss | yes | - | To get the end time. |
vehicleId | String | yes | - | To get the vehicleId. |
http://domainname/getRouteDeviationData?vehicleId=XYZ&fromTimeUtc=1673980200000&toTimeUtc=1674031637000
Field | Type | Description |
---|---|---|
routeName | String | To get the route name. |
deviceTime | HH:mm:ss | To get the device time. |
distance | Float | To get the distance. |
latitude | Float | To get the location occurately. |
longitude | Float | To get the location occurately. |
vehicleGroup | String | To get the group name. |
Vehiclename | String | To ge the vehicle name |
This API is to track single vehicle. This API should be fired after firing getVehicleLocations API. Because the getVehicleLocations API has the mapping between vehicleName and vehicleId. For this (getSelectedVehicleLocation) API vehicle ID is the key input.
http://domainname/getSelectedVehicleLocation
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
vehicleId | String | yes | - | To get the vehicleId. |
track | String | yes | - | To get the tracking detail. |
maps | String | yes | - | To get the map based on the maps value. |
http://domainname/getSelectedVehicleLocation?vehicleId=XYZ&track=single&maps=single
Field | Type | Description |
---|---|---|
shortName | String | To get the vehicle name. |
expectedFuelMileage | Float | To get the fuel mileage. |
nTankSize | Float | To get the tank size. |
overSpeedLimit | Float | To get the overspeed. |
regno | Integer | To get the register number. |
devicevolt | Float | To get the device voltage. |
date | yyyy-mm-dd | To get the date. |
ododistance | Float | To get the odo distance. |
position | String | To get the vehicles position. |
idleTime | String | To get the idle time. |
parkedTime | HH:mm:ss | To get the parked time. |
movingTime | HH:mm:ss | To get the moving time. |
noDataTime | HH:mm:ss | To get the no data time. |
speed | Float | To get the speed of the vehicle. |
gsmLevel | ||
address | String | To get the location of the vehicle. |
latitude | Float | To get the location occurately. |
longitude | Float | To get the location occcuately. |
This API is to track Multi vehicles. This uses both getSelectedVehicleLocation and getvehiclelocations.
http://domainname/getSelectedVehicleLocation
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
vehicleId | String | yes | - | To get the vehicleId. |
http://domainname/getSelectedVehicleLocation?vehicleId=XYZ&track=single&maps=single
Field | Type | Description |
---|---|---|
shortName | String | To get the vehicle name. |
group | String | To get the group. |
http://domainname/getVehicleLocations
http://domainname/getVehicleLocations
Field | Type | Description |
---|---|---|
shortName | String | To get the vehicle name. |
group | String | To get the group. |
vehicleId | String | To get the vehicleId. |
ododistance | Float | odometer reading. |
speed | Float | To get the vehicle speed. |
address | String | To get the address. |
This API is used to find the history of the vehicle for speed,distance,fuel and time. This uses getSelectedVehicleLocation, getvehiclelocations, storeOrgValues/mapHistory and storeOrgValues.
http://domainname/getVehicleHistory
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
vehicleId | String | yes | - | To get the vehicleId. |
fromDateUTC | Long | yes | - | To get the from date. |
toDateUTC | Long | yes | - | To get the end date. |
http://domainname/getVehicleHistory?vehicleId=XYZ&fromDateUTC=1674613849963&toDateUTC=1674620989963
Field | Type | Description |
---|---|---|
shortName | String | To get the vehicle name. |
group | String | To get the group. |
Date | yyyy-mm-dd | To get the date. |
speed | Float | To get the speed. |
address | String | To get the location. |
direction | String | To get the direction |
latitude | Float | To get the latitude. |
longitude | Float | To get the latitude. |
distancecovered | Float | To get the distance covered. |
odoDistance | Float | odo meter reading. |
fuelLitre | Float | To get the fuel level |
ignitionStatus | String | To get the ignition status. |
regNo | String | To get the vehicle name. |
overspeedLimit | Float | To get the over speed limit. |
http://domainname/getVehicleLocations
http://domainname/getVehicleLocations
Field | Type | Description |
---|---|---|
shortName | String | To get the vehicle name. |
group | String | To get the group. |
vehicleId | String | To get the vehicleId. |
ododistance | Float | odometer reading. |
speed | Float | To get the vehicle speed. |
address | String | To get the address. |
ntanksize | Float | To get the tank size. |
fuelLitre | Float | To get the current fuel. |
http://domainname/storeOrgValues
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
orgId | String | yes | - | To get the organisation Id. |
http://domainname/storeOrgValues/val?orgId%5B%5D=CATU
Field | Type | Description |
---|---|---|
routeNames | String | To get the route names. |
http://domainname/storeOrgValues/mapHistory
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
organId | String | yes | - | To get the organisation Id. |
mapRoute | String | yes | - | To get the routes. |
http://domainname/storeOrgValues/mapHistory?maproute=testing+check&organId%5B%5D=CATU
Field | Type | Description |
---|---|---|
latitude | String | To get the route occurately. |
longitude | String | To get the route occurately. |
This api is used to put the site or geofence based on the oraganisation and organisation id and type.
http://domainname/v2/viewSiteV2
http://domainname/v2/viewSiteV2
Field | Type | Description | |
---|---|---|---|
siteName | string | To get the site name. | |
siteType | String | To get the site Type. | |
orgId | String | To get the organisation id. | |
sitePlanTime | Integer | To get the site plan time. |
This api is used to give the alerts about the battery and type of alert within time and date. This API should be fired after firing getVehicleLocations API. Because the first API has the mapping between vehicleName and vehicleId. For this API vehicleID is the input.
http://domainname/getAlarmReport
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
vehicleId | String | yes | - | To get the vehicleId. |
fromDateUTC | yyyy-mm-dd | Yes | - | fromdate is used to start date |
toDateutc | yyyy-mm-dd | Yes | - | toDate is used to get endDate |
fromDate | String | Yes | - | To get the start datet. |
toDate | String | Yes | - | to get the end date. |
fromTime | String | Yes | 00:00:00 | to get the start time(24 hours format). |
toTime | String | Yes | 23:59:59 | To get the endtime(24 hoursformat). |
http://domainname/getAlarmReport?vehicleId=XYZ&fromDate=2023-03-15&fromTime=0:0:00&toDate=2023-03-15&toTime=14:54:00&fromDateUTC=1678818600000&toDateUTC=1678872240000
Field | Type | Description |
---|---|---|
longitude | String | To get the location |
latitude | String | To get the location |
alarmTime | HH:mm:ss/dd-MM-yyyy | To get the alarm time with date. |
address | String | To get the location |
alarmType | String | To get the alarm type. |
This api is used to get the notification.
http://domainname/getUserNotification
http://domainname/getUserNotification
Field | Type | Description |
---|---|---|
Notification | String | To get the notification messages. |
This api is used to get the url for sharing the vehicle details to others.
http://domainname/getVehicleLocations
http://domainname/getVehicleLocations
Field | Type | Description |
---|---|---|
group | String | To get the group Name. |
This api is used to get the url for sharing the vehicle details to others.
http://domainname/getApiKey
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
validDays | String | yes | - | To give the validity for apikey. |
time | Float | yes | - | To give the valid time. |
http://domainname/getApiKey?validDays=12&time=1678948901
Field | Type | Description |
---|---|---|
apikey | String | To get the apikey with validity. |
This api is used to get the shift details based on the organisation name and selected date.
http://domainname/getOrgShiftsBasedOnOrg
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
orgId | String | yes | - | To get the organisation Id. |
http://domainname/getOrgShiftsBasedOnOrg?orgId=MSS
Field | Type | Description |
---|---|---|
shiftName | String | To get the shift Name. |
startTime | HH:mm | To get the start Time. |
endTime | HH:mm | To get the end Time. |
This api is used to get the shift details based on the organisation name and selected date.
http://domainname/getOrgShiftReportForUser
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
orgId | String | yes | - | To get the organisation Id. |
shiftName | String | yes | - | To get the shift Name. |
fromTimeUtc | Float | yes | - | To get the from time.. |
toTimeutc | Float | yes | - | To get the end time. |
http://domainname/getOrgShiftReportForUser
Field | Type | Description |
---|---|---|
vehicleName | String | To get the vehicle Name. |
vehiclemodel | String | To get the vehicle Model. |
Time | HH:mm | To get the Time. |
This api is used to get the url for sharing the vehicle details to others.
http://domainname/getConsolidatedOrgShiftReportForUser
Name | Type | Required | Default Value | Desc |
---|---|---|---|---|
orgId | String | yes | - | To get the organisation Id. |
fromTimeUtc | Float | yes | - | To get the from time.. |
toTimeutc | Float | yes | - | To get the end time. |
http://domainname/getConsolidatedOrgShiftReportForUser?orgId=MSS&fromTimeUtc=1678645800000&toTimeUtc=1678732140000
Field | Type | Description |
---|---|---|
vehicleId | String | To get the vehicleId. |
shiftName | String | To get the shift Name. |
startTime | HH:mm | To get the start Time. |
endTime | HH:mm | To get the end Time. |
Goal: Get the newest GPS data of all vehicles of a specified account.
URL: http://<domainname>/apiMobile/getVehicleLocations OR getVehicleDetails4TVS
NOTE: getVehicleLocations will return JSON data while getVehicleDetails4TVS will give XML data only with the same process as on vehicle location.
HTTP Method: GET
Input Parameters: userId, userLocation, group, apiKey, macid, appid , imei, apiKey, language
Name | Type | Required | Default value | Desc |
---|---|---|---|---|
userId | String | Yes | - | Group Id of the user for which vehicles are allotted. |
http://<domainname>/apiMobile/getVehicleLocations?apiKey=ndwlraqfxujojrmktvzg&userId=DEMO&groupId=DEMO:Fcode
Field | Type | Description |
---|---|---|
Distance | String | Total Distance covered for all vehicles |
rowId | String | Row Count |
Group | String | Group Name for which vehicles are grouped under |
zoomLevel | String | Map zoom level |
Latitude | String | GPS Latitude |
Longtitude | String | GPS Longitude |
topSpeedVehicleId | String | Top speed vehicle Id |
totalMovingVehicles | String | Total moving vehicles count |
totalIdleVehicles | String | Total Idle vehicles count |
totalParkedVehicles | String | Total parked vehicles count |
totalNoDataVehicles | String | Total no data vehicles count |
allow Booking | String | For future use |
allowed Vehicles | String | For future use |
support Details | String | Support details |
row ID | Integer | Record count |
Latitude | String | GPS latitude |
Longitude | String | GPS Longitude |
Speed | Integer | Current speed of the vehicle |
Date | String | Current date and time (UTC |
Alert | String | Type of alert |
Direction | String | Course of vehicle (North, South, East , West, NE,NW,SE,SW) |
Position | String | Moving, Parked, Static (Idle), NoData |
distanceCovered | double | Distance travelled today |
odoDistance | double | Vehicle odo meter reading |
tankSize | Integer | Fuel Tank Size |
Status | String | GPS Status (ON or oFF) |
Color | String | Internal use |
lastSeen | String | GPS Last Communicated time |
ignitionStatus | String | ACC Status (ON or OFF) |
insideGeoFence | String | Is vehicle inside Geo fence (yes or no) |
isOverSpeed | String | Yes or No |
Address | String | Address for the current lat and lng |
parkedTime | Integer | Parked time (shown when only vehicle is parked) |
movingTime | Integer | Moving time (shown when only vehicle is moving) |
idleTime | Integer | Idle time (shown when only vehicle is idle) |
noDataTime | Integer | No data time (shown when only vehicle is not communicating) |
alertDataTime | String | Alert time (shown when last alert received) |
loadTruk | String | Load of the truck received via load sensor |
loadTrailer | String | Load of the trailer received via load sensor |
totalTruck | String | For future use |
totalTrailer | String | For future use |
vehicleBusy | String | For future use |
fuelLitre | String | Current fuel level in litre |
oprName | String | For future use |
regNo | String | Vehicle Registration Number |
vehicleType | String | Type of vehicle (Truck, Bus, Car) |
vehicleId | String | Asset ID. This is very importat. |
mobileNo | String | Mobile Number configured (typically drivers mobie Number) |
customMarker | String | For future use |
deviceModel | String | Model of the device like GT06N etc |
shortName | String | Vehicle Name |
orgId | String | Organization Name |
overSpeedLimit | String | Over Speed Limit |
driverName | String | Name of the driver |
Live | String | For future use |
This documentation is about the open API for the platform Vehicle Tracking System. Any qualified third party applications or websites may utilize this API to empower the business.
This API is based on REST standards, and is compatible with all kinds of programming languages. Many of the fields are self-explanatory
For server side programming API key is not mandatory. IP Listing can be done from GPS provider side. For client side programming API Key is mandatory.
1. The API is used to extend GPS functionalities of the underlying dealers' own systems.
2. Accounts of dealers' own systems should be mapped to the assets (IMEIs) of our vehicle-tracking platform.
3. Dealers' application servers issue API requests to get GPS data.
Name | Type | Mandatory | Desc |
---|---|---|---|
apiKey | String | Yes | An apiKey, used to indicate whether the invoker is authorized. Reference to 4.1 for acquiring the token.The apiKey should only be used within your server side code, otherwise it will not work. |
userId | String | Yes | The userId which is the one you used to acquire api key |
Time | number | Yes | UNIX timestamp, in seconds. Generally the time when the request is invoked. |
The encoding of request and response is utf-8, all parameters in url should be URIEncoded
JSON
Content-type:
Note: For testing phase this is not required.
Description: Acquire apiKey
URL: http://<domainname>/api/getApiKey
HTTP Method: GET
Name | Type | Desc |
---|---|---|
userId | String | Account of user |
Time | Long | Current Unix time stamp from EpochConverter |
Signature | String | Encrypted signature; Md5 algorithm: md5(userId+Password) |
validDays | String | As a number like 4, and it would be valid for 4 days |
http://<domainname>/api/getApiKey?userId=DEMO&time=EpochTime &signature=83accefcd58239d8283da1b0bca78abc&validDays=4
Note: To convert epochTime -> http://www.epochconverter.com/
Name | Type | Desc |
---|---|---|
Status | String | The status parameter written for success or failure |
Reason | String | If status is zero, here the reason |
apiKey | String | For authorization |
expires_in | Number | Expiration of apiKey, in seconds |
Note:
1. apiKey should be used within server side code only, otherwise it will not work.
2.If a return code is NULL, it means the apiKey has been expired and should be reacquired.
This API can be used to get FMS details for a vehicle.
URL: http://<domainname>/apiMobile/getFmsDetails
HTTP Method: GET
Input Parameters: userId, vehicleId, documentType, dueDate, notifyInterval, monthInterval, amount, issuingCompany, note
Name | Type | Required | Default |
---|---|---|---|
userId | String | yes | - |
vehicleId | String | yes | - |
documentType | String | no | -1 |
dueDate | String | no | 2018-01-01 |
notifyInterval | Integer | no | -1 |
monthInterval | Integer | no | -1 |
amount | Integer | no | 1 |
issuingCompany | String | no | Govt |
note | String | no | - |
http://<domainname>/apiMobile/getFmsDetails?vehicleId=XYZ&userId=DEMO
Field | Type | Description |
---|---|---|
error | String | Null |
vehicleName | String | VehicleName under a group |
vehicleId | String | Asset ID |
getFmsData | ArrayList | - |
getReminderList | ArrayList | - |
serviceList | ArrayList | - |
ServiceReminderList | ArrayList | - |