B U S I N E S S   A N A L Y S T   10.0   R E S T   A P I    R E P O R T    T A S K

Summarize Points Endpoint

Aggregates data from a point layer (e.g. customer layer) to a polygon layer (e.g. trade area).


Availability: Business Analyst Server 10.0 SP1.


URL Example


Specific Parameters



AreaDescField (required)

Name of area description field in the Boundaries layer. Type string.

Boundaries (required)

The polygon layer whose features represent trade areas. Type DataLayer.

PointLayer (required)

A point layer containing point features to be summarized. Type PointLayer.

AdditionalFields (optional)

Additional fields of the input PointLayer layer to be aggregated for areas of the Boundaries layer. Type array of string.

AnalysisExtent (optional)

Data extent to restrict the analysis. Type ExtentData.

AreaIDField (optional)

Name of area ID field in the Boundaries layer. Type string.

Default: AREA_ID.

Other Parameters



OutputType (required)

Array of task output options. Options for this endpoint include rendering an output image (GetMapImage), creating a feature layer for subsequent analysis (GetFeatureClass), and creating a report (GetReport). Type array of TaskOutputType.

ActiveDatasetID (optional)

ID of the active dataset. Type string.

Default: ID of the first available dataset.

f (optional)

Response format. Type string. Available formats: HTML, JSON, PJSON, XML.

Default: HTML.

IsFullErrorMessage (optional)

Mode for composing error messages. Type boolean.

Default: false.

OutputAnalysisItem (optional)

Configuration options for storing the output feature layer in the repository. This will enable viewing and working with the output result in subsequent tasks. Type esriFolderItem.

OutputReportItem (optional)

Configuration options for storing the output report in the repository. This will enable viewing and working with the output result in subsequent tasks. Type esriFolderItem.

OutputSpatialReference (optional)

An option specifying the spatial reference to return the output feature layer. Type SpatialReference. If this parameter is missing, the output record set will be returned in the default spatial reference. See Get Default Spatial Reference lookup operation to query the default spatial reference. Available with Business Analyst Server 10.0 SP1.

RenderingParameters (optional)

Configuration options for rendering output when GetMapImage option is specified in the OutputType parameter. Type RenderingParameters.

ReturnGeometry (optional)

An option specifying the presence of the shape attribute in the returned record set. Type boolean. Available with Business Analyst Server 10.0 SP1.

Default: true.

StandardReportOptions (optional)

Report parameters. Type ReportOptions. The TemplateName parameter is ignored.


Authentication token. This parameter is required if your Business Analyst Server is secured. Type string.


Variable of type TaskResultOutput


This endpoint allows you to take point data (e.g. customer data) in Business Analyst along with any associated volumetric data and sum that data up to any boundary layer (e.g. Census Tracts). For example, if you needed to see the distribution of the sales data associated with your customer points across the ZIP Codes in your market, this endpoint would allow you to see total sales associated with each ZIP Code of your interest. It would perform this function by automatically selecting all the points which fall into each ZIP Code and then summing up the selected fields to each ZIP Code boundary.


The analysis can be restricted to an analysis extent if the AnalysisExtent parameter is specified. Attribute fields specified in the AdditionalFields array should contain numerical values.

Example Usage

The example below aggregates points to a custom trade area and generates a report.



    "attributes":{"AREA_ID":"custom1","AREA_DESC":"Custom Trade Area","STORE_ID":"1"}




See Also

Business Analyst Server REST API Reference