GET api/COVIDExport/GetDemographicsAge?CountyName={CountyName}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CountyName

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of COVIDCountyAgeModelSnapshot
NameDescriptionTypeAdditional 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-06-13T04:59:04.255678-05:00",
    "age_group": "sample string 3",
    "count": 4,
    "tested": 5,
    "deaths": 6
  },
  {
    "CountyName": "sample string 1",
    "ReportDate": "2025-06-13T04:59:04.255678-05:00",
    "age_group": "sample string 3",
    "count": 4,
    "tested": 5,
    "deaths": 6
  }
]

text/html

Sample:
[{"CountyName":"sample string 1","ReportDate":"2025-06-13T04:59:04.255678-05:00","age_group":"sample string 3","count":4,"tested":5,"deaths":6},{"CountyName":"sample string 1","ReportDate":"2025-06-13T04:59:04.255678-05: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-06-13T04:59:04.255678-05: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-06-13T04:59:04.255678-05:00</ReportDate>
  </COVIDCountyAgeModelSnapshot>
</ArrayOfCOVIDCountyAgeModelSnapshot>

text/csv

Sample:

Sample not available.