curl --location --request GET 'https://api.stateset.com/v1/manufacture_orders' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"limit": 10,
"offset": 0,
"order_direction": "ASC"
}'
{
{
"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"
}
]
}
]
}
}
This endpoint list manufacture orders.
curl --location --request GET 'https://api.stateset.com/v1/manufacture_orders' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"limit": 10,
"offset": 0,
"order_direction": "ASC"
}'
{
{
"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"
}
]
}
]
}
}
Show Show child attributes
curl --location --request GET 'https://api.stateset.com/v1/manufacture_orders' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"limit": 10,
"offset": 0,
"order_direction": "ASC"
}'
{
{
"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"
}
]
}
]
}
}