getzoningdata

Location Management-Zoning Data

Zoning data under location management showcases us the AP-wise visitor distribution and dwell time for a location floor based on the proximity of visitors to APs deployed on the location floor.

JSON Table

Parameter Data Type Description
success boolean Whether the API call was successful or not.
message String A message indicating the API success or failure.
data application/json A JSON object for the response data.
data/totalCount int The total number of records fetched.
data/data application/json An array of JSON objects for all the zones for all the durations.
data/data/latest_available_data Date The date is specified for owning the latest data.
data/data/end_date Date This date is the end date when the zone tracking is done.
data/data/apList int This specifies the list of APIs in the particular zone.
data/data/zoneData application/json This generates the data for all the APIs connected with all the duration details.

Copy Sample JSON
Sample JSON
[
{
"success": true,
"message": "Record(s) Found",
"data": {
"totalCount": 1,
"data": {
"latest_available_date": "2018-01-22 00:00:00.000000",
"end_date": "2018-01-22 00:00:00.000000",
"apList": null,
"zoneData": {
"7": {
"16/01/2018": null,
"17/01/2018": null,
"18/01/2018": null,
"19/01/2018": null,
"20/01/2018": null,
"21/01/2018": null,
"22/01/2018": null,
"all": null
}
}
}
}
}]
API Calls

/V1.14/analytics/graphs/locationtracking/zones/ap

Get Zoning Data

Description This API fetches the AP-wise visitor distribution and dwell time for a location floor based on the proximity of visitors to APs deployed on the location floor.
Syntax
GET <Base_URL>api/v1.14/analytics/graphs/
locationtracking/zones/apserver_id=<value>&location_id=<value>&node_type=<value>&duration=<value>

Here,

  • server_id

    It is the unique ID of the server on which the API is present.

  • location_id

    It is the unique ID of the location.

  • node_type

    This is the node type on which analysis needs to be done like location.

  • duration

    It is the time interval for which we need the details.

Sample code
GET https://marketverticalanalytics.airtightnw.com/api/v1.14/analytics/graphs/ locationtracking/zones/ap?server_id=1&location_id=20&node_type=location&duration=7
Request Body This API call does not require any request body parameters.
Response Body The API returns the details of the zones for the duration specified.
The response is in the application/json format.