icrservice


Click here for a complete list of operations.

GetICRResults

This method provides advanced search capabilities for ICR data. For details on paramaters please view this documentation

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
strServiceArea:
strSRA:
strSpecCrimeCategory:
strCrimeCategory:
strMagisDist:
strStartDate:
strEndDate:
strNeigoboorhoodWatch:
strStreetName:
strDirection:
strStreetType:

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /webservices/icrservice.asmx HTTP/1.1
Host: ppd.henrico.us
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "https://henrico.us/police/public-data-access/help/GetICRResults"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetICRResults xmlns="https://henrico.us/police/public-data-access/help/">
      <strServiceArea>string</strServiceArea>
      <strSRA>string</strSRA>
      <strSpecCrimeCategory>string</strSpecCrimeCategory>
      <strCrimeCategory>string</strCrimeCategory>
      <strMagisDist>string</strMagisDist>
      <strStartDate>string</strStartDate>
      <strEndDate>string</strEndDate>
      <strNeigoboorhoodWatch>string</strNeigoboorhoodWatch>
      <strStreetName>string</strStreetName>
      <strDirection>string</strDirection>
      <strStreetType>string</strStreetType>
    </GetICRResults>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetICRResultsResponse xmlns="https://henrico.us/police/public-data-access/help/">
      <GetICRResultsResult>
        <ICRResults>
          <offenseKey>int</offenseKey>
          <icrNumber>string</icrNumber>
          <offSequenceID>string</offSequenceID>
          <MagisDistrict>string</MagisDistrict>
          <comments>string</comments>
          <specCrime>string</specCrime>
          <block>string</block>
          <locationType>string</locationType>
          <status>string</status>
          <policeServiceArea>string</policeServiceArea>
          <disposition>string</disposition>
          <smallReportingArea>string</smallReportingArea>
          <beginDateTime>dateTime</beginDateTime>
          <endDateTime>dateTime</endDateTime>
        </ICRResults>
        <ICRResults>
          <offenseKey>int</offenseKey>
          <icrNumber>string</icrNumber>
          <offSequenceID>string</offSequenceID>
          <MagisDistrict>string</MagisDistrict>
          <comments>string</comments>
          <specCrime>string</specCrime>
          <block>string</block>
          <locationType>string</locationType>
          <status>string</status>
          <policeServiceArea>string</policeServiceArea>
          <disposition>string</disposition>
          <smallReportingArea>string</smallReportingArea>
          <beginDateTime>dateTime</beginDateTime>
          <endDateTime>dateTime</endDateTime>
        </ICRResults>
      </GetICRResultsResult>
    </GetICRResultsResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /webservices/icrservice.asmx HTTP/1.1
Host: ppd.henrico.us
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetICRResults xmlns="https://henrico.us/police/public-data-access/help/">
      <strServiceArea>string</strServiceArea>
      <strSRA>string</strSRA>
      <strSpecCrimeCategory>string</strSpecCrimeCategory>
      <strCrimeCategory>string</strCrimeCategory>
      <strMagisDist>string</strMagisDist>
      <strStartDate>string</strStartDate>
      <strEndDate>string</strEndDate>
      <strNeigoboorhoodWatch>string</strNeigoboorhoodWatch>
      <strStreetName>string</strStreetName>
      <strDirection>string</strDirection>
      <strStreetType>string</strStreetType>
    </GetICRResults>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetICRResultsResponse xmlns="https://henrico.us/police/public-data-access/help/">
      <GetICRResultsResult>
        <ICRResults>
          <offenseKey>int</offenseKey>
          <icrNumber>string</icrNumber>
          <offSequenceID>string</offSequenceID>
          <MagisDistrict>string</MagisDistrict>
          <comments>string</comments>
          <specCrime>string</specCrime>
          <block>string</block>
          <locationType>string</locationType>
          <status>string</status>
          <policeServiceArea>string</policeServiceArea>
          <disposition>string</disposition>
          <smallReportingArea>string</smallReportingArea>
          <beginDateTime>dateTime</beginDateTime>
          <endDateTime>dateTime</endDateTime>
        </ICRResults>
        <ICRResults>
          <offenseKey>int</offenseKey>
          <icrNumber>string</icrNumber>
          <offSequenceID>string</offSequenceID>
          <MagisDistrict>string</MagisDistrict>
          <comments>string</comments>
          <specCrime>string</specCrime>
          <block>string</block>
          <locationType>string</locationType>
          <status>string</status>
          <policeServiceArea>string</policeServiceArea>
          <disposition>string</disposition>
          <smallReportingArea>string</smallReportingArea>
          <beginDateTime>dateTime</beginDateTime>
          <endDateTime>dateTime</endDateTime>
        </ICRResults>
      </GetICRResultsResult>
    </GetICRResultsResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /webservices/icrservice.asmx/GetICRResults?strServiceArea=string&strSRA=string&strSpecCrimeCategory=string&strCrimeCategory=string&strMagisDist=string&strStartDate=string&strEndDate=string&strNeigoboorhoodWatch=string&strStreetName=string&strDirection=string&strStreetType=string HTTP/1.1
