# Retrieve counts from a device within a specified time range. **POST /f642d910-17db-4198-a62-302f9348f8cd/Service.asmx/GetCountsBySerialNumberAndDatePublic** This endpoint returns a list of all events for a specific counter within a specified time range. ## Servers ## Parameters ### Body: (object) requestBody description - **Token** (string) Your custom security token. - **CompanyName** (string) The name of the company. - **SerialNumber** (string) The unique serial number of the requested device. - **DateFrom** (datetime) The beginning date of counts. - **DateTo** (datetime) The endind date of counts. ## Responses ### 200 OK #### Body: (object) - **DateTime** (string(date-time)) DateTime stamp of event. - **StoreName** (string) Name of the store where the event happened. - **Amount** (int) Defines the current amount of customers inside a store. ### 400 Problem #### Body: (object) - **status** (integer) The HTTP status code. - **Additional properties are allowed** () [Powered by Bump.sh](https://bump.sh)