Sample: JSON
POST JSON Request:
{
"preferences": {
"type": "4,5",
"includeGeometry": "Y"
},
"addresses": [
{
"objectId":"1",
"mainAddressLine": "1805 33rd Street",
“addressLastLine”: “”,
“placeName”: “”,
"areaName1": "CO",
"areaName2": "",
"areaName3": "Boulder",
"areaName4": "",
"postCode": "80301",
“postCodeExt”: “”,
"country": "USA",
“addressNumber”: “”,
“streetName”: “”,
“unitType”: “”,
“unitValue”: “”
},
{
"objectId":"2",
"mainAddressLine": "34750 Walnut st, Boulder, CO",
“addressLastLine”: “”,
“placeName”: “”,
"areaName1": "CO",
"areaName2": "",
"areaName3": "Boulder",
"areaName4": "",
"postCode": "80301",
“postCodeExt”: “”,
"country": "USA",
“addressNumber”: “”,
“streetName”: “”,
“unitType”: “”,
“unitValue”: “”
}
]
}
POST JSON Response:
{
“crimeRisk”: [
{
“objectId”: “1”,
"themes": {
"crimeIndexTheme": {
"source": "default",
"boundaryRef": "B1",
"indexVariable": [{
"name": "overall",
"score": "44",
"category": "Low",
"percentile": "0 to 10"
},
{
"name": "violent",
"score": "54",
"category": "Low",
"percentile": "0 to 10"
},
{
"name": "murder",
"score": "23",
"category": "Low",
"percentile": "0 to 10"
}
]
}
},
"boundaries": {
"boundary": {
"id": "450830218024",
"type": "USA_BLOCKGROUP",
"ref": "b1",
"geometry": {
"type": "Polygon"
"coordinates": [
[[40.01685,-105.28124], [41.01685,-103.28124]]
]
}
}
}
"matchedAddress": {
"formattedAddress": "1805 33RD ST, BOULDER, CO 80301-2505",
"mainAddressLine": "1805 33RD ST",
"addressLastLine": "BOULDER, CO 80301-2505",
"placeName": "A",
"areaName1": "CO",
"areaName2": "BOULDER COUNTY",
"areaName3": "BOULDER",
"areaName4": "",
"postCode": "80301",
"postCodeExt": "2505",
"country": "USA",
"addressNumber": "1805",
"streetName": "33RD",
"unitType": "",
"unitValue": ""
}
}
]
}