GET api/peoplecounter/{shopId}/{from}/{to}
Provides all records for specific shopId, within a given timespan.
Request Information
URI Parameters
| Name | Description | Type | Additional information | 
|---|---|---|---|
| shopId | integer | 
                                 Required  | 
                |
| from | date | 
                                 Required  | 
                |
| to | date | 
                                 Required  | 
                
Body Parameters
None.
Response Information
Resource Description
Collection of PublicAPI.Models.PeopleCounterViewModel| Name | Description | Type | Additional 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-11-04T14:13:09.6781+01:00",
    "CountHour": 2,
    "Count": 3
  },
  {
    "CountDate": "2025-11-04T14:13:09.6781+01: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-11-04T14:13:09.6781+01:00</CountDate>
    <CountHour>2</CountHour>
  </PeopleCounterViewModel>
  <PeopleCounterViewModel>
    <Count>3</Count>
    <CountDate>2025-11-04T14:13:09.6781+01:00</CountDate>
    <CountHour>2</CountHour>
  </PeopleCounterViewModel>
</ArrayOfPeopleCounterViewModel>