Endpoint for Drivers to Retrieve a List of Assigned Tasks
GET
/api/yard-task/driver/tasks
curl \
-X GET https://api-dev.gatego.io/api/yard-task/driver/tasks
Response examples (default)
[
{
"id": 1,
"priority": "URGENT",
"yard_id": 1,
"created_at": {
"year": 42,
"month": 42,
"date": 42,
"day": 42,
"hours": 42,
"minutes": 42,
"seconds": 42,
"time_impl": 42,
"timezone_offset": 42,
"calendar_date": {
"era": {
"name": "string",
"abbr": "string",
"since": 42,
"since_date": {
"era": {},
"year": 42,
"month": 42,
"day_of_month": 42,
"day_of_week": 42,
"leap_year": true,
"hours": 42,
"minutes": 42,
"seconds": 42,
"millis": 42,
"fraction": 42,
"normalized": true,
"zoneinfo": {
"id": "string",
"raw_offset": 42,
"i_d": "string",
"display_name": "string",
"d_stsavings": 42
},
"zone_offset": 42,
"daylight_saving": 42,
"force_standard_time": true,
"locale": {
"language": "string",
"script": "string",
"country": "string",
"variant": "string",
"extension_keys": [
"string"
],
"unicode_locale_attributes": [
"string"
],
"unicode_locale_keys": [
"string"
],
"i_so3_language": "string",
"i_so3_country": "string",
"display_language": "string",
"display_script": "string",
"display_country": "string",
"display_variant": "string",
"display_name": "string"
},
"time_of_day": 42,
"standard_time": true,
"daylight_time": true,
"zone": {
"id": "string",
"raw_offset": 42,
"i_d": "string",
"display_name": "string",
"d_stsavings": 42
}
},
"local_time": true,
"hash": 42,
"abbreviation": "string"
},
"year": 42,
"month": 42,
"day_of_month": 42,
"day_of_week": 42,
"leap_year": true,
"hours": 42,
"minutes": 42,
"seconds": 42,
"millis": 42,
"fraction": 42,
"normalized": true,
"zoneinfo": {
"id": "string",
"raw_offset": 42,
"i_d": "string",
"display_name": "string",
"d_stsavings": 42
},
"zone_offset": 42,
"daylight_saving": 42,
"force_standard_time": true,
"locale": {
"language": "string",
"script": "string",
"country": "string",
"variant": "string",
"extension_keys": [
"string"
],
"unicode_locale_attributes": [
"string"
],
"unicode_locale_keys": [
"string"
],
"i_so3_language": "string",
"i_so3_country": "string",
"display_language": "string",
"display_script": "string",
"display_country": "string",
"display_variant": "string",
"display_name": "string"
},
"time_of_day": 42,
"standard_time": true,
"daylight_time": true,
"zone": {
"id": "string",
"raw_offset": 42,
"i_d": "string",
"display_name": "string",
"d_stsavings": 42
},
"cached_year": 42,
"cached_fixed_date_jan1": 42,
"cached_fixed_date_next_jan1": 42,
"normalized_year": 42,
"cached_jan1": 42
},
"nanos": 42,
"time": 42
},
"updated_at": {
"year": 42,
"month": 42,
"date": 42,
"day": 42,
"hours": 42,
"minutes": 42,
"seconds": 42,
"time_impl": 42,
"timezone_offset": 42,
"calendar_date": {
"era": {
"name": "string",
"abbr": "string",
"since": 42,
"since_date": {
"era": {},
"year": 42,
"month": 42,
"day_of_month": 42,
"day_of_week": 42,
"leap_year": true,
"hours": 42,
"minutes": 42,
"seconds": 42,
"millis": 42,
"fraction": 42,
"normalized": true,
"zoneinfo": {
"id": "string",
"raw_offset": 42,
"i_d": "string",
"display_name": "string",
"d_stsavings": 42
},
"zone_offset": 42,
"daylight_saving": 42,
"force_standard_time": true,
"locale": {
"language": "string",
"script": "string",
"country": "string",
"variant": "string",
"extension_keys": [
"string"
],
"unicode_locale_attributes": [
"string"
],
"unicode_locale_keys": [
"string"
],
"i_so3_language": "string",
"i_so3_country": "string",
"display_language": "string",
"display_script": "string",
"display_country": "string",
"display_variant": "string",
"display_name": "string"
},
"time_of_day": 42,
"standard_time": true,
"daylight_time": true,
"zone": {
"id": "string",
"raw_offset": 42,
"i_d": "string",
"display_name": "string",
"d_stsavings": 42
}
},
"local_time": true,
"hash": 42,
"abbreviation": "string"
},
"year": 42,
"month": 42,
"day_of_month": 42,
"day_of_week": 42,
"leap_year": true,
"hours": 42,
"minutes": 42,
"seconds": 42,
"millis": 42,
"fraction": 42,
"normalized": true,
"zoneinfo": {
"id": "string",
"raw_offset": 42,
"i_d": "string",
"display_name": "string",
"d_stsavings": 42
},
"zone_offset": 42,
"daylight_saving": 42,
"force_standard_time": true,
"locale": {
"language": "string",
"script": "string",
"country": "string",
"variant": "string",
"extension_keys": [
"string"
],
"unicode_locale_attributes": [
"string"
],
"unicode_locale_keys": [
"string"
],
"i_so3_language": "string",
"i_so3_country": "string",
"display_language": "string",
"display_script": "string",
"display_country": "string",
"display_variant": "string",
"display_name": "string"
},
"time_of_day": 42,
"standard_time": true,
"daylight_time": true,
"zone": {
"id": "string",
"raw_offset": 42,
"i_d": "string",
"display_name": "string",
"d_stsavings": 42
},
"cached_year": 42,
"cached_fixed_date_jan1": 42,
"cached_fixed_date_next_jan1": 42,
"normalized_year": 42,
"cached_jan1": 42
},
"nanos": 42,
"time": 42
},
"started_at": {
"year": 42,
"month": 42,
"date": 42,
"day": 42,
"hours": 42,
"minutes": 42,
"seconds": 42,
"time_impl": 42,
"timezone_offset": 42,
"calendar_date": {
"era": {
"name": "string",
"abbr": "string",
"since": 42,
"since_date": {
"era": {},
"year": 42,
"month": 42,
"day_of_month": 42,
"day_of_week": 42,
"leap_year": true,
"hours": 42,
"minutes": 42,
"seconds": 42,
"millis": 42,
"fraction": 42,
"normalized": true,
"zoneinfo": {
"id": "string",
"raw_offset": 42,
"i_d": "string",
"display_name": "string",
"d_stsavings": 42
},
"zone_offset": 42,
"daylight_saving": 42,
"force_standard_time": true,
"locale": {
"language": "string",
"script": "string",
"country": "string",
"variant": "string",
"extension_keys": [
"string"
],
"unicode_locale_attributes": [
"string"
],
"unicode_locale_keys": [
"string"
],
"i_so3_language": "string",
"i_so3_country": "string",
"display_language": "string",
"display_script": "string",
"display_country": "string",
"display_variant": "string",
"display_name": "string"
},
"time_of_day": 42,
"standard_time": true,
"daylight_time": true,
"zone": {
"id": "string",
"raw_offset": 42,
"i_d": "string",
"display_name": "string",
"d_stsavings": 42
}
},
"local_time": true,
"hash": 42,
"abbreviation": "string"
},
"year": 42,
"month": 42,
"day_of_month": 42,
"day_of_week": 42,
"leap_year": true,
"hours": 42,
"minutes": 42,
"seconds": 42,
"millis": 42,
"fraction": 42,
"normalized": true,
"zoneinfo": {
"id": "string",
"raw_offset": 42,
"i_d": "string",
"display_name": "string",
"d_stsavings": 42
},
"zone_offset": 42,
"daylight_saving": 42,
"force_standard_time": true,
"locale": {
"language": "string",
"script": "string",
"country": "string",
"variant": "string",
"extension_keys": [
"string"
],
"unicode_locale_attributes": [
"string"
],
"unicode_locale_keys": [
"string"
],
"i_so3_language": "string",
"i_so3_country": "string",
"display_language": "string",
"display_script": "string",
"display_country": "string",
"display_variant": "string",
"display_name": "string"
},
"time_of_day": 42,
"standard_time": true,
"daylight_time": true,
"zone": {
"id": "string",
"raw_offset": 42,
"i_d": "string",
"display_name": "string",
"d_stsavings": 42
},
"cached_year": 42,
"cached_fixed_date_jan1": 42,
"cached_fixed_date_next_jan1": 42,
"normalized_year": 42,
"cached_jan1": 42
},
"nanos": 42,
"time": 42
},
"completed_at": {
"year": 42,
"month": 42,
"date": 42,
"day": 42,
"hours": 42,
"minutes": 42,
"seconds": 42,
"time_impl": 42,
"timezone_offset": 42,
"calendar_date": {
"era": {
"name": "string",
"abbr": "string",
"since": 42,
"since_date": {
"era": {},
"year": 42,
"month": 42,
"day_of_month": 42,
"day_of_week": 42,
"leap_year": true,
"hours": 42,
"minutes": 42,
"seconds": 42,
"millis": 42,
"fraction": 42,
"normalized": true,
"zoneinfo": {
"id": "string",
"raw_offset": 42,
"i_d": "string",
"display_name": "string",
"d_stsavings": 42
},
"zone_offset": 42,
"daylight_saving": 42,
"force_standard_time": true,
"locale": {
"language": "string",
"script": "string",
"country": "string",
"variant": "string",
"extension_keys": [
"string"
],
"unicode_locale_attributes": [
"string"
],
"unicode_locale_keys": [
"string"
],
"i_so3_language": "string",
"i_so3_country": "string",
"display_language": "string",
"display_script": "string",
"display_country": "string",
"display_variant": "string",
"display_name": "string"
},
"time_of_day": 42,
"standard_time": true,
"daylight_time": true,
"zone": {
"id": "string",
"raw_offset": 42,
"i_d": "string",
"display_name": "string",
"d_stsavings": 42
}
},
"local_time": true,
"hash": 42,
"abbreviation": "string"
},
"year": 42,
"month": 42,
"day_of_month": 42,
"day_of_week": 42,
"leap_year": true,
"hours": 42,
"minutes": 42,
"seconds": 42,
"millis": 42,
"fraction": 42,
"normalized": true,
"zoneinfo": {
"id": "string",
"raw_offset": 42,
"i_d": "string",
"display_name": "string",
"d_stsavings": 42
},
"zone_offset": 42,
"daylight_saving": 42,
"force_standard_time": true,
"locale": {
"language": "string",
"script": "string",
"country": "string",
"variant": "string",
"extension_keys": [
"string"
],
"unicode_locale_attributes": [
"string"
],
"unicode_locale_keys": [
"string"
],
"i_so3_language": "string",
"i_so3_country": "string",
"display_language": "string",
"display_script": "string",
"display_country": "string",
"display_variant": "string",
"display_name": "string"
},
"time_of_day": 42,
"standard_time": true,
"daylight_time": true,
"zone": {
"id": "string",
"raw_offset": 42,
"i_d": "string",
"display_name": "string",
"d_stsavings": 42
},
"cached_year": 42,
"cached_fixed_date_jan1": 42,
"cached_fixed_date_next_jan1": 42,
"normalized_year": 42,
"cached_jan1": 42
},
"nanos": 42,
"time": 42
},
"canceled_at": {
"year": 42,
"month": 42,
"date": 42,
"day": 42,
"hours": 42,
"minutes": 42,
"seconds": 42,
"time_impl": 42,
"timezone_offset": 42,
"calendar_date": {
"era": {
"name": "string",
"abbr": "string",
"since": 42,
"since_date": {
"era": {},
"year": 42,
"month": 42,
"day_of_month": 42,
"day_of_week": 42,
"leap_year": true,
"hours": 42,
"minutes": 42,
"seconds": 42,
"millis": 42,
"fraction": 42,
"normalized": true,
"zoneinfo": {
"id": "string",
"raw_offset": 42,
"i_d": "string",
"display_name": "string",
"d_stsavings": 42
},
"zone_offset": 42,
"daylight_saving": 42,
"force_standard_time": true,
"locale": {
"language": "string",
"script": "string",
"country": "string",
"variant": "string",
"extension_keys": [
"string"
],
"unicode_locale_attributes": [
"string"
],
"unicode_locale_keys": [
"string"
],
"i_so3_language": "string",
"i_so3_country": "string",
"display_language": "string",
"display_script": "string",
"display_country": "string",
"display_variant": "string",
"display_name": "string"
},
"time_of_day": 42,
"standard_time": true,
"daylight_time": true,
"zone": {
"id": "string",
"raw_offset": 42,
"i_d": "string",
"display_name": "string",
"d_stsavings": 42
}
},
"local_time": true,
"hash": 42,
"abbreviation": "string"
},
"year": 42,
"month": 42,
"day_of_month": 42,
"day_of_week": 42,
"leap_year": true,
"hours": 42,
"minutes": 42,
"seconds": 42,
"millis": 42,
"fraction": 42,
"normalized": true,
"zoneinfo": {
"id": "string",
"raw_offset": 42,
"i_d": "string",
"display_name": "string",
"d_stsavings": 42
},
"zone_offset": 42,
"daylight_saving": 42,
"force_standard_time": true,
"locale": {
"language": "string",
"script": "string",
"country": "string",
"variant": "string",
"extension_keys": [
"string"
],
"unicode_locale_attributes": [
"string"
],
"unicode_locale_keys": [
"string"
],
"i_so3_language": "string",
"i_so3_country": "string",
"display_language": "string",
"display_script": "string",
"display_country": "string",
"display_variant": "string",
"display_name": "string"
},
"time_of_day": 42,
"standard_time": true,
"daylight_time": true,
"zone": {
"id": "string",
"raw_offset": 42,
"i_d": "string",
"display_name": "string",
"d_stsavings": 42
},
"cached_year": 42,
"cached_fixed_date_jan1": 42,
"cached_fixed_date_next_jan1": 42,
"normalized_year": 42,
"cached_jan1": 42
},
"nanos": 42,
"time": 42
},
"trailer_id": 1,
"trailer_number": "123",
"trailer_carrier_id": 1,
"trailer_carrier_name": "Carrier",
"assigned_driver_id": 1,
"assigned_driver_name": "Driver",
"pickup_location": {
"id": 1,
"location_type": "RAW_STRING",
"yard_name": "Miami Yard",
"location_json": {
"additionalProperty1": {},
"additionalProperty2": {}
},
"location_levels": [
"string"
],
"location_coords": {
"latitude": 42.0,
"longitude": 42.0
},
"location_raw": "string"
},
"drop_off_location": {
"id": 1,
"location_type": "RAW_STRING",
"yard_name": "Miami Yard",
"location_json": {
"additionalProperty1": {},
"additionalProperty2": {}
},
"location_levels": [
"string"
],
"location_coords": {
"latitude": 42.0,
"longitude": 42.0
},
"location_raw": "string"
},
"time_elapsed": 3600,
"time_requested": 3600,
"driver_task_trailer_attachments": [
{
"id": 1,
"attachment_id": 1
}
],
"destination_is_another_yard": true,
"destination_yard_id": 1,
"top_speed": 51,
"is_manually_assigned": true,
"driver_has_active_session": true
}
]