Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Sv translation
languagede

Gibt aktuelle Informationen bezüglich Lenkzeit, Arbeitszeit, Restlenkzeit, Schichtbeginn vom aktuellen Tag, Woche und Doppelwoche eines Fahrers zurück auf Basis der Digitacho Infoschnittstelle (D8).

Beschreibung

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

Parameter

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

Rückgabe

Es wird ein string zurückgegeben. Im Fehlerfall wird "ERROR:Beschreibung" zurückgegeben.

CSV Format

Metainformationen

TrennzeichenSemikolon ( ; )
TextbegrenzerDoppeltes Hochkomma ( " )
Zeilenende0x0D 0x0A (CarriageReturn LineFeed)
HeaderZeile 1

Spalten

SpalteBeschreibung 
DRIVER_NAMEFahrername 
DRIVER_KEYFahrerschlüssel 
STEER_SECONDSTagesaktuelle Lenkzeit in Sekunden 
STEER_TIMETagesaktuelle LenkzeitFormat 0h 00m
WORK_SECONDSTagesaktuelle Arbeitszeit in Sekunden 
WORK_TIMETagesaktuelle ArbeitszeitFormat 0h 00m
REMAINING_SECONDSTagesrestlenkzeit in Sekunden 
REMAINING_TIMETagesrestlenkzeitFormat 0h 00m
SHIFT_STARTSchichtbeginnFormat YYYY-MM-DD HH:MM:SS
WEEK_STEER_SECONDSWochenlenkzeit in Sekunden 
WEEK_STEER_TIMEWochenlenkzeitFormat 0h 00m
WEEK_WORK_SECONDSWochenarbeitszeit in Sekunden 
WEEK_WORK_TIMEWochenarbeitszeitFormat 0h 00m
WEEK_REMAINING_SECONDSWochenrestlenkzeit in Sekunden 
WEEK_REMAINING_TIMEWochenrestlenkzeitFormat 0h 00m
WEEK_STARTWochenstartFormat YYYY-MM-DD HH:MM:SS
DBL_WEEK_STEER_SECONDSDoppelwochenlenkzeit in Sekunden 
DBL_WEEK_STEER_TIMEDoppelwochenlenkzeitFormat 0h 00m
DBL_WEEK_WORK_SECONDSDoppelwochenarbeitszeit in Sekunden 
DBL_WEEK_WORK_TIMEDoppelwochenarbeitszeitFormat 0h 00m
DBL_WEEK_REMAINING_SECONDSDoppelwochenrestlenkzeit in Sekunden 
DBL_WEEK_REMAINING_TIMEDoppelwochenrestlenkzeitFormat 0h 00m
DBL_WEEK_STARTStart der DoppelwocheFormat YYYY-MM-DD HH:MM:SS

Beispiel

Code Block
"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

Code Block
{"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

Code Block
titleAbfrage im JSON Format
http://map.yellowfox.de/rti/get_d8_driver_time.php?company=COMPANY_RTIKEY&import=IMPORT_RTIKEY&driver=DF0123456789000
Code Block
titleAbfrage im CSV Format
http://map.yellowfox.de/rti/get_d8_driver_time.php?company=COMPANY_RTIKEY&import=IMPORT_RTIKEY&driver=DF0123456789000&format=csv
Sv translation
languageen

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

Rückgabe

Es wird ein string zurückgegeben. Im Fehlerfall wird "ERROR:Beschreibung" zurückgegeben.

CSV Format

Metainformationen

TrennzeichenSemikolon ( ; )
TextbegrenzerDoppeltes Hochkomma ( " )
Zeilenende0x0D 0x0A (CarriageReturn LineFeed)
HeaderZeile 1

Spalten

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

Code Block
"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

Code Block
{"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

Code Block
titleAbfrage im JSON Format
http://map.yellowfox.de/rti/get_d8_driver_time.php?company=COMPANY_RTIKEY&import=IMPORT_RTIKEY&driver=DF0123456789000
Code Block
titleAbfrage im CSV Format
http://map.yellowfox.de/rti/get_d8_driver_time.php?company=COMPANY_RTIKEY&import=IMPORT_RTIKEY&driver=DF0123456789000&format=csv