GET api/COVIDExport/GetCountyHistoricalTestResults?reportDate={reportDate}
COVID-19 Historical data for a specified date returning the daily snapshot including tested, cases, and deaths by county.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
reportDate |
Date of report on the website |
date |
Required |
Body Parameters
None.
Response Information
Resource Description
List of Counties and details
Collection of COVIDCountyName | Description | Type | Additional 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.