API ReferenceShifts
Get waste analysis for shift
Returns a waste analysis for the given shift.
AuthorizationBearer <token>
In: header
Path Parameters
id*string
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:18080/api/v1/shifts/string/waste-analysis"{
"property1": {
"children": [
{
"children": [],
"delta": 0.1,
"expectedUse": 0.1,
"imageAssets": [
{
"blobId": "string",
"created": "2019-08-24T14:15:22Z",
"extension": "string",
"fileSize": 0,
"name": "string",
"type": "IMAGE"
}
],
"productId": "string",
"productName": "string",
"totalCost": 0.1,
"waste": 0.1
}
],
"delta": 0.1,
"expectedUse": 0.1,
"imageAssets": [
{
"blobId": "string",
"created": "2019-08-24T14:15:22Z",
"extension": "string",
"fileSize": 0,
"name": "string",
"type": "IMAGE"
}
],
"productId": "string",
"productName": "string",
"totalCost": 0.1,
"waste": 0.1
},
"property2": {
"children": [
{
"children": [],
"delta": 0.1,
"expectedUse": 0.1,
"imageAssets": [
{
"blobId": "string",
"created": "2019-08-24T14:15:22Z",
"extension": "string",
"fileSize": 0,
"name": "string",
"type": "IMAGE"
}
],
"productId": "string",
"productName": "string",
"totalCost": 0.1,
"waste": 0.1
}
],
"delta": 0.1,
"expectedUse": 0.1,
"imageAssets": [
{
"blobId": "string",
"created": "2019-08-24T14:15:22Z",
"extension": "string",
"fileSize": 0,
"name": "string",
"type": "IMAGE"
}
],
"productId": "string",
"productName": "string",
"totalCost": 0.1,
"waste": 0.1
}
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}