B U S I N E S S A N A L Y S T 10.2 R E S T R E P O R T T A S K
Match Level Summary Report Endpoint
Creates a report that assigns customer records to one of five match levels based on the geographic code assigned to each customer while geocoding.
Availability: Business Analyst Server.
http://localhost:6080/arcgis/rest/services/DefaultMap/MapServer/exts/BAServer/MatchLevelSummaryReport/execute
Specific Parameters
CustomerLayer (required) |
The customer layer to calculate match level summary. Type PointLayer. |
CustomerDescription (optional) |
Description or alias for the term customer. For example, this could be patients, subscribers, customers, and so on. Type string. Default: customers. |
Other Parameters
OutputType (required) |
Array of task output options. Options for this method include creating a report (GetReport). Type array of TaskOutputType. |
StandardReportOptions (required) |
Report parameters. Type ReportOptions. The TemplateName parameter is ignored. |
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. |
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. |
token |
Authentication token. In Business Analyst Server, this parameter is required if your Business Analyst Server is secured. Type string. |
Returns
Variable of type TaskResultOutput
Remarks
The CustomerLayer parameter should specify a point layer generated by geocoding your customer records. It should be specified with a RecordSet or FolderItem property and should contain the "Loc_name" attribute field whose value contains the match level of customer addresses geocoding.
Example Usage
The example below generates a report for two customer points.
{ "results": [ { "paramName":"Match Level Summary Report.PDF", "dataType":"GPDataFile", "value": { "url":"http://localhost/arcgisoutput/_ags_T2ED149CA448F19153961BCF137325.pdf" } } ], "messages": [ ] }
See Also