GET api/peoplecounter/{shopId}/{from}/{to}

Provides all records for specific shopId, within a given timespan.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
shopId

integer

Required

from

date

Required

to

date

Required

Body Parameters

None.

Response Information

Resource Description

Collection of PublicAPI.Models.PeopleCounterViewModel
NameDescriptionTypeAdditional information
CountDate

The count date of the record.

date

None.

CountHour

The hour of the record.

integer

Range: inclusive between 0 and 23

Count

The amount counted

integer

Range: inclusive between 0 and 2147483647

Response Formats

application/json, text/json

Sample:
[
  {
    "CountDate": "2025-05-04T06:30:46.0137606+02:00",
    "CountHour": 2,
    "Count": 3
  },
  {
    "CountDate": "2025-05-04T06:30:46.0137606+02:00",
    "CountHour": 2,
    "Count": 3
  }
]

application/xml, text/xml

Sample:
<ArrayOfPeopleCounterViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PublicAPI.Models">
  <PeopleCounterViewModel>
    <Count>3</Count>
    <CountDate>2025-05-04T06:30:46.0137606+02:00</CountDate>
    <CountHour>2</CountHour>
  </PeopleCounterViewModel>
  <PeopleCounterViewModel>
    <Count>3</Count>
    <CountDate>2025-05-04T06:30:46.0137606+02:00</CountDate>
    <CountHour>2</CountHour>
  </PeopleCounterViewModel>
</ArrayOfPeopleCounterViewModel>