You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

Returns current information about steer time, work time, remaining steer time, start of shift of current day, week and double week of a driver based by digital tachometer information interface.(D8).

Description

get_d8_driver_time.php?company=COMPANY_RTIKEY&import=IMPORT_RTIKEY&driver=DF0123456789000&format=csv

Parameter

ParameterDescriptionTypeNotePflicht
companyRTI Firmenschlüsselstring ja
importRTI Importschlüsselstring ja
driverFahrerschlüsselstring ja
formatRückgabeformatstringcsv oder json (Standard)nein

Return a stringIn case of error it returns "ERROR_description".

CSV Format

Meta informations

SeparatorSemicolon ( ; )
DelimiterDouble quote ( " )
Line break0x0D 0x0A (CarriageReturn LineFeed)
HeaderLine 1

Columns

 

SpalteBeschreibung 
DRIVER_NAMEdriver name 
DRIVER_KEYdriver key 
STEER_SECONDScurrent steer time in seconds 
STEER_TIMEcurrent steer timeformat 0h 00m
WORK_SECONDScurrent worktime in seconds 
WORK_TIME current worktimeformat 0h 00m
REMAINING_SECONDSremaining steer time in seconds 
REMAINING_TIMEremaining steer timeformat 0h 00m
SHIFT_STARTstart of shiftformat YYYY-MM-DD HH:MM:SS
WEEK_STEER_SECONDSweek steer time in seconds 
WEEK_STEER_TIMEweek steer timeFormat 0h 00m
WEEK_WORK_SECONDSWochenarbeitszeit in Sekunden 
WEEK_WORK_TIMEweek work timeformat 0h 00m
WEEK_REMAINING_SECONDSweek remaining steer time in seconds 
WEEK_REMAINING_TIMEweek remaining steer timeformat 0h 00m
WEEK_STARTstart of weekformat YYYY-MM-DD HH:MM:SS
DBL_WEEK_STEER_SECONDSdouble week steer time in seconds 
DBL_WEEK_STEER_TIMEdouble week steer timeformat 0h 00m
DBL_WEEK_WORK_SECONDSdouble week work time in seconds 
DBL_WEEK_WORK_TIMEdouble week work timefFormat 0h 00m
DBL_WEEK_REMAINING_SECONDSdouble week remaining steer time in seconds 
DBL_WEEK_REMAINING_TIMEdouble week remaining steer timeformat 0h 00m
DBL_WEEK_STARTstart of double weekformat YYYY-MM-DD HH:MM:SS

Beispiel

"DRIVER_NAME";"DRIVER_KEY";"STEER_SECONDS";"STEER_TIME";"WORK_SECONDS";"WORK_TIME";"REMAINING_SECONDS";"REMAINING_TIME";"SHIFT_START"
"Mustermann, Paul";"DF0123456789000";"4260";"1 h 11 m";"180";"0 h 3 m";"28140";"7 h 49 m";"2015-05-19 04:25:00"

JSON Format

Spalten

SpalteBeschreibung 
driverNameFahrername 
driverKeyFahrerschlüssel 
steerTimeSecondsTagesaktuelle Lenkzeit in Sekunden 
steerTimeTagesaktuelle LenkzeitFormat 0h 00m
workTimeSecondsTagesaktuelle Arbeitszeit in Sekunden 
workTimeTagesaktuelle ArbeitszeitFormat 0h 00m
remainingTimeSecondsTagesrestlenkzeit in Sekunden 
remainingTimeTagesrestlenkzeitFormat 0h 00m
shiftStartSchichtbeginnFormat YYYY-MM-DD HH:MM:SS
steerTimeSecondsSingleWeekWochenlenkzeit in Sekunden 
steerTimeSingleWeekWochenlenkzeitFormat 0h 00m
workTimeSecondsSingleWeekWochenarbeitszeit in Sekunden 
workTimeSingleWeekWochenarbeitszeitFormat 0h 00m
remainingTimeSecondsSingleWeekWochenrestlenkzeit  in Sekunden 
remainingTimeSingleWeekWochenrestlenkzeitFormat 0h 00m
startSingleWeekWochenstartFormat YYYY-MM-DD HH:MM:SS
steerTimeSecondsDoubleWeekDoppelwochenlenkzeit in Sekunden 
steerTimeDoubleWeekDoppelwochenlenkzeitFormat 0h 00m
workTimeSecondsDoubleWeekDoppelwochenarbeitszeit in Sekunden 
workTimeDoubleWeekDoppelwochenarbeitszeitFormat 0h 00m
remainingTimeSecondsDoubleWeekDoppelwochenrestlenkzeit in Sekunden 
remainingTimeDoubleWeekDoppelwochenrestlenkzeitFormat 0h 00m
startDoubleWeekStart der DoppelwocheFormat YYYY-MM-DD HH:MM:SS

Beispiel

{"driverName":"Mustermann, Paul","driverKey":"DF0123456789000","steerTimeSeconds":12325,"steerTime":"3 h 25 m","workTimeSeconds":120,"workTime":"0 h 2 m","remainingTimeSeconds":23675,"remainingTime":"6 h 35 m","shiftStart":"2015-11-16 12:04:00","steerTimeSecondsSingleWeek":12325,"steerTimeSingleWeek":"3 h 25 m","workTimeSecondsSingleWeek":120,"workTimeSingleWeek":"0 h 2 m","remainingTimeSecondsSingleWeek":189275,"remainingTimeSingleWeek":"52 h 35 m","startSingleWeek":"2015-11-16 00:00:00","steerTimeSecondsDoubleWeek":157945,"steerTimeDoubleWeek":"43 h 52 m","workTimeSecondsDoubleWeek":8460,"workTimeDoubleWeek":"2 h 21 m","remainingTimeSecondsDoubleWeek":166055,"remainingTimeDoubleWeek":"46 h 8 m","startDoubleWeek":"2015-11-09 00:00:00"}

Beispielaufrufe

Abfrage im JSON Format
http://map.yellowfox.de/rti/get_d8_driver_time.php?company=COMPANY_RTIKEY&import=IMPORT_RTIKEY&driver=DF0123456789000
Abfrage im CSV Format
http://map.yellowfox.de/rti/get_d8_driver_time.php?company=COMPANY_RTIKEY&import=IMPORT_RTIKEY&driver=DF0123456789000&format=csv
  • No labels