Synchronize inspections batch between customer ERP and PlantScanner bases.
POST
/api/v1/Inspections/synchronize
Inspections
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.plantscanner.io/api/v1/Inspections/synchronize' \
--header 'Content-Type: application/json' \
--data-raw '{
"inspections": [
{
"inspectionProcessCode": "string",
"code": "string",
"note": "string",
"properties": [
{
"key": "string",
"value": "string",
"name": "string",
"isLocked": true
}
]
}
]
}'
Response Response Example
200 - Exemplo 1
{
"affectedMaterials": {
"created": 0,
"updated": 0,
"terminated": 0
},
"affectedProcesses": {
"created": 0,
"updated": 0,
"terminated": 0
},
"affectedWorkOrders": {
"created": 0,
"updated": 0,
"terminated": 0
}
}
Requisição
Parâmetros Bodyapplication/json