Runs

Create a new run. Auto-generates a unique run_number if not provided.

post/runs

Request

  • Base URL
    https://api.equipmentshare.com (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Request body

RunsListPostRequest required
driver_id, integer nullable

Assigned driver user ID

run_name, string

Human-readable name for the run

run_number, string

Unique run identifier (auto-generated if not provided)

run_planned_time, string date-time

Planned departure time (ISO datetime)

run_status_id, integer

Initial status ID (default: Planned)

trailer_id, integer nullable

Assigned trailer asset ID

vehicle_id, integer nullable

Assigned vehicle asset ID

Response

RunResponse required
date_created, string date-time
date_updated, string date-time
driver, User nullable
driver_id, integer nullable
end_at, string date-time nullable
est_distance_miles, number float nullable
est_total_time, string nullable
run_id, integer
run_name, string nullable
run_number, string nullable
run_planned_time, string date-time nullable
run_status, RunStatus
run_status_id, integer
run_stops, RunStopResponse[]
start_at, string date-time nullable
trailer, Asset nullable
trailer_id, integer nullable
vehicle, Asset nullable
vehicle_id, integer nullable

Changes

    • warning

      removed the optional property trailer/allOf[#/components/schemas/Asset]/branch/allOf[#/components/schemas/Branch1]/company/billing_location/universal_entity/crm_entity_id from the response with the status

    • warning

      removed the optional property trailer/allOf[#/components/schemas/Asset]/branch/allOf[#/components/schemas/Branch1]/company/billing_location/universal_entity/locations from the response with the status

    • warning

      removed the optional property trailer/allOf[#/components/schemas/Asset]/branch/allOf[#/components/schemas/Branch1]/company/billing_location/universal_entity/purchase_orders from the response with the status

    21 more changes in this revision