Locations

Get a paginated list of locations with optional filters

Changed on
get/Locations

Request

  • Base URL
    https://api.clinicos.vet/backend/business
  • Auth
    HTTP bearer

Query parameters

integer
OR
string int32

Page number (default: 1)

integer
OR
string int32

Number of items per page (default: 20)

isActiveboolean

Filter by active status

querystring

Search query for location name

sortBystring

Field to sort by

sortOrderstring

Sort order (asc/desc)

kind'Room' | 'Cage' | 'Run' | 'Ward'

What a Location physically is (ITE-710). Exam rooms are where appointments happen and what the flowboard room grid shows; cages, runs and wards are where a hospitalized patient lives for the length of a HospitalStay. The admit picker filters on this, and the flowboard keeps hospitalization locations out of its grid. Stored as text; the default keeps every pre-existing location an exam room.

Filter by kind (Room / Cage / Run / Ward); omit for every kind

Response

Paginated list of locations

Changes

    • info

      added the new optional query request parameter kind

    • info

      added the optional property // to the response with the status (media type: text/plain)

    • info

      added the optional property // to the response with the status (media type: application/json)

    • info

      added the optional property // to the response with the status (media type: text/json)