Host: ppd.henrico.us
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfICRResults xmlns="https://henrico.us/police/public-data-access/help/">
  <ICRResults>
    <offenseKey>int</offenseKey>
    <icrNumber>string</icrNumber>
    <offSequenceID>string</offSequenceID>
    <MagisDistrict>string</MagisDistrict>
    <comments>string</comments>
    <specCrime>string</specCrime>
    <block>string</block>
    <locationType>string</locationType>
    <status>string</status>
    <policeServiceArea>string</policeServiceArea>
    <disposition>string</disposition>
    <smallReportingArea>string</smallReportingArea>
    <beginDateTime>dateTime</beginDateTime>
    <endDateTime>dateTime</endDateTime>
  </ICRResults>
  <ICRResults>
    <offenseKey>int</offenseKey>
    <icrNumber>string</icrNumber>
    <offSequenceID>string</offSequenceID>
    <MagisDistrict>string</MagisDistrict>
    <comments>string</comments>
    <specCrime>string</specCrime>
    <block>string</block>
    <locationType>string</locationType>
    <status>string</status>
    <policeServiceArea>string</policeServiceArea>
    <disposition>string</disposition>
    <smallReportingArea>string</smallReportingArea>
    <beginDateTime>dateTime</beginDateTime>
    <endDateTime>dateTime</endDateTime>
  </ICRResults>
</ArrayOfICRResults>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /webservices/icrservice.asmx/GetICRResults HTTP/1.1
Host: ppd.henrico.us
Content-Type: application/x-www-form-urlencoded
Content-Length: length

strServiceArea=string&strSRA=string&strSpecCrimeCategory=string&strCrimeCategory=string&strMagisDist=string&strStartDate=string&strEndDate=string&strNeigoboorhoodWatch=string&strStreetName=string&strDirection=string&strStreetType=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfICRResults xmlns="https://henrico.us/police/public-data-access/help/">
  <ICRResults>
    <offenseKey>int</offenseKey>
    <icrNumber>string</icrNumber>
    <offSequenceID>string</offSequenceID>
    <MagisDistrict>string</MagisDistrict>
    <comments>string</comments>
    <specCrime>string</specCrime>
    <block>string</block>
    <locationType>string</locationType>
    <status>string</status>
    <policeServiceArea>string</policeServiceArea>
    <disposition>string</disposition>
    <smallReportingArea>string</smallReportingArea>
    <beginDateTime>dateTime</beginDateTime>
    <endDateTime>dateTime</endDateTime>
  </ICRResults>
  <ICRResults>
    <offenseKey>int</offenseKey>
    <icrNumber>string</icrNumber>
    <offSequenceID>string</offSequenceID>
    <MagisDistrict>string</MagisDistrict>
    <comments>string</comments>
    <specCrime>string</specCrime>
    <block>string</block>
    <locationType>string</locationType>
    <status>string</status>
    <policeServiceArea>string</policeServiceArea>
    <disposition>string</disposition>
    <smallReportingArea>string</smallReportingArea>
    <beginDateTime>dateTime</beginDateTime>
    <endDateTime>dateTime</endDateTime>
  </ICRResults>
</ArrayOfICRResults>