POST Request Parameters
Parameter | Description | Usage |
---|---|---|
locations object contains the following elements: | ||
objectId | Uniquely identifies location coordinates. If provided, the associated objectId with location coordinates is returned in the response for reference. It should be a valid positive integer. If not provided, then the objectId is generated starting '1' and auto incremented. | Optional |
locations.geometry object contains the following elements: | ||
type | Point | Optional |
coordinates | Specifies the x, y input coordinates, where x=longitude and y=latitude. For example: [ -105.25175, 40.024494 ] | Required |
preferences object contains the following elements: | ||
type | Specifies the type of crime such as murder, property | |
includeGeometry | Specifies whether or not to include the geometry. If 'Y' is
specified, crime zone boundary will be shown in response. If 'N' is
specified, the crime zone boundary will not be shown in
response. Possible values: Y or N Default: 'N' |
Optional |