GET /api/dashboard/yard/truck

GET /api/dashboard/yard/truck

Query parameters

  • carrierId string

    A numeric carrier ID or a list of carrier IDs separated by commas

  • filter string
  • include_prechecks boolean
  • show_other_carriers boolean
  • yardId string

    A numeric yard ID or a list of yard IDs separated by commas

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • id integer(int64)
    • status string
    • direction string

      Values are IN or OUT.

    • yard_id integer(int64)
    • yard_name string
    • truck_id integer(int64)
    • truck_number string
    • truck_carrier_id integer(int64)
    • truck_carrier_name string
    • other_truck_carrier string
    • other_trailer_carrier string
    • visit_type string
    • truck_fuel_type string

      Values are DIESEL, ELECTRIC, CNG, or HYDROGEN.

    • truck_type string

      Values are PICKUP, BOX, or SEMI.

    • truck_class string

      Values are CLASS_2B_3, CLASS_4_7, or CLASS_8.

    • truck_image_id integer(int64)
    • spare_tire_truck_photo_id integer(int64)
    • truck_left_photo_id integer(int64)
    • truck_right_photo_id integer(int64)
    • truck_carrier_info_photo_id integer(int64)
    • license_plate_photo_id integer(int64)
    • truck_invalidated_user boolean
    • truck_invalidated_auto_missing_movement boolean
    • tanker_status string
    • pager_number string
    • bol_number string
    • wash_out_slip_photo_id integer(int64)
    • bill_of_lading_photo_id integer(int64)
    • visitor_type string

      Values are VEHICLE or PERSON.

    • visitor_name string
    • visitor_email string
    • visitor_phone_number string
    • visitor_person_photo_id integer(int64)
    • visitor_company string
    • visitor_badge_number string
    • visitor_host string
    • visitor_host_account_id integer(int64)
    • safety_video_confirmation boolean
    • truck_out_movement_id integer(int64)
    • truck_stay_seconds integer(int64)
    • trailer_id integer(int64)
    • trailer_number string
    • trailer_number_inference string
    • movement_trailer_number string
    • trailer string
    • trailer_type string
    • trailer_custom_fields object
      Hide trailer_custom_fields attribute Show trailer_custom_fields attribute object
      • * string Additional properties
    • trailer_carrier_id integer(int64)
    • trailer_carrier_name string
    • trailer_client string
    • trailer_priority boolean
    • inside_trailer_picture_id integer(int64)
    • rear_trailer_picture_id integer(int64)
    • left_trailer_image_id integer(int64)
    • right_trailer_image_id integer(int64)
    • trailer_tags array[object]
      Hide trailer_tags attributes Show trailer_tags attributes object
      • id integer(int64)
      • name string
      • color string
      • created_at string(date-time)
      • last_modified_at string(date-time)
      • associated_at string(date-time)
    • trailer_out_movement_id integer(int64)
    • trailer_stay_seconds integer(int64)
    • trailer_invalidated_user boolean
    • trailer_invalidated_auto_missing_movement boolean
    • extra_trailers array[object]
      Hide extra_trailers attributes Show extra_trailers attributes object
      • id integer(int64)
      • number string
      • number_inference string
      • movement_trailer_number string
      • carrier_id integer(int64)
      • carrier_name string
      • status string

        Values are LOADED, EMPTY, or NO_TRAILER.

      • status_desc string
      • type string
      • client string
      • priority boolean
      • other_carrier string
      • inside_picture_id integer(int64)
      • rear_picture_id integer(int64)
      • left_image_id integer(int64)
      • right_image_id integer(int64)
      • tags array[object]
        Hide tags attributes Show tags attributes object
        • id integer(int64)
        • name string
        • color string
        • created_at string(date-time)
        • last_modified_at string(date-time)
        • association_created_at string(date-time)
        • association_last_modified_at string(date-time)
      • movement_id integer(int64)
      • trailer_out_movement_id integer(int64)
      • trailer_stay_seconds integer(int64)
      • load string
      • seal string
      • no_seal boolean
      • seal_picture_ids array[integer(int64)]
      • destination string
      • purpose string
    • driver_id integer(int64)
    • driver_name string
    • driver_license string
    • driver_license_picture_id integer(int64)
    • driver_safety_card_picture_id integer(int64)
    • driver_photo_id integer(int64)
    • driver_license_expiration string(date-time)
    • movement_driver_name string
    • movement_driver_photo_id integer(int64)
    • vehicle_image_id integer(int64)
    • load string
    • seal string
    • no_seal boolean
    • destination string
    • sku string
    • shipment_id string
    • trailer_location object

      Additional properties are allowed.

      Hide trailer_location attributes Show trailer_location attributes object
      • values array[string]
      • zone string Deprecated
      • row string Deprecated
      • level string Deprecated
    • purpose string
    • comments string
    • movement_timestamp string(date-time)
    • age_days integer(int64)
    • inspections array[object]
      Hide inspections attributes Show inspections attributes object
      • id integer(int64)
      • inspection_type string
      • truck_id integer(int64)
      • truck_number string
      • trailer_id integer(int64)
      • trailer_number string
      • yard_movement_id integer(int64)
      • created_at string(date-time)
      • last_modified_at string(date-time)
      • inspection_content array
    • attachment_ids array[integer(int64)]
    • attachment_picture_ids array[integer(int64)]
    • seal_picture_ids array[integer(int64)]
    • chassis_number string
    • chassis_size string
    • created_by string
    • created_at string(date-time)
    • last_modified_by string
    • last_modified_at string(date-time)
    • precheck object

      Additional properties are allowed.

      Hide precheck attributes Show precheck attributes object
      • id integer(int64)
      • driver_id integer(int64)
      • driver_name string
      • destination string
      • comments string
      • purpose string
      • pager_number string
      • bol_number string
      • sku string
      • shipment_id string
      • eta_timestamp string(date-time)
      • created_at string(date-time)
      • created_by string
      • last_modified_at string(date-time)
      • last_modified_by string
  • 401

    Not Authorized

  • 403

    Not Allowed

