PUT
/
workorders
/
{id}
curl --request PUT \
  --url https://api.stateset.com/v1/workorders/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "bill_of_materials_number": 123,
  "created_at": "2023-11-07T05:31:56Z",
  "created_by": "<string>",
  "expected_completion_date": "2023-12-25",
  "id": "<string>",
  "issue_date": "2023-12-25",
  "location": "<string>",
  "manufacture_order": "<string>",
  "memo": "<string>",
  "number": 123,
  "order_number": "<string>",
  "part": "<string>",
  "priority": "<string>",
  "site": "<string>",
  "status": "<string>",
  "updated_at": "2023-11-07T05:31:56Z",
  "work_order_type": "<string>"
}'
This response has no body data.

Authorizations

Authorization
string
headerrequired

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

id
string
required

The id that needs to be updated

Body

bill_of_materials_number
integer

The bill of materials number associated with the work order.

created_at
string

The date and time the work order was created.

created_by
string

The user who created the work order.

expected_completion_date
string

The expected completion date for the work order.

id
string

The unique identifier for the work order.

issue_date
string

The date the work order was issued.

location
string

The location where the work order is taking place.

manufacture_order
string

The manufacture order associated with the work order.

memo
string

Any additional notes or comments about the work order.

number
integer

The work order number.

order_number
string

The order number associated with the work order.

part
string

The part being worked on in the work order.

priority
string

The priority level of the work order.

site
string

The site where the work order is located.

status
string

The current status of the work order.

updated_at
string

The date and time the work order was last updated.

work_order_type
string

The type of work order.