GET /api/dashboard/yard/trailer

GET /api/dashboard/yard/trailer

Query parameters

Responses

GET /api/dashboard/yard/trailer
curl \
 -X GET https://api-dev.gatego.io/api/dashboard/yard/trailer
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"
    }
  }
]