Skip to content

Storage

GET /api/storage/location/{id}

Request

Path parameters

  • id ID of location

Response

The location entity with the following additional properties:

{
"checkin": number, // the number of total check in
"checkout": number, // the number of total check out
"available": number // the current available space (compared to capacity and currently check in)
}

GET /api/storage/location

Request

Query parameters

OData query parameters are used, as documented here.

Response

A list of locations with the same properties as the previous endpoint

POST /api/storage/location

Request

Body

A JSON array of locations.

Response

The created locations.

POST /api/storage/location/{id}/checkin

Request

Path parameters

  • id ID of location to check in

Body

[{
"eClass": , // typically Sample or Plate
"id": // the id of the entity to check in
}, ...]

Response

The updated location.

POST /api/storage/location/checkout

Request

Body

[{
"eClass": , // typically Sample or Plate
"id": // the id of the entity to check out
}, ...]

Response

The updated location.