Storage
Get location
Section titled “Get location”GET /api/storage/location/{id}
Request
Path parameters
idID 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 locations
Section titled “Get locations”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
Create locations
Section titled “Create locations”POST /api/storage/location
Request
Body
A JSON array of locations.
Response
The created locations.
Check in
Section titled “Check in”POST /api/storage/location/{id}/checkin
Request
Path parameters
idID of location to check in
Body
[{ "eClass": , // typically Sample or Plate "id": // the id of the entity to check in}, ...]Response
The updated location.
Check out
Section titled “Check out”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.