Skip to content

查询生产指令

Frequency
业务手动触发

请求地址

  • API
环境URL
测试对接方提供
正式对接方提供

CSP确认,由Lenovo发送请求,调用ODM接口,请直接参考请求示例和响应示例。

请求示例

json
{
  "batch_id": "90397",
  "batch_size": 1,
  "seq_id": "1",
  "seq_size": 1,
  "data": [{
    "header": {
      "flag": "true",
      "manufacture_directive_no": "MDSMK1001346901",
      "category": "server",
      "directive_type": 1,
      "is_nested": "false",
      "notice_type": 2,
      "timestamp": 1730737203086
    },
    "detail": {
      "import_rhythm": "mass",
      "product_mode": 5,
      "business_priority": 1,
      "manufacture_directive_no": "MDSMK1001346901",
      "lenovo_fg_number": "1001346901", 
      "quantity_issue": 1,
      "directive_type": 1,
      "acs_brand_code": "AlibabaCloud",
      "material_control": 1,
      "control_material_status": 1,
      "date_expected_completion": "2024-11-10 08:00:00",
      "date_promised_completion": "2024-11-20 08:00:00",
      "material_name": "V72S3C32.E2.C0V1P0U2",
      "factory_code": "Lenovo101",
      "material_bill_list": [{
        "material_category": "server.configmodel",
        "quantity_unit": 1,
        "material_bom": "IS_eb803445d765df4e4516159e561d66fa",
        "material_sign": "Parent Server of Dragon MOC",
        "material_bill_list": [{
          "material_category": "server.configmodel",
          "quantity_unit": 1,
          "material_sign": "Child Server of Dragon MOC",
          "material_bill_list": [{
            "material_category": "server.cpu",
            "quantity_unit": 2,
            "material_sign": "CPU",
            "attributes": {},
            "material_name": "8369B"
          }, {
            "material_category": "server.mem",
            "quantity_unit": 16,
            "material_sign": "MEM",
            "attributes": {},
            "material_name": "HMAA8GR7CJR4N-XN"
          }, {
            "material_category": "server.ssd",
            "quantity_unit": 12,
            "material_sign": "SSD",
            "attributes": {},
            "material_name": "SSDPF2KX038TZ"
          }],
          "attributes": {},
          "material_name": "V72S3.00.C0V1P0U2"
        }, {
          "material_category": "server.configmodel",
          "quantity_unit": 1,
          "material_sign": "Dragon MOC",
          "attributes": {},
          "material_name": "J45.F2-HQ"
        }],
        "attributes": {},
        "material_name": "V72S3C32.E2.C0V1P0U2"
      }],
      "business_scene": 1,
      "phase1_lfo": "7DJJ0002CN",
      "date_material_plan_prepared": "2024-11-09 00:00:00",
      "rel_no": "1005209455",
      "directive_bom": "IS_eb803445d765df4e4516159e561d66fa",
      "category": "server"
    }
  }]
}

响应示例

json
{
 "code": "0",
 "msg": "",
 
}