Gets inspections that have been planned or executed between the specified dates or by the work order code.
GET
/api/v1/Inspections
Inspections
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.plantscanner.io/api/v1/Inspections'
Response Response Example
200 - Exemplo 1
{
"workOrders": [
{
"id": 0,
"processId": 0,
"code": "string",
"workOrderGrouper": "string",
"materialCode": "string",
"materialGroup": "string",
"operationCode": "string",
"materialDescription": "string",
"requestedQuantity": 0,
"uoM": "string",
"type": "ReadyToExecute",
"customer": "string",
"promiseDate": "2019-08-24T14:15:22Z",
"note": "string",
"status": "Undefined",
"workStation": {
"code": "string",
"description": "string",
"shortName": "string",
"area": {
"description": "string",
"shortName": "string"
}
},
"beginPlanned": "2019-08-24T14:15:22Z",
"endPlanned": "2019-08-24T14:15:22Z",
"beginExecution": "2019-08-24T14:15:22Z",
"beginEmployee": {
"registration": "string",
"fullName": "string",
"shortName": "string",
"deactivated": true
},
"endExecution": "2019-08-24T14:15:22Z",
"endEmployee": {
"registration": "string",
"fullName": "string",
"shortName": "string",
"deactivated": true
},
"producedGoodQuantity": 0,
"producedBadQuantity": 0,
"laborPredictedTime": {
"ticks": 0,
"days": 0,
"hours": 0,
"milliseconds": 0,
"minutes": 0,
"seconds": 0,
"totalDays": 0,
"totalHours": 0,
"totalMilliseconds": 0,
"totalMinutes": 0,
"totalSeconds": 0
},
"laborValueAddedTime": {
"ticks": 0,
"days": 0,
"hours": 0,
"milliseconds": 0,
"minutes": 0,
"seconds": 0,
"totalDays": 0,
"totalHours": 0,
"totalMilliseconds": 0,
"totalMinutes": 0,
"totalSeconds": 0
},
"laborNonValueAddedTime": {
"ticks": 0,
"days": 0,
"hours": 0,
"milliseconds": 0,
"minutes": 0,
"seconds": 0,
"totalDays": 0,
"totalHours": 0,
"totalMilliseconds": 0,
"totalMinutes": 0,
"totalSeconds": 0
},
"machinePredictedTime": {
"ticks": 0,
"days": 0,
"hours": 0,
"milliseconds": 0,
"minutes": 0,
"seconds": 0,
"totalDays": 0,
"totalHours": 0,
"totalMilliseconds": 0,
"totalMinutes": 0,
"totalSeconds": 0
},
"machineValueAddedTime": {
"ticks": 0,
"days": 0,
"hours": 0,
"milliseconds": 0,
"minutes": 0,
"seconds": 0,
"totalDays": 0,
"totalHours": 0,
"totalMilliseconds": 0,
"totalMinutes": 0,
"totalSeconds": 0
},
"machineNonValueAddedTime": {
"ticks": 0,
"days": 0,
"hours": 0,
"milliseconds": 0,
"minutes": 0,
"seconds": 0,
"totalDays": 0,
"totalHours": 0,
"totalMilliseconds": 0,
"totalMinutes": 0,
"totalSeconds": 0
},
"properties": [
{
"key": "string",
"value": "string",
"name": "string",
"isLocked": true
}
]
}
]
}
Requisição
Parâmetros Query
Code
string
opcional
OperationCode
string
opcional
BeginPlanned
string <date-time>
opcional
EndPlanned
string <date-time>
opcional
BeginExecution
string <date-time>
opcional
EndExecution
string <date-time>
opcional
LastUpdatedBegin
string <date-time>
opcional
LastUpdatedEnd
string <date-time>
opcional
SerialNumber
string
opcional