Skip to main content
Version: 2025-01-01

Get lice counts

GET 

/biology/lice-counts

Get stored lice counts for one site or one unit within a time window.

Currently only lice counts from automatic lice counting devices are available. In the future this endpoint will return all available lice counts for a site or unit.

- The time window is matched against dateTime, the time the count was observed. It is half-open: fromTime is inclusive and toTime is exclusive. This means that iterating over multiple windows, you will not get any duplicate counts.
- At least one of siteId or unitId must be given.
- The response is an array of counts within the time window, ordered by dateTime descending and then by unitId ascending.

Request​

Responses​

OK