GET api/crime/summary/{lat}/{lng}/{days}/{distance}
Gets nearest crime incident summary by latitude/longitude
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
lat | string |
Required |
|
lng | string |
Required |
|
days | decimal number |
Required |
|
distance | decimal number |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Pair of string [key] and integer [value]Response Formats
application/json, text/json
Sample:
[ { "Key": "sample string 1", "Value": 2 }, { "Key": "sample string 1", "Value": 2 } ]
application/xml, text/xml
Sample:
<ArrayOfKeyValuePairOfstringint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/System.Collections.Generic"> <KeyValuePairOfstringint> <key>sample string 1</key> <value>2</value> </KeyValuePairOfstringint> <KeyValuePairOfstringint> <key>sample string 1</key> <value>2</value> </KeyValuePairOfstringint> </ArrayOfKeyValuePairOfstringint>