GET api/COVIDExport/GetCountyTestResults

COVID-19 Daily County level Snapshot detailing the tested, cases, and deaths by County.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of COVIDCounty
NameDescriptionTypeAdditional information
CountyName

string

None.

tested

integer

None.

confirmed_cases

integer

None.

deaths

integer

None.

latitude

decimal number

None.

longitude

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CountyName": "sample string 1",
    "tested": 2,
    "confirmed_cases": 3,
    "deaths": 4,
    "latitude": 5.0,
    "longitude": 6.0
  },
  {
    "CountyName": "sample string 1",
    "tested": 2,
    "confirmed_cases": 3,
    "deaths": 4,
    "latitude": 5.0,
    "longitude": 6.0
  }
]

text/html

Sample:
[{"CountyName":"sample string 1","tested":2,"confirmed_cases":3,"deaths":4,"latitude":5.0,"longitude":6.0},{"CountyName":"sample string 1","tested":2,"confirmed_cases":3,"deaths":4,"latitude":5.0,"longitude":6.0}]

application/xml, text/xml

Sample:
<ArrayOfCOVIDCounty xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DPHApi.Models">
  <COVIDCounty>
    <CountyName>sample string 1</CountyName>
    <confirmed_cases>3</confirmed_cases>
    <deaths>4</deaths>
    <latitude>5</latitude>
    <longitude>6</longitude>
    <tested>2</tested>
  </COVIDCounty>
  <COVIDCounty>
    <CountyName>sample string 1</CountyName>
    <confirmed_cases>3</confirmed_cases>
    <deaths>4</deaths>
    <latitude>5</latitude>
    <longitude>6</longitude>
    <tested>2</tested>
  </COVIDCounty>
</ArrayOfCOVIDCounty>

text/csv

Sample:

Sample not available.