GET Crime?StreetAddress={StreetAddress}&City={City}&ZipCode={ZipCode}&State={State}&Latitude={Latitude}&Longitude={Longitude}&ResetCache={ResetCache}&APIIdentifier={APIIdentifier}&User={User}&rateDate={rateDate}

The Building service returns Binding Authority defined building attributes, based on an addresses

Request Information

Parameters

NameDescriptionAdditional information
StreetAddress
Street Address. Example: 945 East Paces Ferry (Required)

Define this parameter in the request URI.

City
City name. Example: Atlanta (Required)

Define this parameter in the request URI.

ZipCode
Five digit US Zip Code. Example: 30326 (Required)

Define this parameter in the request URI.

State
Two character US State code. Example: GA (Required)

Define this parameter in the request URI.

Latitude
Latitude

Define this parameter in the request URI.

Longitude
Longitude

Define this parameter in the request URI.

ResetCache
Reset cache with new lookup. Example: true (Optional)

Define this parameter in the request URI.

APIIdentifier
An identifier assigned to MGAs by RSUI. Example: 5a6c7790-83bf-4b4c-88e1-7067413d3390 (Required)

Define this parameter in the request URI.

User
User Name that matches with the APIIdentifier. Example: John Smith (Required)

Define this parameter in the request URI.

rateDate

Define this parameter in the request URI.

Response Information

The service may return more than one Building if multiple buildings are found. (Error messages will be in the ApiMessages field)

Response body formats

application/json, text/json

Sample:
{
  "crimeIndex": {
    "murderIndex": 1.0,
    "rapeIndex": 2.0,
    "robberyIndex": 3.0,
    "assaultIndex": 4.0,
    "url": "sample string 5"
  },
  "apiMessages": [
    "sample string 1",
    "sample string 2",
    "sample string 3"
  ]
}

text/html

Sample:
{"crimeIndex":{"murderIndex":1.0,"rapeIndex":2.0,"robberyIndex":3.0,"assaultIndex":4.0,"url":"sample string 5"},"apiMessages":["sample string 1","sample string 2","sample string 3"]}

application/xml, text/xml

Sample:
<CrimeIndexResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <APIMessages>
    <string>sample string 1</string>
    <string>sample string 2</string>
    <string>sample string 3</string>
  </APIMessages>
  <CrimeIndex>
    <MurderIndex>1</MurderIndex>
    <RapeIndex>2</RapeIndex>
    <RobberyIndex>3</RobberyIndex>
    <AssaultIndex>4</AssaultIndex>
    <URL>sample string 5</URL>
  </CrimeIndex>
</CrimeIndexResponse>

text/javascript, application/javascript, application/json-p

Sample:
({"crimeIndex":{"murderIndex":1.0,"rapeIndex":2.0,"robberyIndex":3.0,"assaultIndex":4.0,"url":"sample string 5"},"apiMessages":["sample string 1","sample string 2","sample string 3"]});