GET api/COVIDExport/GetZipAgeDemographics?zip={zip}&beginDate={beginDate}&endDate={endDate}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
zip

integer

Required

beginDate

date

Required

endDate

date

Required

Body Parameters

None.

Response Information

Resource Description

Collection of COVIDZipAgeExport
NameDescriptionTypeAdditional information
ReportDate

date

None.

Zip

integer

None.

age_group

string

None.

count

integer

None.

tested

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ReportDate": "2025-06-13T04:44:32.444787-05:00",
    "Zip": 2,
    "age_group": "sample string 3",
    "count": 4,
    "tested": 5
  },
  {
    "ReportDate": "2025-06-13T04:44:32.444787-05:00",
    "Zip": 2,
    "age_group": "sample string 3",
    "count": 4,
    "tested": 5
  }
]

text/html

Sample:
[{"ReportDate":"2025-06-13T04:44:32.444787-05:00","Zip":2,"age_group":"sample string 3","count":4,"tested":5},{"ReportDate":"2025-06-13T04:44:32.444787-05:00","Zip":2,"age_group":"sample string 3","count":4,"tested":5}]

application/xml, text/xml

Sample:
<ArrayOfCOVIDZipAgeExport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DPHApi.Models.COVID_Zip">
  <COVIDZipAgeExport>
    <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>
    <tested xmlns="http://schemas.datacontract.org/2004/07/DPHApi.Models">5</tested>
    <ReportDate>2025-06-13T04:44:32.444787-05:00</ReportDate>
    <Zip>2</Zip>
  </COVIDZipAgeExport>
  <COVIDZipAgeExport>
    <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>
    <tested xmlns="http://schemas.datacontract.org/2004/07/DPHApi.Models">5</tested>
    <ReportDate>2025-06-13T04:44:32.444787-05:00</ReportDate>
    <Zip>2</Zip>
  </COVIDZipAgeExport>
</ArrayOfCOVIDZipAgeExport>

text/csv

Sample:

Sample not available.