countSiteZoneSessions

GET https://{{host}}/api/v1/sites/:site_id/:zone_type/count?distinct=scope_id

#### Query Parameter Parameter|Type|Description :-------------: |:-------------: |:-------------: sertype|string|user type, client (default) / sdkclient / asset user|string|client MAC / Asset MAC / SDK UUID scopeid|string|if scope == map/zone/rssizone, the scope id scope|string|scope, site (default) / map / zone / rssizone

Request Params

KeyDatatypeRequiredDescription
distinctstring

RESPONSES

status: OK

{"end":1531862583,"results":[{"scope_id":"f0c38357-9370-4506-84f9-0f94a63faddd","count":18},{"scope_id":"a002eb82-6d08-4556-b8c5-2f2547a7c7f8","count":7},{"scope_id":"85fbba9e-4e12-11e6-9188-0242ac110007","count":5}],"start":1531776183,"total":3}