WS tacho

Version 2.5 by Admin on 2019/09/09 08:20

Request URL
GET http://etransportas.aktkc.lt/gps/api/ws/tacho.ws?key=5907351580FFA97BC3C5E173DF409549&uid=25454
Request parameters
PropertyTypeDescriptionDefault
uidNumberUser Id in Webfleet system 
keyStringAuthentication key: MD5(username;password;client_IP_Address) 
Response
{
"status": {
 "code": 200,
 "message": "OK"
 },
"body": {
 "tachos": [{
  "carId": 15159,
  "carNr": "KJO 617",
  "tachoState": 3,
  "driver1EventMinutesBefore": 4,
  "driver1EventDateTime": "09-09 10:25",
  "driver1FullName": "VAIDAS SESETAS",
  "driver1Data": {
   "driveShort": 245,
   "driveLong": 531,
   "restingNow": 0,
   "restLeft": 0,
   "driveThisWeek": 3291,
   "weekTotalDrivenMinutes": 69,
   "driveThisWeekLeft": 3291,
   "minutesToDailyRest": 1105,
   "minutesTillWeeklyRest": 4223,
   "weekReducedDailyRests": 0,
   "nineHoursTimesExceeded": 0
   },
  "driver2EventMinutesBefore": 880,
  "driver2EventMinutesBeforeFormatted": 0,
  "driver2FullName": "LAIMUTIS SAMUOLIS",
  "bothDriversCombinedData": {
   "driveLong": 833,
   "driveThisWeek": 5114
   }
  },
  {
  "carId": 13268,
  "carNr": "HZA 917",
  "tachoState": 0,
  "driver1EventMinutesBefore": 1,
  "driver1EventDateTime": "09-09 10:28",
  "driver1FullName": "ARUNAS MILEVSKIS",
  "driver1Data": {
   "driveShort": 270,
   "driveLong": 600,
   "restingNow": 847,
   "restLeft": 0,
   "driveThisWeek": 3360,
   "weekTotalDrivenMinutes": 0,
   "driveThisWeekLeft": 3360,
   "minutesToDailyRest": 1260,
   "minutesTillWeeklyRest": 7775,
   "weekReducedDailyRests": 0,
   "nineHoursTimesExceeded": 0
   },
  "driver2EventMinutesBefore": 4870,
  "driver2EventMinutesBeforeFormatted": 0,
  "driver2FullName": "JOSIF MACEL",
  "bothDriversCombinedData": {
   "driveLong": 1002,
   "driveThisWeek": 6028
   }
  },
  {
  "carId": 10762,
  "carNr": "GZD 408",
  "tachoState": 0,
  "driver1EventMinutesBefore": 4,
  "driver1EventDateTime": "09-09 10:25",
  "driver1FullName": "SIARHEI HERASIMIUK",
  "driver1Data": {
   "driveShort": 0,
   "driveLong": 181,
   "restingNow": 33,
   "restLeft": 0,
   "driveThisWeek": 0,
   "weekTotalDrivenMinutes": 360,
   "driveThisWeekLeft": 0,
   "minutesToDailyRest": 396,
   "minutesTillWeeklyRest": 0,
   "weekReducedDailyRests": 0,
   "nineHoursTimesExceeded": 0
   }
  }
 }]
 }
}
Json FranceReport parameters
PropertyTypeDescription
vehicleGroupsArrayArray of single car records
ObjectNode vehicleGroups parameters
PropertyTypeDescription
carNr Stringformat "XXX 111"
overallDrivenTimeSumLongOverall driven time in milliseconds
overallDrivenTimeSumStringStringOverall driven time in String, format "hh:mm:ss"
engineTimeSum LongEngine work time overall in milliseconds
engineTimeSumString StringEngine work time overall in String, format "hh:mm:ss"
durationSum LongDuration of all events time in milliseconds
durationSumString StringDuration of all events time in String, format "hh:mm:ss"
driveTimeDaySum LongDay drive time in milliseconds
driveTimeDaySumString StringDaytime driven time overall in String, format "hh:mm:ss"
driveTimeNightSum LongNight drive time in milliseconds
driveTimeNightSumString StringNight time driven time overall in String, format "hh:mm:ss"
distanceGPSSum DoubleDistance traveled overall value from GPS (km)
distanceGPSSumString StringDistance by S overall value in String, format "x.yy"
distanceFMSSum DoubleDistance traveled overall value from FMS (km)
distanceFMSSumString StringDistance by FMS overall value in String, format "x.yy"
Events ArrayNodeArray of car events
ArrayNode Events parameters
PropertyTypeDescription
endDate StringEvent start date in String, format "yyyy-MM-dd hh:mm:ss"
startDate StringEvent end date in String, format "yyyy-MM-dd hh:mm:ss"
drivenTimeOverallString StringString value of overallTime, format "hh:mm:ss"
engineTimeString StringString value of engineTime, format "hh:mm:ss"
durationString StringString value of duration, format "hh:mm:ss"
driveTimeNightString StringString value of driveTimeNight, format "hh:mm:ss"
driveTimeDayString StringString value of driveTimeDay, format "hh:mm:ss"
distanceGPSString StringString value of distanceGPS, format "x.yy"
distanceFMSString StringString value of distanceFMS, format "x.yy"
duration LongDuration between events in milliseconds
engineTime LongEvent engine time in milliseconds
overallTime LongEvent overall driven time in milliseconds
driveTimeDay LongEvent day driven time in milliseconds
driveTimeNight LongEvent night driven time in milliseconds
distanceGPS DoubleDistance traveled value from GPS (km)
distanceFMS DoubleDistance traveled value from FMS (km)
Tags:
Created by Admin on 2019/09/09 08:14