Supported methods are GET, POST.
url: ~/production_work_order
Other reference json schema:
object_document, object_variance
{
"$id": "https://www.igarment.net/schema/json/v1-0/prodcution-work-order.json",
"title": "Production Work Order",
"type": "object",
"properties": {
// work order header info
"work_order_no": { "type": "string" },
"order_date": { "type": "string", "format": "date" },
"factory": { "type": "string" },
"style": { "type": "string" },
"description": { "type": "string" },
"etd_date": { "type": "string", "format": "date" }, //expect delivery date of factory
"assortments": { "$ref": "object-variance.json#/$defs/assortment" },
"userdefs": { "$ref": "object-document.json#/$defs/userdefs" },
"status": { "$ref": "object-document.json#/$defs/status" },
"system": { "$ref": "object-document.json#/$defs/system" },
"steps": {
"type": "array",
"items": { "$ref": "#/$defs/step" }
}
},
"required": [ "work_order_no", "order_date", "style", "assortments", "steps" ],
$defs: {
"step": {
"type": "object",
"properties": {
"step_no": { "type": "integer" },
"description": { "type": "string" },
"process": { "type": "string" },
"part_name": { "type": "string" },
"skill_level": { "type": "integer" },
"machine_type": { "type": "string" },
"smv": { "type": "number" },
"cost": { "type": "number" },
"cost_unit": { "type": "number" },
"next_step": { "type": "integer" },
}
}
},
}