Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Sv translation
languageen

Returns current information about steering time, working time, remaining steer time, start of shift of current day, week and doubleweek of a driver based on digital tachometer information interface.(D8).

Description

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

Parameter

ParameterDescriptionTypeNoteMandatory
companyRTI company keystring
yes
importRTI import keystring
yes
driverdriver keystring
yes
formatreturn formatstringcsv or json (default)no

Return

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

columnDescription
DRIVER_NAMEdriver name
DRIVER_KEYdriver key
STEER_SECONDSsteering time in seconds of current day
STEER_TIMEsteering time of current dayformat 0h 00m
WORK_SECONDSworking time in seconds of current day
WORK_TIMEworking time of current day
format 0h 00m
REMAINING_SECONDSremaining steer time in seconds of current day
REMAINING_TIMEremaining steer time of current dayformat 0h 00m
SHIFT_STARTstart of shiftformat YYYY-MM-DD HH:MM:SS
WEEK_STEER_SECONDSweekly steering time in seconds
WEEK_STEER_TIMEweekly steering timeformat 0h 00m
WEEK_WORK_SECONDSweekly working time in seconds
WEEK_WORK_TIMEweekly working timeformat 0h 00m
WEEK_REMAINING_SECONDSweekly remaining steer time in seconds
WEEK_REMAINING_TIMEweekly remaining steer timeformat 0h 00m
WEEK_STARTstart of weekformat YYYY-MM-DD HH:MM:SS
DBL_WEEK_STEER_SECONDSdoubleweek steering time in seconds
DBL_WEEK_STEER_TIMEdoubleweek steering timeformat 0h 00m
DBL_WEEK_WORK_SECONDSdoubleweek working time in seconds
DBL_WEEK_WORK_TIMEdoubleweek working timeformat 0h 00m
DBL_WEEK_REMAINING_SECONDSdoubleweek remaining steer time in seconds
DBL_WEEK_REMAINING_TIMEdoubleweek remaining steer timeformat 0h 00m
DBL_WEEK_STARTstart of doubleweekformat YYYY-MM-DD HH:MM:SS
BLOCK_REMAINING_TIME_SECONDSremaining steer time until next break in seconds
BLOCK_REMAINING_TIMEremaining steer time until next breakformat 0h 00m
NEXT_BREAK_DURATION_SECONDSnext break duration in seconds
NEXT_BREAK_DURATIONnext break durationformat 0h 00m
Examplecode
Code Block
title
example
"DRIVER_NAME";"DRIVER_KEY";"STEER_SECONDS";"STEER_TIME";"WORK_SECONDS";"WORK_TIME";"REMAINING_SECONDS";"REMAINING_TIME";"SHIFT_START";"WEEK_STEER_SECONDS";"WEEK_STEER_TIME";"WEEK_WORK_SECONDS";"WEEK_WORK_TIME";"WEEK_REMAINING_SECONDS";"WEEK_REMAINING_TIME";"WEEK_START";"DBL_WEEK_STEER_SECONDS";"DBL_WEEK_STEER_TIME";"DBL_WEEK_WORK_SECONDS";"DBL_WEEK_WORK_TIME";"DBL_WEEK_REMAINING_SECONDS";"DBL_WEEK_REMAINING_TIME";"DBL_WEEK_START";"BLOCK_REMAINING_TIME_SECONDS";"BLOCK_REMAINING_TIME";"NEXT_BREAK_DURATION_SECONDS";"NEXT_BREAK_DURATION"
"Musternamm, Paul";"DF00011424169815";"0";"0 h 0 m";"0";"0 h 0 m";"36000";"10 h 0 m";"2015-11-17 10:02:43";"20520";"5 h 42 m";"3180";"0 h 53 m";"181080";"50 h 18 m";"2015-11-16 00:00:00";"166140";"46 h 9 m";"11520";"3 h 12 m";"157860";"43 h 51 m";"2015-11-09 00:00:00";"12325";"3 h 25 m";"2700";"0 h 45 m"

JSON Format

Columns

ColumnDescription
driverNamedriver name
driverKeydriver key
steerTimeSecondssteering time in seconds of current day
steerTimesteering time of current dayformat 0h 00m
workTimeSecondsworking time in seconds of current day
workTimeworking time of current dayformat 0h 00m
remainingTimeSecondsremaining steer time in seconds of current day
remainingTimeremaining steer time of current dayformat 0h 00m
blockRemainingTimeSecondsremaining steer time until next break in seconds
blockRemainingTimeremaining steer time until next breakformat 0h 00m
nextBreakDurationSecondsnext break duration in seconds
nextBreakDurationnext break durationformat 0h 00m
shiftStartstart of shiftformat YYYY-MM-DD HH:MM:SS
steerTimeSecondsSingleWeekweekly steering time in seconds
steerTimeSingleWeekweekly steering timeformat 0h 00m
workTimeSecondsSingleWeekweekly working time in seconds
workTimeSingleWeekweekly working timeformat 0h 00m
remainingTimeSecondsSingleWeekweekly remaining steer time in seconds
remainingTimeSingleWeekweekly remaining steer timeformat 0h 00m
startSingleWeekstart of weekformat YYYY-MM-DD HH:MM:SS
steerTimeSecondsDoubleWeekdoubleweek steering time in seconds
steerTimeDoubleWeekdoubleweek steering timeformat 0h 00m
workTimeSecondsDoubleWeekdoubleweek working time in seconds
workTimeDoubleWeekdoubleweek working timeformat 0h 00m
remainingTimeSecondsDoubleWeekdoubleweek remaining steer time in seconds
remainingTimeDoubleWeekdoubleweek remaining steer timeformat 0h 00m
startDoubleWeekstart of doubleweekformat YYYY-MM-DD HH:MM:SS
Code Block
Examplecode
title
example
{"driverName":"Mustermann, Paul","driverKey":"DF0123456789815","steerTimeSeconds":12325,"steerTime":"3 h 25 m","workTimeSeconds":120,"workTime":"0 h 2 m","remainingTimeSeconds":23675,"remainingTime":"6 h 35 m","blockRemainingTimeSeconds":12325,"blockRemainingTime":"3 h 25 m","nextBreakDurationSeconds":2700,"nextBreakDuration":"0 h 45 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","steerTimeSecondsDoöubleWeek":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"}

Example

Calls

calls

Code Block
titleRequest in JSON format
https://map.yellowfox.de/rti/get_d8_driver_time.php?company=COMPANY_RTIKEY&import=IMPORT_RTIKEY&driver=DF0123456789000


Code Block
titleRequest in CSV format
https://map.yellowfox.de/rti/get_d8_driver_time.php?company=COMPANY_RTIKEY&import=IMPORT_RTIKEY&driver=DF0123456789000&format=csv