data 参数说明 { "plate_type": 0, // 0-标准版 1-余料板 "plate_name": "标准板-1", // 板材名称 "remain_amount": 100, // 剩余数量;-1为无穷 "width": 1200.0, "height": 2000.0, "material_id": 2095, // 材质ID "thickness": 1.0, // 厚度 "gap": 1.0 // 留边 }
curl --location --request POST 'https://mcs-gateway.fscut.com/cn-api/api/plate/add' \ --header 'app-id: op191eb50f9b81873c' \ --header 'time-stamp: {{timeStamp}}' \ --header 'app-sign: {{sign}}' \ --header 'X-FS-Orgcode: TEAM001' \ --form 'data="{ \"plate_type\": 0, \"plate_name\": \"标准板-1\", \"remain_amount\": 100, \"width\": 1200.0, \"height\": 2000.0, \"material_id\": 2095, \"thickness\": 1.0, \"gap\": 1.0}"'
{ "status": 0, "msg": "OK", "data": { "id": 9495, "guid": "D82131DF-7090-433B-AB4D-CECC98E35CB5" } }