data parameter (parameters for each file):
{
"65EA3b.dxf": {
"job_id": "1030" // The ID of the job where the drawing needs to be uploaded, **required**
}
}curl --location 'https://mcs-gateway.fscut.com/cn-api/api/drawing/upload' \
--header 'appId: op191eb50f9b81873c' \
--header 'appSecret: appSecret' \
--header 'timestamp: 1743497261540' \
--header 'appSign: 13622d51e3e4f4935c8ba27728ed309f' \
--header 'X-FS-Orgcode: TEAM001' \
--form 'files=@"D:\\work\\drawing\\柏楚.dxf"' \
--form 'files=@"D:\\work\\drawing\\123.dxf"' \
--form 'data="{ \"柏楚.dxf\": { \"job_id\": 7531 }, \"123.dxf\": { \"job_id\": 7531 }}"'{
"status": 0,
"msg": "OK",
"data": {
"柏楚.dxf": "20220408_111659_019066792D.dxf",
"123.dxf": "20220408_111729_220765870S.dxf"
},
"guid_info": {
"柏楚.dxf": "D607C841-7069-485A-B3D6-54E2ECBF426E",
"123.dxf": "B27AE4F3-DA2A-4598-9786-EC98361BD8E5"
}
}