Authorization: ********************Authorization: Bearer ********************fabritec.integration-Tenant integration accesscurl --location '/api/v1/routes/edit' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"id": 0,
"mark": "string",
"name": null,
"description": null,
"categoryId": null,
"operationType": 0,
"defaultOutsourcingCompanyId": null,
"trackPerUnit": true,
"requireQC": true,
"routeStages": [
{
"order": 0,
"requireInspection": true,
"isOutsourcing": true,
"defaultOutsourcingCompanyId": null,
"productionStageId": 0,
"productionLineId": null,
"defaultDuration": null,
"requiredSubItemMode": 0,
"selectedSubItemMarkRules": [
{
"mark": "string",
"matchMode": 0
}
]
}
]
}'{
"type": null,
"title": null,
"status": null,
"detail": null,
"instance": null,
"errors": {
"property1": [
"string"
],
"property2": [
"string"
]
}
}