Analytics Mode
Compare different Dataset Values against any Postcode
Endpoint: /api/analyticsMode
Request
| Parameter | Type | Position | Required | Sample |
|---|---|---|---|---|
| Content-Type | string |
Header | Yes | application/json |
| Accept | string |
Header | Yes | application/json |
| Authorization | string |
Header | Yes | Bearer eyJ0eXAiOiJKV1QiLCJhbGci... |
| postcodes | json |
Body | Yes |
"WC2R0PD"
|
| query | json |
Body | Yes |
JSON.stringify('[
{
"dataset": "Air Quality",
"metric": "Air Quality",
"metric_year": "2017"
},
{
"dataset": "Average Transfer Price for a Terrace Property",
"metric": "Sold Prices",
"metric_year": "2017"
}
]')
|
Success Response
{
"Message": "Analysis endpoint called.",
"Data": [
{
"iden": "WC2R 0PD",
"Air Quality": "16.97"
},
{
"iden": "WC2R 0PD",
"Average Transfer Price for a Terrace Property": "510625.71"
}
]
}