GET /api/dashboard/yard/truck
curl \
 --request GET 'https://api-dev.gatego.io/api/dashboard/yard/truck'
Response examples (200)
[
  {
    "id": 42,
    "status": "string",
    "direction": "IN",
    "yard_id": 42,
    "yard_name": "string",
    "truck_id": 42,
    "truck_number": "string",
    "truck_carrier_id": 42,
    "truck_carrier_name": "string",
    "other_truck_carrier": "string",
    "other_trailer_carrier": "string",
    "visit_type": "string",
    "truck_fuel_type": "DIESEL",
    "truck_type": "PICKUP",
    "truck_class": "CLASS_2B_3",
    "truck_image_id": 42,
    "spare_tire_truck_photo_id": 42,
    "truck_left_photo_id": 42,
    "truck_right_photo_id": 42,
    "truck_carrier_info_photo_id": 42,
    "license_plate_photo_id": 42,
    "truck_invalidated_user": true,
    "truck_invalidated_auto_missing_movement": true,
    "tanker_status": "string",
    "pager_number": "string",
    "bol_number": "string",
    "wash_out_slip_photo_id": 42,
    "bill_of_lading_photo_id": 42,
    "visitor_type": "VEHICLE",
    "visitor_name": "string",
    "visitor_email": "string",
    "visitor_phone_number": "string",
    "visitor_person_photo_id": 42,
    "visitor_company": "string",
    "visitor_badge_number": "string",
    "visitor_host": "string",
    "visitor_host_account_id": 42,
    "safety_video_confirmation": true,
    "truck_out_movement_id": 42,
    "truck_stay_seconds": 42,
    "trailer_id": 42,
    "trailer_number": "string",
    "trailer_number_inference": "string",
    "movement_trailer_number": "string",
    "trailer": "string",
    "trailer_type": "string",
    "trailer_custom_fields": {
      "additionalProperty1": "string",
      "additionalProperty2": "string"
    },
    "trailer_carrier_id": 42,
    "trailer_carrier_name": "string",
    "trailer_client": "string",
    "trailer_priority": true,
    "inside_trailer_picture_id": 42,
    "rear_trailer_picture_id": 42,
    "left_trailer_image_id": 42,
    "right_trailer_image_id": 42,
    "trailer_tags": [
      {
        "id": 42,
        "name": "string",
        "color": "string",
        "created_at": "2022-03-10T16:15:50Z",
        "last_modified_at": "2022-03-10T16:15:50Z",
        "associated_at": "2022-03-10T16:15:50Z"
      }
    ],
    "trailer_out_movement_id": 42,
    "trailer_stay_seconds": 42,
    "trailer_invalidated_user": true,
    "trailer_invalidated_auto_missing_movement": true,
    "extra_trailers": [
      {
        "id": 42,
        "number": "string",
        "number_inference": "string",
        "movement_trailer_number": "string",
        "carrier_id": 42,
        "carrier_name": "string",
        "status": "LOADED",
        "status_desc": "string",
        "type": "string",
        "client": "string",
        "priority": true,
        "other_carrier": "string",
        "inside_picture_id": 42,
        "rear_picture_id": 42,
        "left_image_id": 42,
        "right_image_id": 42,
        "tags": [
          {
            "id": 42,
            "name": "string",
            "color": "string",
            "created_at": "2022-03-10T16:15:50Z",
            "last_modified_at": "2022-03-10T16:15:50Z",
            "association_created_at": "2022-03-10T16:15:50Z",
            "association_last_modified_at": "2022-03-10T16:15:50Z"
          }
        ],
        "movement_id": 42,
        "trailer_out_movement_id": 42,
        "trailer_stay_seconds": 42,
        "load": "string",
        "seal": "string",
        "no_seal": true,
        "seal_picture_ids": [
          42
        ],
        "destination": "string",
        "purpose": "string"
      }
    ],
    "driver_id": 42,
    "driver_name": "string",
    "driver_license": "string",
    "driver_license_picture_id": 42,
    "driver_safety_card_picture_id": 42,
    "driver_photo_id": 42,
    "driver_license_expiration": "2022-03-10T16:15:50Z",
    "movement_driver_name": "string",
    "movement_driver_photo_id": 42,
    "vehicle_image_id": 42,
    "load": "string",
    "seal": "string",
    "no_seal": true,
    "destination": "string",
    "sku": "string",
    "shipment_id": "string",
    "trailer_location": {
      "values": [
        "string"
      ],
      "zone": "string",
      "row": "string",
      "level": "string"
    },
    "purpose": "string",
    "comments": "string",
    "movement_timestamp": "2022-03-10T12:15:50-04:00",
    "age_days": 42,
    "inspections": [
      {
        "id": 42,
        "inspection_type": "string",
        "truck_id": 42,
        "truck_number": "string",
        "trailer_id": 42,
        "trailer_number": "string",
        "yard_movement_id": 42,
        "created_at": "2022-03-10T16:15:50Z",
        "last_modified_at": "2022-03-10T16:15:50Z",
        "inspection_content": []
      }
    ],
    "attachment_ids": [
      42
    ],
    "attachment_picture_ids": [
      42
    ],
    "seal_picture_ids": [
      42
    ],
    "chassis_number": "string",
    "chassis_size": "string",
    "created_by": "string",
    "created_at": "2022-03-10T16:15:50Z",
    "last_modified_by": "string",
    "last_modified_at": "2022-03-10T16:15:50Z",
    "precheck": {
      "id": 42,
      "driver_id": 42,
      "driver_name": "string",
      "destination": "string",
      "comments": "string",
      "purpose": "string",
      "pager_number": "string",
      "bol_number": "string",
      "sku": "string",
      "shipment_id": "string",
      "eta_timestamp": "2022-03-10T16:15:50Z",
      "created_at": "2022-03-10T16:15:50Z",
      "created_by": "string",
      "last_modified_at": "2022-03-10T16:15:50Z",
      "last_modified_by": "string"
    }
  }
]