Sample: JSON
POST JSON Request:
{
"preferences":{
"type":"property,murder",
"includeGeometry":"Y"
},
"locations":[
{
"geometry":{
"type":"point",
"coordinates":[-119.759098,41.909106]
},
"objectId":"1"
},
{
"geometry":{
"type":"point",
"coordinates":[-109.212223,37.097559]
},
"objectId":"2"
}
]
}
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]]
]
}
}
}
}
]
}