Synchronize work orders batch planning dates.
POST
/api/v1/WorkOrders/synchronize/planning
WorkOrders
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.plantscanner.io/api/v1/WorkOrders/synchronize/planning' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"note": "Note: after production call production leader",
"code": "PS01-2020",
"materialCode": "PSMT-20",
"operationCode": "REWORK",
"workStationCode": "PS-WORK",
"beginPlanned": "2019-08-24T14:15:22Z",
"endPlanned": "2019-08-24T14:15:22Z",
"requestedQuantity": 2000
}
]'
Response Response Example
200 - Exemplo 1
{
"machineIntegration": {
"code": "string",
"updatedAt": "2019-08-24T14:15:22Z",
"workStationCode": "string",
"producedGoodQuantity": 0,
"beginExecution": "2019-08-24T14:15:22Z",
"status": 0
},
"currentWorkStation": {
"id": 0,
"description": "string",
"shortName": "string",
"code": "string",
"lastUpdate": "2019-08-24T14:15:22Z",
"allowPlanning": true
},
"message": "string",
"success": true
}
Requisição
Parâmetros Bodyapplication/json