TrucksInYard

GET /api/yard/{yardId}/truck

Headers

  • Specify effective organization_id for Admin and Group Organization Admins. This is a global header for all endpoints only taken into consideration when it makes sense (it won't be used in Auth, for example)

Path parameters

Query parameters

Responses

GET /api/yard/{yardId}/truck
curl \
 -X GET http://127.0.0.1:8080/api/yard/{yardId}/truck
Response examples (200)
[
  {
    "bill_of_lading_photo_id": 42,
    "bol_number": "string",
    "comments": "string",
    "destination": "string",
    "driver_id": 42,
    "driver_license": "string",
    "driver_license_expiration": "2024-05-04T09:42:00+00:00",
    "driver_license_picture_id": 42,
    "driver_name": "string",
    "driver_photo_id": 42,
    "driver_safety_card_picture_id": 42,
    "license_plate_photo_id": 42,
    "load": "string",
    "other_truck_carrier": "string",
    "pager_number": "string",
    "purpose": "string",
    "safety_video_confirmation": true,
    "seal": "string",
    "shipment_id": "string",
    "sku": "string",
    "spare_tire_truck_photo_id": 42,
    "tanker_status": "string",
    "truck_carrier_id": 42,
    "truck_carrier_info_photo_id": 42,
    "truck_carrier_name": "string",
    "truck_fuel_type": "CNG",
    "truck_id": 42,
    "truck_image_id": 42,
    "truck_left_photo_id": 42,
    "truck_number": "string",
    "truck_right_photo_id": 42,
    "truck_type": "BOX",
    "vehicle_image_id": 42,
    "visit_type": "string",
    "visitor_badge_number": "string",
    "visitor_company": "string",
    "visitor_email": "string",
    "visitor_host": "string",
    "visitor_host_account_id": 42,
    "visitor_name": "string",
    "visitor_person_photo_id": 42,
    "visitor_phone_number": "string",
    "visitor_type": "PERSON",
    "wash_out_slip_photo_id": 42
  }
]