User Tools

Site Tools


en:api_prd_process

Job Production Process

API to submit job production process. Supported methods are GET

url: ~/job_production_progresss

JSON Schema

Other reference json schema: object_document, object_variance

{
  "$id": "https://www.igarment.net/schema/json/v1-0/job-production-progress.json",
  "title": "Job Order Production Progress",
  "type": "object",
  "required": [
      "reference", "order_no", "style", "process"
  ],
  //primary key: reference.no, reference.part_code, order_no, style, process
  "properties": {
      "reference":   { "$ref": "object-document.json#/$defs/reference" },    //no: production order no 生产单编号; issue_date: trx date 交易日期; party_code: factory code 工厂代码
      "order_no":    { "type": "string" },                                   //sales order no 销售单编号
      "style":       { "type": "string" },                                   //sales style no 款式编号
      "process":     { "type": "string" },                                   //process code 加工类别代码
      "qty_unit":    { "type": "string" },                                   //quantity unit 数量单位
      "qty":         { "type": "number" },                                   //quantity, sum of assortments 数量, 等于assortment.qty之和
      "remark":      { "type": "string" },                                   //remark 备注
      "system":      { "$ref": "object-document.json#/$defs/system" },       //owner & created_user: owner 经办人, created_date: system created date 创建日期; last_modified_user:last modified user 最后修改人, last_modified_date: last modified date 最后修改日期
      "assortments": { "$ref": "object-variance.json#/$defs/assortment" }    //color: color code 衣服颜色; size: size 衣服尺码; qty: quantity 数量
  }
}

Example

GET: ~/job_production_progresss/TTTT1/00010/BEI-TEST-0007/303HBD0/C3

{
  "reference": {
      "no": "TTTT1",
      "issue_date": "2022-04-18",
      "party_code": "00010"
  },
  "order_no": "BEI-TEST-0007",
  "style": "303HBD0",
  "process": "C3",
  "qty_unit": "PCS",
  "qty": 5640.0,
  "remark": "",
  "system": {
      "owner": "COCO",
      "created_user": "COCO",
      "created_date": "2022-04-18T17:24:04",
      "last_modified_user": "NETGMT",
      "last_modified_date": "2025-06-19T11:01:45"
  },
  "assortments": [
      {
          "color": "BLACK(N)",
          "size": "L",
          "dim3": "",
          "qty": 1240.0
      },
      {
          "color": "BLACK(N)",
          "size": "M",
          "dim3": "",
          "qty": 940.0
      },
      {
          "color": "BLACK(N)",
          "size": "S",
          "dim3": "",
          "qty": 720.0
      },
      {
          "color": "BLACK(N)",
          "size": "XL",
          "dim3": "",
          "qty": 1220.0
      },
      {
          "color": "GRAY",
          "size": "L",
          "dim3": "",
          "qty": 440.0
      },
      {
          "color": "GRAY",
          "size": "M",
          "dim3": "",
          "qty": 450.0
      },
      {
          "color": "GRAY",
          "size": "S",
          "dim3": "",
          "qty": 310.0
      },
      {
          "color": "GRAY",
          "size": "XL",
          "dim3": "",
          "qty": 320.0
      }
  ]
}
en/api_prd_process.txt · Last modified: by administrator