Create, update, or delete lathe/CNC records and optional material warning configuration.
Request
Body Params application/json
{
"name": "Lathe No. 1",
"oid": 141,
"remark": "Lathe remark",
"proForm": [
{
"pid": 556,
"warning_day": 22,
"warning_val": 1
}
]
}
Request Code Samples
curl --location 'https://api.en.gdlykj.com/adminapi/openapi_saveLathe?name=Lathe%20No.%201&oid=141&id=undefined&status=-1&remark=Lathe%20remark&proForm=undefined' \
--header 'token: sdaasdsadasadsdsa' \
--header 'Content-Type: application/json' \
--data '{
"name": "Lathe No. 1",
"oid": 141,
"remark": "Lathe remark",
"proForm": [
{
"pid": 556,
"warning_day": 22,
"warning_val": 1
}
]
}'
Responses
application/json
{
"code": 200,
"data": "Operation successful",
"msg": "success"
}
Modified at 2026-07-07 11:41:57