GET api/Report/GetIncidentZipCodeReport?q={q}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
q

string

Required

Body Parameters

None.

Response Information

Resource Description

AsapResponseOfListOfGroupByZipIncidnentReportDTO
NameDescriptionTypeAdditional information
isSuccess

boolean

None.

message

string

None.

jsonObj

Collection of GroupByZipIncidnentReportDTO

None.

totalCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "isSuccess": true,
  "message": "sample string 2",
  "jsonObj": [
    {
      "Zip": "sample string 1",
      "Latitude": 1.1,
      "Longitude": 1.1,
      "Incidents": [
        {
          "CaseNo": 1,
          "Zip": "sample string 2",
          "companyCode": "sample string 3",
          "Latitude": 1.1,
          "Longitude": 1.1,
          "DateReported": "2025-04-03T19:02:33.6807147-07:00",
          "DateCreated": "2025-04-03T19:02:33.6807147-07:00",
          "minDate": "2025-04-03T19:02:33.6807147-07:00",
          "maxDate": "2025-04-03T19:02:33.6807147-07:00",
          "Count": 8,
          "Date": "sample string 9",
          "FirstName": "sample string 10",
          "LastName": "sample string 11",
          "CompanyName": "sample string 12",
          "IncidentDate": "2025-04-03T19:02:33.6879871-07:00",
          "Address1": "sample string 13",
          "Address2": "sample string 14",
          "City": "sample string 15",
          "State": "sample string 16"
        },
        {
          "CaseNo": 1,
          "Zip": "sample string 2",
          "companyCode": "sample string 3",
          "Latitude": 1.1,
          "Longitude": 1.1,
          "DateReported": "2025-04-03T19:02:33.6807147-07:00",
          "DateCreated": "2025-04-03T19:02:33.6807147-07:00",
          "minDate": "2025-04-03T19:02:33.6807147-07:00",
          "maxDate": "2025-04-03T19:02:33.6807147-07:00",
          "Count": 8,
          "Date": "sample string 9",
          "FirstName": "sample string 10",
          "LastName": "sample string 11",
          "CompanyName": "sample string 12",
          "IncidentDate": "2025-04-03T19:02:33.6879871-07:00",
          "Address1": "sample string 13",
          "Address2": "sample string 14",
          "City": "sample string 15",
          "State": "sample string 16"
        }
      ]
    },
    {
      "Zip": "sample string 1",
      "Latitude": 1.1,
      "Longitude": 1.1,
      "Incidents": [
        {
          "CaseNo": 1,
          "Zip": "sample string 2",
          "companyCode": "sample string 3",
          "Latitude": 1.1,
          "Longitude": 1.1,
          "DateReported": "2025-04-03T19:02:33.6807147-07:00",
          "DateCreated": "2025-04-03T19:02:33.6807147-07:00",
          "minDate": "2025-04-03T19:02:33.6807147-07:00",
          "maxDate": "2025-04-03T19:02:33.6807147-07:00",
          "Count": 8,
          "Date": "sample string 9",
          "FirstName": "sample string 10",
          "LastName": "sample string 11",
          "CompanyName": "sample string 12",
          "IncidentDate": "2025-04-03T19:02:33.6879871-07:00",
          "Address1": "sample string 13",
          "Address2": "sample string 14",
          "City": "sample string 15",
          "State": "sample string 16"
        },
        {
          "CaseNo": 1,
          "Zip": "sample string 2",
          "companyCode": "sample string 3",
          "Latitude": 1.1,
          "Longitude": 1.1,
          "DateReported": "2025-04-03T19:02:33.6807147-07:00",
          "DateCreated": "2025-04-03T19:02:33.6807147-07:00",
          "minDate": "2025-04-03T19:02:33.6807147-07:00",
          "maxDate": "2025-04-03T19:02:33.6807147-07:00",
          "Count": 8,
          "Date": "sample string 9",
          "FirstName": "sample string 10",
          "LastName": "sample string 11",
          "CompanyName": "sample string 12",
          "IncidentDate": "2025-04-03T19:02:33.6879871-07:00",
          "Address1": "sample string 13",
          "Address2": "sample string 14",
          "City": "sample string 15",
          "State": "sample string 16"
        }
      ]
    }
  ],
  "totalCount": 3
}

