Skip to main content
BluINFO

Occupancy

Overview

API methods for lookup operations on Occupancies.
API Description
GET api/Occupancy/GetAllOccupancies

Returns a list of Occupancies that the API token has rights to view.

GET api/Occupancy/GetOccupanciesByFacilityId/{FacilityId}

Returns a list of Occupancies for a given Facility that the API token has rights to view.

GET api/Occupancy/GetOccupancyById/{OccupancyId}

Returns a single OccupancyViewModel if the API token has rights to view it

POST api/Occupancy/AddOccupancy

Adds a single Occupancy to the system. Returns Success/Error code plus primary key of Occupancy added.

POST api/Occupancy/UpdateOccupancy

Updates a single Occupancy that is already in the system. Returns Success/Error code.

POST api/Occupancy/RemoveOccupancy/{OccupancyId}

Deletes a single Occupancy that is already in the system. Returns Success/Error code

GET api/Occupancy/GetOccupancyFloors/{OccupancyId}

Gets a list of all Floors occupied by an Occupancy

POST api/Occupancy/AddOccupancyFloor

Adds a single Floor to the Occupancy. Returns Success/Error code plus primary key of Occupancy Floor added.

POST api/Occupancy/UpdateOccupancyFloor

Updates a single Floor occupancy to the system. Returns Success/Error code plus primary key of Occupancy Floor added.

POST api/Occupancy/RemoveOccupancyFloor/{OccupancyFloorId}

Removes a single Floor occupancy from the system. Returns Success/Error code.

  • Was this article helpful?