GET
/
v1
/
manufacture_orders
/
:id
curl --location --request GET 'https://api.stateset.com/v1/manufacture_orders/:id' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
    "user_group_id": "example_1",
    "name": "Example 1",
    "mapping": {"40": "213", "134": "386"},
    "properties": {"filterValue": "value"}
}'
{
  {
    "count": 1,
    "next": null,
    "previous": null,
    "results": [
        {
            "id": "b1b1b1b1-b1b1-b1b1-b1b1-b1b1b1b1b1b1",
            "memo": "This is a manufacture order",
            "number": "MO-0001",
            "priority": "High",
            "site": "Site 1",
            "yield_location": "Location 1",
            "created_on": "2021-01-01T00:00:00.000000Z",
            "expected_completion_date": "2021-01-01",
            "issued_on": "2021-01-01",
            "manufacture_order_line_items": [
                {
                    "bom_name": "BOM 1",
                    "bom_number": "BOM-0001",
                    "id": "b1b1b1b1-b1b1-b1b1-b1b1-b1b1b1b1b1b1",
                    "expected_date": "2021-01-01",
                    "line_status": "In Progress",
                    "line_type": "Manufacture",
                    "manufacture_order_number": "MO-0001",
                    "output_type": "Product",
                    "part_name": "Part 1",
                    "part_number": "PART-0001",
                    "priority": "High",
                    "quantity": 100,
                    "site": "Site 1",
                    "work_order_number": "WO-0001",
                    "yield_location": "Location 1"
                }
            ]
        }
    ]

  }
}

Body

Response

id
string

Unique identifier for the manufacture order

memo
string

Additional notes or information about the manufacture order

number
string

Number assigned to the manufacture order

priority
string

Priority level of the manufacture order

site
string

Site or location associated with the manufacture order

yield_location
string

Location where the manufactured product will be stored

created_on
datetime

Date and time when the manufacture order was created

expected_completion_date
date

Expected date of completion for the manufacture order

issued_on
date

Date when the manufacture order was issued

manufacture_order_line_items
object

Manufacture Order

FieldTypeDescription
idStringUnique identifier for the manufacture order
memoStringAdditional notes or information about the manufacture order
numberStringNumber assigned to the manufacture order
priorityStringPriority level of the manufacture order
siteStringSite or location associated with the manufacture order
yield_locationStringLocation where the manufactured product will be stored
created_onDateTimeDate and time when the manufacture order was created
expected_completion_dateDateExpected date of completion for the manufacture order
issued_onDateDate when the manufacture order was issued

Manufacture Order Line Item

FieldTypeDescription
bom_nameStringName of the bill of materials (BOM) associated with the line item
bom_numberStringNumber assigned to the bill of materials (BOM)
idStringUnique identifier for the line item
expected_dateDateExpected date for the completion of the line item
line_statusStringStatus of the line item (e.g., in progress, completed, etc.)
line_typeStringType or category of the line item
manufacture_order_numberStringNumber of the associated manufacture order
output_typeStringType of output produced by the line item (e.g., product, component)
part_nameStringName of the part associated with the line item
part_numberStringNumber assigned to the part associated with the line item
priorityStringPriority level of the line item
quantityIntegerQuantity of the part to be manufactured or processed
siteStringSite or location associated with the line item
work_order_numberStringNumber of the associated work order
yield_locationStringLocation where the manufactured product will be stored