upsertMaterialGrade
WRITEUpsert material grade.
POST /api/v1/items/upsertMaterialGrade
curl -X POST '<your-host>/api/v1/items/upsertMaterialGrade' \
-H 'Authorization: Bearer <api-key>' \
-H 'Content-Type: application/json' \
-d '{
"materialSubstanceId": "string",
"name": "string"
}'Response
{
"id": "string"
}Parameters
ParameterType
min length 1
min length 1max length 255
Input schema
schema
{
"type": "object",
"properties": {
"materialSubstanceId": {
"type": "string",
"minLength": 1
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"id": {
"type": "string"
}
},
"required": [
"materialSubstanceId",
"name"
]
}