v1

latestOpenAPI 3.0.32026-07-171140286.6 KB
Api\InspectionsController

api/inspections GET Show the 'inspections' list with objects reflecting only the general inspection data.

get/api/inspections

Headers

Authorizationstring
Content-Typestring
Acceptstring
Accept-languagestring

Request body

hive_idsstring[]

Only show inspections connected to hive_ids.

searchstring

Filter on text inside notes, reminder, created_at, reminder_date, inspection item names/values.

idinteger

Filter on one specific inspection id if filled.

startstring

Date >= (YYYY-MM-DD HH:mm:ss) to filter inspections from.

endstring

Date <= (YYYY-MM-DD HH:mm:ss) to filter inspections to.

Example request

{
  "hive_ids": [
    "neque"
  ],
  "search": "test",
  "id": 23,
  "start": "2024-02-14 00:00:00",
  "end": "2024-02-18 00:00:00"
}