MTT

POST MTT trailer worker

Changed on

Create a trailer worker for a user and market.

post/mtt/mtt-trailer-workers

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

MTTTrailerWorkerCreate required
active, boolean
allowed_to_rent, boolean
company_division_id, integer
craft_type_id, integer
market_id, integer required
purchase_order_id, integer nullable
supervisor_id, integer
user_id, integer required
user_shift_type_id, integer

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

    3 more changes in this revision