Changes for page get_info.php
Last modified by YellowFox_RD on 2025/01/23 09:45
From version 2.1
edited by Dominic Lippmann
on 2025/01/23 09:44
on 2025/01/23 09:44
Change comment:
There is no comment for this version
To version 5.1
edited by YellowFox_RD
on 2025/01/23 09:45
on 2025/01/23 09:45
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. yf-dominic1 +XWiki.YellowFox_RD - Content
-
... ... @@ -34,7 +34,7 @@ 34 34 "latitude": 0, 35 35 "longitude": 0 36 36 } 37 -}{{/code}}|object||yes 37 +}{{/code}}|object| |yes 38 38 |departure|Start coordinate for routing 39 39 {{code language="java"}}"departure": { 40 40 "coordinates": { ... ... @@ -49,13 +49,11 @@ 49 49 "traffic_incidents": false, 50 50 "driving_regulation_ec_561": false, 51 51 "historic_speed": false 52 -}{{/code}}|object|By default all options are deactivated. You can also use only some of these options. The following options are available: 53 -((( 52 +}{{/code}}|object|By default all options are deactivated. You can also use only some of these options. The following options are available:((( 54 54 * **traffic_incidents**: Indicates if current traffic info (traffic jams, construction work etc.) should be used. 55 55 * **driving_regulation_ec_561**: Indicates if rules regarding steer and rest times according to EC 561/2006 should be used. Only if this is activated, the data given at //driver_info //will be used. If //driver_info //is not given, the data of the current driver of the vehicle will be used. 56 56 * **historic_speed**: Indicates if historical traffic info should be used, e.g. that driving during rush hour usually takes longer. 57 -))) 58 -|no 56 +)))|no 59 59 |driver_info|Driver data 60 60 {{code language="java"}}"driver_info": { 61 61 "last_time_the_driver_worked": "YYYY-MM-DDTHH:ii:ss+HH:ii", ... ... @@ -64,14 +64,12 @@ 64 64 "elapsed_time_since_end_of_last_daily_rest": 0 65 65 }{{/code}}|object|If //driver_info //is not given, the data of the current driver of the vehicle will be used. 66 66 The option //driving_regulation_ec_561 //has to be activated in order to use the driver data. 67 -The following infos can be given: 68 -((( 65 +The following infos can be given:((( 69 69 * **last_time_the_driver_worked**: Time of last work time booking. Everything after that will be assumed as rest time. Is a timestamp in ISO 8601 format. 70 70 * **accumulated_driving_time_since_last_break**: Steering time since end of last break in seconds. The driver is not allowed to drive longer than 4.5 hours without break. If 4.5 hours have already been exceeded, the request will do the same as if the time is 4.5 hours. 71 71 * **accumulated_driving_time_since_last_daily_rest**: Steering time since end of last daily rest time in seconds. The driver is not allowed to drive longer than 9 hours before doing his next daily rest time. If 9 hours have already been exceeded, the request will do the same as if the time is 9 hours. 72 72 * **elapsed_time_since_end_of_last_daily_rest**: Time since end of last daily rest time in seconds. The driver has to do the next daily rest time 13 hours after shift begin at maximum. If 13 hours have already been exceeded, the request will do the same as if the time is 13 hours. This value can not be greater than //accumulated_driving_time_since_last_daily_rest.// 73 -))) 74 -|no 70 +)))|no 75 75 76 76 = Return value = 77 77 ... ... @@ -143,9 +143,9 @@ 143 143 144 144 **Request with RTI key** 145 145 146 - |https:~/~/map.yellowfox.de/rti/eta/get_info.php?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY142 +{{code language="java"}}https://map.yellowfox.de/rti/eta/get_info.php?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY{{/code}} 147 147 148 148 **Request with RTI ident** 149 149 150 - |https:~/~/map.yellowfox.de/rti/eta/get_info.php?company=COMPANY_RTIKEY={"type":"car_ident","groupKey":"GROUP_RTIKEY","ident":"VEHICLE_IDENT"}146 +{{code language="java"}}https://map.yellowfox.de/rti/eta/get_info.php?company=COMPANY_RTIKEY={"type":"car_ident","groupKey":"GROUP_RTIKEY","ident":"VEHICLE_IDENT"}{{/code}} 151 151