Skip to content

PresenceApi

HTTP request Description
GET /presence/organization/{organizationId}/counter Gets the number of people currently inside the organization's trackingArea.
GET /presence/place/{placeId}/counter Gets the number of people currently inside the place's trackingArea.

GET /presence/organization/{organizationId}/counter

Gets the number of people currently inside the organization's trackingArea. Only web-app administrators can access this end-point.

Parameters

Name Type Description
organizationId Long ID of an organization.

Responses

200
Organization presence counter returned successfully. OrganizationPresenceCounter

401
The administrator is not authenticated. Nothing gets returned.

403
Users cannot access this end-point. Nothing gets returned.

404
The organization could not be found. Nothing gets returned.

Authorization

bearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

GET /presence/place/{placeId}/counter

Gets the number of people currently inside the place's trackingArea. Only web-app administrators can access this end-point.

Parameters

Name Type Description
placeId Long ID of a place.

Responses

200
Place presence counter returned successfully. PlacePresenceCounter

401
The administrator is not authenticated. Nothing gets returned.

403
Users cannot access this end-point. Nothing gets returned.

404
The place could not be found. Nothing gets returned.

Authorization

bearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json