MTT

PATCH MTT trailer worker

Changed on

Update a trailer worker.

patch/mtt/mtt-trailer-workers/{mtt_trailer_worker_id}

Request

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

Path parameters

mtt_trailer_worker_id, integer required

Trailer worker ID

Request body

MTTTrailerWorkerUpdate required
active, boolean
allowed_to_rent, boolean
company_division_id, integer nullable
craft_type_id, integer nullable
employee_id, string nullable
purchase_order_id, integer nullable
supervisor_id, integer nullable
user_shift_type_id, integer nullable

Response

MTTTrailerWorkerResponse required
active, boolean
allowed_to_rent, boolean
created_by, integer nullable
date_created, string date-time
date_updated, string date-time
market, MTTMarketResponse nullable
market_id, integer
mtt_trailer_worker_id, integer
purchase_order, MTTPurchaseOrderResponse nullable
purchase_order_id, integer nullable
updated_by, integer nullable
user, MTTTrailerWorkerUserResponse nullable
user_id, integer

Changes

    • breaking

      added required request body

    • info

      the endpoint scheme security Bearer was added to the API

    • info

      added the non-success response with the status

    4 more changes in this revision