Unknown macro: {next_previous_links}
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

Overview

DescriptionRetrieving the event count of a range facet
Resource Path

/analytics/rangecount

HTTP MethodPOST
Request/Response Formatapplication/json
AuthenticationBasic

Example

POST https://localhost:9443/analytics/rangecount
{  
   "tableName":"testtable",
   "rangeField":"distance",
   "ranges":[  
      {  
         "label":"1km - 3km",
         "from":1000,
         "to":3000
      },
      {  
         "label":"3km - 6km",
         "from":3000,
         "to":6000
      }
   ],
   "query":   "location":"NYC"
}

Sample output

 1km - 3km: 8
 3km - 6km: 6

REST API response

 

HTTP status code

200

For descriptions of the HTTP status codes, see HTTP Status Codes.

  • No labels