storage
POST createShelf
{
"name": "...",
"comment": "...",
"temperatureRange": {
"minimalCelsius": 13.1,
"maximalCelsius": 43.6
},
"maxWeightKg": 20.1,
"maxAssortmentSize": {
"widthMillimeters": 40.2,
"heightMillimeters": 30.5,
"lengthMillimeters": 40.9
},
"supportsHazardous": true,
"cellsShape": {
"rows": 2,
"columns": 2
}
}
GET getShelf
No body.
POST updateShelf
{
"shelfId": "...",
"newData": {
"name": "...",
"comment": "...",
"temperatureRange": {
"minimalCelsius": -10,
"maximalCelsius": 40
},
"maxWeightKg": 50,
"maxAssortmentSize": {
"widthMillimeters": 3015.1,
"heightMillimeters": 3120.2,
"lengthMillimeters": 3500.3
},
"supportsHazardous": false
}
}
POST deleteShelf
{
"id": "..."
}
POST createAssortment
{
"name": "test assortment",
"temperatureRange": {
"minimalCelsius": -10,
"maximalCelsius": 40
},
"weightKg": 10,
"size": {
"widthMillimeters": 1000,
"heightMillimeters": 1000,
"lengthMillimeters": 1000
},
"comment": "test assortment description",
"expiresAfterSeconds": 1400,
"isHazardous": false,
"imageContentBase64": null
}
GET getAssortment
No body.
POST updateAssortment
{
"id": "...",
"newData": {
"name": "...",
"comment": "...",
"temperatureRange": {
"minimalCelsius": -10,
"maximalCelsius": 40
},
"weightKg": 10,
"size": {
"widthMillimeters": 1000,
"heightMillimeters": 1000,
"lengthMillimeters": 1000
},
"expiresAfterSeconds": 1400,
"isHazardous": false,
"imageContentBase64": null
}
}
POST deleteAssortment
{
"id": "80a9cba5-a237-463f-bbc1-43b2ad6eed69"
}
POST importAssortment
{
"definitions": [
{
"name": "test shi",
"temperatureRange": {
"minimalCelsius": -10,
"maximalCelsius": 40
},
"weightKg": 10,
"size": {
"widthMillimeters": 1000,
"heightMillimeters": 1000,
"lengthMillimeters": 1000
},
"comment": "...",
"expiresAfterSeconds": 1400,
"isHazardous": false,
"imageContentBase64": null
},
{
"name": "second test",
"temperatureRange": {
"minimalCelsius": -10,
"maximalCelsius": 40
},
"weightKg": 10,
"size": {
"widthMillimeters": 1000,
"heightMillimeters": 1000,
"lengthMillimeters": 1000
},
"comment": "...",
"expiresAfterSeconds": 1400,
"isHazardous": false,
"imageContentBase64": null
}
]
}
POST importShelves
{
"shelves": [
{
"name": "first shelf",
"comment": "...",
"temperatureRange": {
"minimalCelsius": 13.1,
"maximalCelsius": 43.6
},
"maxWeightKg": 20.1,
"maxAssortmentSize": {
"widthMillimeters": 40.2,
"heightMillimeters": 30.5,
"lengthMillimeters": 40.9
},
"supportsHazardous": true,
"cellsShape": {
"rows": 2,
"columns": 2
}
},
{
"name": "second shelf",
"comment": "...",
"temperatureRange": {
"minimalCelsius": 13.1,
"maximalCelsius": 43.6
},
"maxWeightKg": 20.1,
"maxAssortmentSize": {
"widthMillimeters": 40.2,
"heightMillimeters": 30.5,
"lengthMillimeters": 40.9
},
"supportsHazardous": true,
"cellsShape": {
"rows": 2,
"columns": 2
}
}
]
}
POST putUpAssortment
{
"shelfId": "...",
"cellId": "...",
"assortmentDefinitionId": "..."
}
POST takeDownAssortment
{
"id": "..."
}
POST takeDownOldestAssortmentByDefinition
{
"definitionId": "..."
}
GET getNextAssortmentToBeTakenDownByDefinition
No body.
POST PutUpAssortmentAutomatically
{
"definitionId": "..."
}
GET getAllAssortments
No body.
GET getAssortmentInstance
No body.