Retrieve today's counts for every store in the company

POST /f642d910-17db-4198-a62-302f9348f8cd/Service.asmx/GetAllCountsByCompanyForTodayPublic

This endpoint returns the current number of customers for all counters within a company.

Body Required

requestBody description

  • CompanyName string

    The name of the company.

  • Token string

    Your custom security token.

Responses

  • 200

    OK

    Hide response attributes Show response attributes 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

    Hide response attributes Show response attributes object
    • status integer

      The HTTP status code.

      Minimum value is 400, maximum value is 599.

    • Additional properties are allowed
POST /f642d910-17db-4198-a62-302f9348f8cd/Service.asmx/GetAllCountsByCompanyForTodayPublic
curl \
 -X POST https://opticounter.pl/f642d910-17db-4198-a62-302f9348f8cd/Service.asmx/GetAllCountsByCompanyForTodayPublic \
 -H "Content-Type: application/x-www-form-urlencoded" \
 -d 'CompanyName=Optiguard&Token=asgfoubge'
Request examples
{
  "CompanyName": "Optiguard",
  "Token": "asgfoubge"
}
{
  "stringProperty": "checkmark"
}
Request examples
{
  "CompanyName": "Optiguard",
  "Token": "asdibaegse"
}
Response examples (200)
{
  "DateTime": "2023-05-04T09:42:00+00:00",
  "StoreName": "Aleksandrowska 6-10",
  "Amount": "string"
}
Response examples (200)
{
  "DateTime": "2025-05-04T09:42:00Z",
  "StoreName": "Aleksandrowska 6-10",
  "Amount": "string"
}
Response examples (400)
{
  "status": 42
}
Response examples (400)
{
  "status": 42
}