GET api/COVIDExport/GetDemographicsAge?CountyName={CountyName}&beginDate={beginDate}&endDate={endDate}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| CountyName | string |
Required |
|
| beginDate | date |
Required |
|
| endDate | date |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of COVIDCountyAgeModelSnapshot| Name | Description | Type | Additional information |
|---|---|---|---|
| CountyName | string |
None. |
|
| ReportDate | date |
None. |
|
| age_group | string |
None. |
|
| count | integer |
None. |
|
| tested | integer |
None. |
|
| deaths | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"CountyName": "sample string 1",
"ReportDate": "2025-12-13T22:16:49.2751533-06:00",
"age_group": "sample string 3",
"count": 4,
"tested": 5,
"deaths": 6
},
{
"CountyName": "sample string 1",
"ReportDate": "2025-12-13T22:16:49.2751533-06:00",
"age_group": "sample string 3",
"count": 4,
"tested": 5,
"deaths": 6
}
]
text/html
Sample:
[{"CountyName":"sample string 1","ReportDate":"2025-12-13T22:16:49.2751533-06:00","age_group":"sample string 3","count":4,"tested":5,"deaths":6},{"CountyName":"sample string 1","ReportDate":"2025-12-13T22:16:49.2751533-06:00","age_group":"sample string 3","count":4,"tested":5,"deaths":6}]
application/xml, text/xml
Sample:
<ArrayOfCOVIDCountyAgeModelSnapshot xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DPHApi.Models.Demographics">
<COVIDCountyAgeModelSnapshot>
<age_group xmlns="http://schemas.datacontract.org/2004/07/DPHApi.Models">sample string 3</age_group>
<count xmlns="http://schemas.datacontract.org/2004/07/DPHApi.Models">4</count>
<deaths xmlns="http://schemas.datacontract.org/2004/07/DPHApi.Models">6</deaths>
<tested xmlns="http://schemas.datacontract.org/2004/07/DPHApi.Models">5</tested>
<CountyName>sample string 1</CountyName>
<ReportDate>2025-12-13T22:16:49.2751533-06:00</ReportDate>
</COVIDCountyAgeModelSnapshot>
<COVIDCountyAgeModelSnapshot>
<age_group xmlns="http://schemas.datacontract.org/2004/07/DPHApi.Models">sample string 3</age_group>
<count xmlns="http://schemas.datacontract.org/2004/07/DPHApi.Models">4</count>
<deaths xmlns="http://schemas.datacontract.org/2004/07/DPHApi.Models">6</deaths>
<tested xmlns="http://schemas.datacontract.org/2004/07/DPHApi.Models">5</tested>
<CountyName>sample string 1</CountyName>
<ReportDate>2025-12-13T22:16:49.2751533-06:00</ReportDate>
</COVIDCountyAgeModelSnapshot>
</ArrayOfCOVIDCountyAgeModelSnapshot>
text/csv
Sample:
Sample not available.