Gets all materials.
GET
/api/v1/Materials
Materials
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.plantscanner.io/api/v1/Materials'
Response Response Example
200 - Exemplo 1
{
"materials": [
{
"code": "string",
"group": "string",
"description": "string",
"uoM": "string",
"process": [
{
"operationCode": "string",
"predictedLaborTime": {
"ticks": 0,
"days": 0,
"hours": 0,
"milliseconds": 0,
"minutes": 0,
"seconds": 0,
"totalDays": 0,
"totalHours": 0,
"totalMilliseconds": 0,
"totalMinutes": 0,
"totalSeconds": 0
},
"predictedMachineTime": {
"ticks": 0,
"days": 0,
"hours": 0,
"milliseconds": 0,
"minutes": 0,
"seconds": 0,
"totalDays": 0,
"totalHours": 0,
"totalMilliseconds": 0,
"totalMinutes": 0,
"totalSeconds": 0
},
"baseQuantity": 0,
"isActive": true,
"id": 0
}
]
}
]
}
Requisição
Parâmetros Query
Code
string
opcional