Retrieve zone aggregation data for a Geo PCL definition (GET)
The GET command views the aggregated data for all areas in a zone using a single calculation for a given Geo PCL definition.
Command overview
Method — GET
Resource — geopcl/<geoPCLDefinitionID>/zone/<zoneID>/aggregation where
- <geoPCLDefinitionID> is the integer that identifies the Geo PCL definition (the Geo PCL definition ID)
- <zoneID> is the integer that identifies the zone (the zone ID)
Parameters
1 This parameter is required.
Sample request
https:://10.0.0.1/rest/geopclapi/1.0/geopcl/1/zone/4/aggregation?stat=avg&startTime=1263915600000&granularity=five_minutes&timelineEndTime=1263917900000&nbOfBuckets=3
Sample response
<?xml version="1.0" encoding="UTF-8"?>
<response>
<status result="success"></status>
<result>
<geoPCLDefinition id="1">
<zone id="4">
<buckets>
<bucket startTime="1204118400000" endTime="1204118700000" pcl="S" />
<bucket startTime="1204118700000" endTime="1204119000000" pcl="S" />
<bucket startTime="1204119000000" endTime="1204119300000" pcl="T" />
</buckets>
</zone>
</geoPCLDefinition>
</result>
</response>
<response>
<status result="success"></status>
<result>
<geoPCLDefinition id="1">
<zone id="4">
<buckets>
<bucket startTime="1204118400000" endTime="1204118700000" pcl="S" />
<bucket startTime="1204118700000" endTime="1204119000000" pcl="S" />
<bucket startTime="1204119000000" endTime="1204119300000" pcl="T" />
</buckets>
</zone>
</geoPCLDefinition>
</result>
</response>
Related topic
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*