GET
/
v1
/
work_order
/
list
curl --location --request GET 'https://api.stateset.com/v1/work_order' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
    "limit": 10,
    "offset": 0,
    "order_direction": "asc"
}'

{
  {
    "bill_of_materials_number": "123",
    "created_at": "2021-01-01T00:00:00.000Z",
    "created_by": "John Doe",
    "expected_completion_date": "2021-01-01T00:00:00.000Z",
    "id": "wo_123",
    "issue_date": "2021-01-01T00:00:00.000Z",
    "location": "123",
    "manufacture_order": "123",
    "memo": "123",
    "number": "123",
    "order_number": "123",
    "part": "123",
    "priority": "123",
    "site": "123",
    "status": "123",
    "updated_at": "2021-01-01T00:00:00.000Z",
    "work_order_line_items": [
      {
        "id": "wo_123",
        "line_status": "123",
        "line_type": "123",
        "part_name": "123",
        "part_number": "123",
        "total_quantity": "123",
        "unit_quantity": "123",
        "work_order_number": "123"
      }
    ]
  }
}

Body

limit
string
required

This is the limit of the work orders.

offset
string
required

This is the offset of the work orders.

order_direction
string
required

This is the order direction of the work orders.

Response

bill_of_materials_number
string

Number associated with the bill of materials related to the work order

created_at
string

Date and time when the work order was created

created_by
string

Name or identifier of the person who created the work order

expected_completion_date
string

Expected completion date for the work order

id
string

Unique identifier for the work order

issue_date
string

Date when the work order was issued

location
string

Location or site where the work order is applicable

manufacture_order
string

Identifier or reference to the manufacturing order associated with the work order

memo
string

Memo or additional notes related to the work order

number
string

Number associated with the work order

order_number
string

Identifier or reference to the order associated with the work order

part
string

Part or item associated with the work order

priority
string

Priority level or urgency of the work order

site
string

Site or location where the work order is being executed

status
string

Current status or state of the work order

updated_at
string

Date and time when the work order was last updated

work_order_line_items
string
curl --location --request GET 'https://api.stateset.com/v1/work_order' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
    "limit": 10,
    "offset": 0,
    "order_direction": "asc"
}'

{
  {
    "bill_of_materials_number": "123",
    "created_at": "2021-01-01T00:00:00.000Z",
    "created_by": "John Doe",
    "expected_completion_date": "2021-01-01T00:00:00.000Z",
    "id": "wo_123",
    "issue_date": "2021-01-01T00:00:00.000Z",
    "location": "123",
    "manufacture_order": "123",
    "memo": "123",
    "number": "123",
    "order_number": "123",
    "part": "123",
    "priority": "123",
    "site": "123",
    "status": "123",
    "updated_at": "2021-01-01T00:00:00.000Z",
    "work_order_line_items": [
      {
        "id": "wo_123",
        "line_status": "123",
        "line_type": "123",
        "part_name": "123",
        "part_number": "123",
        "total_quantity": "123",
        "unit_quantity": "123",
        "work_order_number": "123"
      }
    ]
  }
}

Work Order

NameTypeDescription
bill_of_materials_numberTextNumber associated with the bill of materials related to the work order
created_atDate/TimeDate and time when the work order was created
created_byTextName or identifier of the person who created the work order
expected_completion_dateDateExpected completion date for the work order
idTextUnique identifier for the work order
issue_dateDateDate when the work order was issued
locationTextLocation or site where the work order is applicable
manufacture_orderTextIdentifier or reference to the manufacturing order associated with the work order
memoTextMemo or additional notes related to the work order
numberTextNumber associated with the work order
order_numberTextIdentifier or reference to the order associated with the work order
partTextPart or item associated with the work order
priorityTextPriority level or urgency of the work order
siteTextSite or location where the work order is being executed
statusTextCurrent status or state of the work order
updated_atDate/TimeDate and time when the work order was last updated

Work Order Line Items

NameTypeDescription
idTextUnique identifier for the line item
line_statusTextStatus or state of the line item
line_typeTextType or category of the line item
part_nameTextName of the part or item included in the line item
part_numberTextNumber or code associated with the part or item
total_quantityNumericTotal quantity of the part or item required or used in the work order
unit_quantityNumericQuantity of the part or item required or used per unit in the work order
work_order_numberTextNumber associated with the work order to which the line item belongs