Synchronize inspection processes batch between customer ERP and PlantScanner bases.
POST
/api/v1/InspectionsProcesses/synchronize
InspectionsProcesses
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.plantscanner.io/api/v1/InspectionsProcesses/synchronize' \
--header 'Content-Type: application/json' \
--data-raw '{
"inspectionProcess": [
{
"code": "string",
"description": "string",
"appliedDirectLabor": {},
"appliedDirectMachine": {},
"isQualityInspection": true
}
]
}'
Response Response Example
200 - Exemplo 1
{
"affectedMaterials": {
"created": 0,
"updated": 0,
"terminated": 0
},
"affectedProcesses": {
"created": 0,
"updated": 0,
"terminated": 0
}
}
Requisição
Parâmetros Bodyapplication/json