application/xml, text/xml

Sample:
<AsapResponseOfArrayOfGroupByZipIncidnentReportDTO3NYuOdgi xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.Common">
  <isSuccess>true</isSuccess>
  <jsonObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">
    <d2p1:GroupByZipIncidnentReportDTO>
      <d2p1:Incidents>
        <d2p1:IncidentZipCodeReportDTO>
          <d2p1:Address1>sample string 13</d2p1:Address1>
          <d2p1:Address2>sample string 14</d2p1:Address2>
          <d2p1:CaseNo>1</d2p1:CaseNo>
          <d2p1:City>sample string 15</d2p1:City>
          <d2p1:CompanyName>sample string 12</d2p1:CompanyName>
          <d2p1:Count>8</d2p1:Count>
          <d2p1:Date>sample string 9</d2p1:Date>
          <d2p1:DateCreated>2025-04-03T19:02:33.6807147-07:00</d2p1:DateCreated>
          <d2p1:DateReported>2025-04-03T19:02:33.6807147-07:00</d2p1:DateReported>
          <d2p1:FirstName>sample string 10</d2p1:FirstName>
          <d2p1:IncidentDate>2025-04-03T19:02:33.6879871-07:00</d2p1:IncidentDate>
          <d2p1:LastName>sample string 11</d2p1:LastName>
          <d2p1:Latitude>1.1</d2p1:Latitude>
          <d2p1:Longitude>1.1</d2p1:Longitude>
          <d2p1:State>sample string 16</d2p1:State>
          <d2p1:Zip>sample string 2</d2p1:Zip>
          <d2p1:companyCode>sample string 3</d2p1:companyCode>
          <d2p1:maxDate>2025-04-03T19:02:33.6807147-07:00</d2p1:maxDate>
          <d2p1:minDate>2025-04-03T19:02:33.6807147-07:00</d2p1:minDate>
        </d2p1:IncidentZipCodeReportDTO>
        <d2p1:IncidentZipCodeReportDTO>
          <d2p1:Address1>sample string 13</d2p1:Address1>
          <d2p1:Address2>sample string 14</d2p1:Address2>
          <d2p1:CaseNo>1</d2p1:CaseNo>
          <d2p1:City>sample string 15</d2p1:City>
          <d2p1:CompanyName>sample string 12</d2p1:CompanyName>
          <d2p1:Count>8</d2p1:Count>
          <d2p1:Date>sample string 9</d2p1:Date>
          <d2p1:DateCreated>2025-04-03T19:02:33.6807147-07:00</d2p1:DateCreated>
          <d2p1:DateReported>2025-04-03T19:02:33.6807147-07:00</d2p1:DateReported>
          <d2p1:FirstName>sample string 10</d2p1:FirstName>
          <d2p1:IncidentDate>2025-04-03T19:02:33.6879871-07:00</d2p1:IncidentDate>
          <d2p1:LastName>sample string 11</d2p1:LastName>
          <d2p1:Latitude>1.1</d2p1:Latitude>
          <d2p1:Longitude>1.1</d2p1:Longitude>
          <d2p1:State>sample string 16</d2p1:State>
          <d2p1:Zip>sample string 2</d2p1:Zip>
          <d2p1:companyCode>sample string 3</d2p1:companyCode>
          <d2p1:maxDate>2025-04-03T19:02:33.6807147-07:00</d2p1:maxDate>
          <d2p1:minDate>2025-04-03T19:02:33.6807147-07:00</d2p1:minDate>
        </d2p1:IncidentZipCodeReportDTO>
      </d2p1:Incidents>
      <d2p1:Latitude>1.1</d2p1:Latitude>
      <d2p1:Longitude>1.1</d2p1:Longitude>
      <d2p1:Zip>sample string 1</d2p1:Zip>
    </d2p1:GroupByZipIncidnentReportDTO>
    <d2p1:GroupByZipIncidnentReportDTO>
      <d2p1:Incidents>
        <d2p1:IncidentZipCodeReportDTO>
          <d2p1:Address1>sample string 13</d2p1:Address1>
          <d2p1:Address2>sample string 14</d2p1:Address2>
          <d2p1:CaseNo>1</d2p1:CaseNo>
          <d2p1:City>sample string 15</d2p1:City>
          <d2p1:CompanyName>sample string 12</d2p1:CompanyName>
          <d2p1:Count>8</d2p1:Count>
          <d2p1:Date>sample string 9</d2p1:Date>
          <d2p1:DateCreated>2025-04-03T19:02:33.6807147-07:00</d2p1:DateCreated>
          <d2p1:DateReported>2025-04-03T19:02:33.6807147-07:00</d2p1:DateReported>
          <d2p1:FirstName>sample string 10</d2p1:FirstName>
          <d2p1:IncidentDate>2025-04-03T19:02:33.6879871-07:00</d2p1:IncidentDate>
          <d2p1:LastName>sample string 11</d2p1:LastName>
          <d2p1:Latitude>1.1</d2p1:Latitude>
          <d2p1:Longitude>1.1</d2p1:Longitude>
          <d2p1:State>sample string 16</d2p1:State>
          <d2p1:Zip>sample string 2</d2p1:Zip>
          <d2p1:companyCode>sample string 3</d2p1:companyCode>
          <d2p1:maxDate>2025-04-03T19:02:33.6807147-07:00</d2p1:maxDate>
          <d2p1:minDate>2025-04-03T19:02:33.6807147-07:00</d2p1:minDate>
        </d2p1:IncidentZipCodeReportDTO>
        <d2p1:IncidentZipCodeReportDTO>
          <d2p1:Address1>sample string 13</d2p1:Address1>
          <d2p1:Address2>sample string 14</d2p1:Address2>
          <d2p1:CaseNo>1</d2p1:CaseNo>
          <d2p1:City>sample string 15</d2p1:City>
          <d2p1:CompanyName>sample string 12</d2p1:CompanyName>
          <d2p1:Count>8</d2p1:Count>
          <d2p1:Date>sample string 9</d2p1:Date>
          <d2p1:DateCreated>2025-04-03T19:02:33.6807147-07:00</d2p1:DateCreated>
          <d2p1:DateReported>2025-04-03T19:02:33.6807147-07:00</d2p1:DateReported>
          <d2p1:FirstName>sample string 10</d2p1:FirstName>
          <d2p1:IncidentDate>2025-04-03T19:02:33.6879871-07:00</d2p1:IncidentDate>
          <d2p1:LastName>sample string 11</d2p1:LastName>
          <d2p1:Latitude>1.1</d2p1:Latitude>
          <d2p1:Longitude>1.1</d2p1:Longitude>
          <d2p1:State>sample string 16</d2p1:State>
          <d2p1:Zip>sample string 2</d2p1:Zip>
          <d2p1:companyCode>sample string 3</d2p1:companyCode>
          <d2p1:maxDate>2025-04-03T19:02:33.6807147-07:00</d2p1:maxDate>
          <d2p1:minDate>2025-04-03T19:02:33.6807147-07:00</d2p1:minDate>
        </d2p1:IncidentZipCodeReportDTO>
      </d2p1:Incidents>
      <d2p1:Latitude>1.1</d2p1:Latitude>
      <d2p1:Longitude>1.1</d2p1:Longitude>
      <d2p1:Zip>sample string 1</d2p1:Zip>
    </d2p1:GroupByZipIncidnentReportDTO>
  </jsonObj>
  <message>sample string 2</message>
  <totalCount>3</totalCount>
</AsapResponseOfArrayOfGroupByZipIncidnentReportDTO3NYuOdgi>