SERTICA Counters API

The Counters API from SERTICA — 15 operation(s) for counters.

Operations 19

GET /Counters Gets a list of Counters #
POST /Counters Creates a new counter record #
GET /Counters/{counterNo} Gets a specific Counter #
PUT /Counters/{counterNo} Updates an existing Counter #
DELETE /Counters/{counterNo} Deletes a counter record #
GET /Counters/{counterNo}/history Gets history for a specific Counter #
POST /Counters/search Search for Counters Takes a SearchDefinition input, which can include filters… #
POST /Counters/searchIndex/{counterGuid} Get index of a record in a search for counters Takes a SearchDefinition input… #
POST /Counters/searchCount Returns number of hits in a search for Counters Takes a SearchDefinition input… #
GET /Counters/searchInfo Returns structured information about what and how you can search for #
DELETE /Counters/{counterNo}/force Force deletes a counter record Force deleting records may cause existing… #
GET /Counters/{counterNo}/readings Returns a list of Histories used on the Counter #
POST /Counters/{counterNo}/readings Performs a new Counter Reading for the given counter Will update both related… #
POST /Counters/{counterNo}/readings/force Performs a new Counter Reading for the given counter Will update both related… #
GET /Counters/{counterNo}/readings/graph/{daysToCover} Returns a list of Histories used on the Counter prepared for graph #
GET /Counters/{counterNo}/copy Copies an existing Counter to a new object #
POST /Counters/labels/{documentNo} Gets the labels to print #
GET /Counters/labels/{labelTemplateDocumentNo}/{settingsKey} Get the labels to print using ´settings key #
POST /Counters/appSubmit Receive new Counter History from new Job App #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/sertica-counters-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

sertica-counters-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SERTICA Web Counters API
  description: 'Online API browser for SERTICA Web API.


    Be aware that some endpoints are restricted by license or user rights and may not be available in your environment.


    Each endpoint includes a description of the required license and user rights.'
  version: v1
servers:
- url: /api
tags:
- name: Counters
paths:
  /Counters:
    get:
      tags:
      - Counters
      summary: Gets a list of Counters
      operationId: GetCounters
      parameters:
      - name: page
        in: query
        description: ''
        schema:
          type: integer
          format: int32
          default: 1
      - name: pageSize
        in: query
        description: ''
        schema:
          type: integer
          format: int32
          default: 25
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SerticaWebApi.Models.Counter.Counter'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SerticaWebApi.Models.Counter.Counter'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SerticaWebApi.Models.Counter.Counter'
        '401':
          description: If user is unauthorized
        '403':
          description: User must have one of these User Rights</br><table><thead><tr><th>Key</th><th>Right</th></tr></thead><tbody><tr><td style='border-bottom:none;padding-right:5px'>Counter</td><td style='border-bottom:none'>View</td></tr></tbody></table>
        '500':
          description: The api has encountered an unhandled exception. See Sertica logs for details
      security:
      - Bearer: []
    post:
      tags:
      - Counters
      summary: Creates a new counter record
      operationId: CreateCounter
      requestBody:
        description: The Counter Object, including reference lists
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/SerticaWebApi.Models.Counter.Counter'
          application/json:
            schema:
              $ref: '#/components/schemas/SerticaWebApi.Models.Counter.Counter'
          text/json:
            schema:
              $ref: '#/components/schemas/SerticaWebApi.Models.Counter.Counter'
          application/*+json:
            schema:
              $ref: '#/components/schemas/SerticaWebApi.Models.Counter.Counter'
      responses:
        '201':
          description: Created
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/SerticaWebApi.Models.Counter.Counter'
            application/json:
              schema:
                $ref: '#/components/schemas/SerticaWebApi.Models.Counter.Counter'
            text/json:
              schema:
                $ref: '#/components/schemas/SerticaWebApi.Models.Counter.Counter'
        '400':
          description: Bad Request
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/SerticaWebApi.Models.ValidationResult'
            application/json:
              schema:
                $ref: '#/components/schemas/SerticaWebApi.Models.ValidationResult'
            text/json:
              schema:
                $ref: '#/components/schemas/SerticaWebApi.Models.ValidationResult'
        '401':
          description: If user is unauthorized
        '403':
          description: User must have one of these User Rights</br><table><thead><tr><th>Key</th><th>Right</th></tr></thead><tbody><tr><td style='border-bottom:none;padding-right:5px'>Counter_Update</td><td style='border-bottom:none'>Update</td></tr></tbody></table>
        '500':
          description: The api has encountered an unhandled exception. See Sertica logs for details
      security:
      - Bearer: []
  /Counters/{counterNo}:
    get:
      tags:
      - Counters
      summary: Gets a specific Counter
      operationId: GetCounter
      parameters:
      - name: counterNo
        in: path
        description: The CounterNo to get
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Returns the requested counter
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/SerticaWebApi.Models.Counter.Counter'
            application/json:
              schema:
                $ref: '#/components/schemas/SerticaWebApi.Models.Counter.Counter'
            text/json:
              schema:
                $ref: '#/components/schemas/SerticaWebApi.Models.Counter.Counter'
        '400':
          description: Returns a validation result with information about the bad request
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/SerticaWebApi.Models.ValidationResult'
            application/json:
              schema:
                $ref: '#/components/schemas/SerticaWebApi.Models.ValidationResult'
            text/json:
              schema:
                $ref: '#/components/schemas/SerticaWebApi.Models.ValidationResult'
        '404':
          description: If an counter with the supplied Counter No cannot be found
        '401':
          description: If user is unauthorized
        '403':
          description: User must have one of these User Rights</br><table><thead><tr><th>Key</th><th>Right</th></tr></thead><tbody><tr><td style='border-bottom:none;padding-right:5px'>Counter</td><td style='border-bottom:none'>View</td></tr></tbody></table>
        '500':
          description: The api has encountered an unhandled exception. See Sertica logs for details
      security:
      - Bearer: []
    put:
      tags:
      - Counters
      summary: Updates an existing Counter
      operationId: UpdateCounter
      parameters:
      - name: counterNo
        in: path
        description: The CounterNo of the counter to update
        required: true
        schema:
          type: string
      requestBody:
        description: The Counter DTO object with the fields to update
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/SerticaWebApi.Models.Counter.Counter'
          application/json:
            schema:
              $ref: '#/components/schemas/SerticaWebApi.Models.Counter.Counter'
          text/json:
            schema:
              $ref: '#/components/schemas/SerticaWebApi.Models.Counter.Counter'
          application/*+json:
            schema:
              $ref: '#/components/schemas/SerticaWebApi.Models.Counter.Counter'
      responses:
        '200':
          description: Returns the updated Counter object
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/SerticaWebApi.Models.Counter.Counter'
            application/json:
              schema:
                $ref: '#/components/schemas/SerticaWebApi.Models.Counter.Counter'
            text/json:
              schema:
                $ref: '#/components/schemas/SerticaWebApi.Models.Counter.Counter'
        '400':
          description: Returns a ValidationResult with information about the bad request
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/SerticaWebApi.Models.ValidationResult'
            application/json:
              schema:
                $ref: '#/components/schemas/SerticaWebApi.Models.ValidationResult'
            text/json:
              schema:
                $ref: '#/components/schemas/SerticaWebApi.Models.ValidationResult'
        '401':
          description: If user is unauthorized
        '403':
          description: User must have one of these User Rights</br><table><thead><tr><th>Key</th><th>Right</th></tr></thead><tbody><tr><td style='border-bottom:none;padding-right:5px'>Counter_Update</td><td style='border-bottom:none'>Update</td></tr></tbody></table>
        '500':
          description: The api has encountered an unhandled exception. See Sertica logs for details
      security:
      - Bearer: []
    delete:
      tags:
      - Counters
      summary: Deletes a counter record
      parameters:
      - name: counterNo
        in: path
        description: The CounterNo of the Counter to delete
        required: true
        schema:
          type: string
      responses:
        '204':
          description: No Content
        '400':
          description: Bad Request
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/SerticaWebApi.Models.ValidationResult'
            application/json:
              schema:
                $ref: '#/components/schemas/SerticaWebApi.Models.ValidationResult'
            text/json:
              schema:
                $ref: '#/components/schemas/SerticaWebApi.Models.ValidationResult'
        '401':
          description: If user is unauthorized
        '403':
          description: User must have one of these User Rights</br><table><thead><tr><th>Key</th><th>Right</th></tr></thead><tbody><tr><td style='border-bottom:none;padding-right:5px'>Counter_Delete</td><td style='border-bottom:none'>Delete</td></tr></tbody></table>
        '500':
          description: The api has encountered an unhandled exception. See Sertica logs for details
      security:
      - Bearer: []
      operationId: deleteCountersByCounterNo
      x-operation-id-source: derived
  /Counters/{counterNo}/history:
    get:
      tags:
      - Counters
      summary: Gets history for a specific Counter
      operationId: GetCounterHistory
      parameters:
      - name: counterNo
        in: path
        description: The CounterNo to get
        required: true
        schema:
          type: string
      - name: page
        in: query
        description: ''
        schema:
          type: integer
          format: int32
          default: 1
      - name: pageSize
        in: query
        description: ''
        schema:
          type: integer
          format: int32
          default: 5
      responses:
        '200':
          description: Returns the requested counter
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SerticaWebApi.Models.Counter.Counter'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SerticaWebApi.Models.Counter.Counter'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SerticaWebApi.Models.Counter.Counter'
        '400':
          description: Returns a validation result with information about the bad request
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/SerticaWebApi.Models.ValidationResult'
            application/json:
              schema:
                $ref: '#/components/schemas/SerticaWebApi.Models.ValidationResult'
            text/json:
              schema:
                $ref: '#/components/schemas/SerticaWebApi.Models.ValidationResult'
        '404':
          description: If an counter with the supplied Counter No cannot be found
        '401':
          description: If user is unauthorized
        '403':
          description: User must have one of these User Rights</br><table><thead><tr><th>Key</th><th>Right</th></tr></thead><tbody><tr><td style='border-bottom:none;padding-right:5px'>Counter_HistoryMode</td><td style='border-bottom:none'>HistoryMode</td></tr></tbody></table>
        '500':
          description: The api has encountered an unhandled exception. See Sertica logs for details
      security:
      - Bearer: []
  /Counters/search:
    post:
      tags:
      - Counters
      summary: Search for Counters Takes a SearchDefinition input, which can include filters…
      operationId: SearchCounters
      parameters:
      - name: page
        in: query
        description: Page
        schema:
          type: integer
          format: int32
          default: 1
      - name: pageSize
        in: query
        description: Pagesize
        schema:
          type: integer
          format: int32
          default: 25
      requestBody:
        description: The search definition
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/Logihold.BusinessObjects.LogiholdObjModel.Search.SearchDefinition'
          application/json:
            schema:
              $ref: '#/components/schemas/Logihold.BusinessObjects.LogiholdObjModel.Search.SearchDefinition'
          text/json:
            schema:
              $ref: '#/components/schemas/Logihold.BusinessObjects.LogiholdObjModel.Search.SearchDefinition'
          application/*+json:
            schema:
              $ref: '#/components/schemas/Logihold.BusinessObjects.LogiholdObjModel.Search.SearchDefinition'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SerticaWebApi.Models.Counter.Counter'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SerticaWebApi.Models.Counter.Counter'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SerticaWebApi.Models.Counter.Counter'
        '401':
          description: If user is unauthorized
        '403':
          description: User must have one of these User Rights</br><table><thead><tr><th>Key</th><th>Right</th></tr></thead><tbody><tr><td style='border-bottom:none;padding-right:5px'>Counter</td><td style='border-bottom:none'>View</td></tr></tbody></table>
        '500':
          description: The api has encountered an unhandled exception. See Sertica logs for details
      security:
      - Bearer: []
  /Counters/searchIndex/{counterGuid}:
    post:
      tags:
      - Counters
      summary: Get index of a record in a search for counters Takes a SearchDefinition input…
      operationId: SearchIndexCounters
      parameters:
      - name: counterGuid
        in: path
        description: The counter to get index for
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        description: The search definition
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/Logihold.BusinessObjects.LogiholdObjModel.Search.SearchDefinition'
          application/json:
            schema:
              $ref: '#/components/schemas/Logihold.BusinessObjects.LogiholdObjModel.Search.SearchDefinition'
          text/json:
            schema:
              $ref: '#/components/schemas/Logihold.BusinessObjects.LogiholdObjModel.Search.SearchDefinition'
          application/*+json:
            schema:
              $ref: '#/components/schemas/Logihold.BusinessObjects.LogiholdObjModel.Search.SearchDefinition'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                type: integer
                format: int32
            application/json:
              schema:
                type: integer
                format: int32
            text/json:
              schema:
                type: integer
                format: int32
        '401':
          description: If user is unauthorized
        '403':
          description: User must have one of these User Rights</br><table><thead><tr><th>Key</th><th>Right</th></tr></thead><tbody><tr><td style='border-bottom:none;padding-right:5px'>Counter</td><td style='border-bottom:none'>View</td></tr></tbody></table>
        '500':
          description: The api has encountered an unhandled exception. See Sertica logs for details
      security:
      - Bearer: []
  /Counters/searchCount:
    post:
      tags:
      - Counters
      summary: Returns number of hits in a search for Counters Takes a SearchDefinition input…
      operationId: SearchCountCounters
      requestBody:
        description: The search definition
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/Logihold.BusinessObjects.LogiholdObjModel.Search.SearchDefinition'
          application/json:
            schema:
              $ref: '#/components/schemas/Logihold.BusinessObjects.LogiholdObjModel.Search.SearchDefinition'
          text/json:
            schema:
              $ref: '#/components/schemas/Logihold.BusinessObjects.LogiholdObjModel.Search.SearchDefinition'
          application/*+json:
            schema:
              $ref: '#/components/schemas/Logihold.BusinessObjects.LogiholdObjModel.Search.SearchDefinition'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                type: integer
                format: int32
            application/json:
              schema:
                type: integer
                format: int32
            text/json:
              schema:
                type: integer
                format: int32
        '401':
          description: If user is unauthorized
        '403':
          description: User must have one of these User Rights</br><table><thead><tr><th>Key</th><th>Right</th></tr></thead><tbody><tr><td style='border-bottom:none;padding-right:5px'>Counter</td><td style='border-bottom:none'>View</td></tr></tbody></table>
        '500':
          description: The api has encountered an unhandled exception. See Sertica logs for details
      security:
      - Bearer: []
  /Counters/searchInfo:
    get:
      tags:
      - Counters
      summary: Returns structured information about what and how you can search for
      operationId: SearchInfoCounters
      responses:
        '200':
          description: Returns a list of valid search fields
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Logihold.BusinessObjects.LogiholdObjModel.Search.SearchInfo'
            application/json:
              schema:
                $ref: '#/components/schemas/Logihold.BusinessObjects.LogiholdObjModel.Search.SearchInfo'
            text/json:
              schema:
                $ref: '#/components/schemas/Logihold.BusinessObjects.LogiholdObjModel.Search.SearchInfo'
        '500':
          description: The api has encountered an unhandled exception. See Sertica logs for details
  /Counters/{counterNo}/force:
    delete:
      tags:
      - Counters
      summary: Force deletes a counter record Force deleting records may cause existing…
      parameters:
      - name: counterNo
        in: path
        description: The CounterNo of the Counter to delete
        required: true
        schema:
          type: string
      responses:
        '204':
          description: No Content
        '400':
          description: Bad Request
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/SerticaWebApi.Models.ValidationResult'
            application/json:
              schema:
                $ref: '#/components/schemas/SerticaWebApi.Models.ValidationResult'
            text/json:
              schema:
                $ref: '#/components/schemas/SerticaWebApi.Models.ValidationResult'
        '401':
          description: If user is unauthorized
        '403':
          description: User must have one of these User Rights</br><table><thead><tr><th>Key</th><th>Right</th></tr></thead><tbody><tr><td style='border-bottom:none;padding-right:5px'>Counter_ForceDelete</td><td style='border-bottom:none'>ForceDelete</td></tr></tbody></table>
        '500':
          description: The api has encountered an unhandled exception. See Sertica logs for details
      security:
      - Bearer: []
      operationId: deleteCountersByCounterNoForce
      x-operation-id-source: derived
  /Counters/{counterNo}/readings:
    get:
      tags:
      - Counters
      summary: Returns a list of Histories used on the Counter
      operationId: GetReadings
      parameters:
      - name: counterNo
        in: path
        description: The Counter No to fetch counter histories for
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Returns the counter histories for the counter
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SerticaWebApi.Models.Counter.CounterHistory'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SerticaWebApi.Models.Counter.CounterHistory'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SerticaWebApi.Models.Counter.CounterHistory'
        '401':
          description: If user is unauthorized
        '403':
          description: User must have one of these User Rights</br><table><thead><tr><th>Key</th><th>Right</th></tr></thead><tbody><tr><td style='border-bottom:none;padding-right:5px'>Counter</td><td style='border-bottom:none'>View</td></tr></tbody></table>
        '500':
          description: The api has encountered an unhandled exception. See Sertica logs for details
      security:
      - Bearer: []
    post:
      tags:
      - Counters
      summary: Performs a new Counter Reading for the given counter Will update both related…
      operationId: AddCounterReading
      parameters:
      - name: counterNo
        in: path
        description: The Counter No to fetch counter histories for
        required: true
        schema:
          type: string
      requestBody:
        description: The counterhistory to add
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/SerticaWebApi.Models.Counter.CounterHistory'
          application/json:
            schema:
              $ref: '#/components/schemas/SerticaWebApi.Models.Counter.CounterHistory'
          text/json:
            schema:
              $ref: '#/components/schemas/SerticaWebApi.Models.Counter.CounterHistory'
          application/*+json:
            schema:
              $ref: '#/components/schemas/SerticaWebApi.Models.Counter.CounterHistory'
      responses:
        '200':
          description: The counter reading is created and succesfull
        '400':
          description: A validation result is returned with the reasons why counter reading was not accepted
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/SerticaWebApi.Models.ValidationResult'
            application/json:
              schema:
                $ref: '#/components/schemas/SerticaWebApi.Models.ValidationResult'
            text/json:
              schema:
                $ref: '#/components/schemas/SerticaWebApi.Models.ValidationResult'
        '401':
          description: If user is unauthorized
        '403':
          description: User must have one of these User Rights</br><table><thead><tr><th>Key</th><th>Right</th></tr></thead><tbody><tr><td style='border-bottom:none;padding-right:5px'>Counter_Update</td><td style='border-bottom:none'>Update</td></tr><tr><td style='border-bottom:none;padding-right:5px'>AllowEnterCounterValue</td><td style='border-bottom:none'>Function</td></tr></tbody></table>
        '500':
          description: The api has encountered an unhandled exception. See Sertica logs for details
      security:
      - Bearer: []
  /Counters/{counterNo}/readings/force:
    post:
      tags:
      - Counters
      summary: Performs a new Counter Reading for the given counter Will update both related…
      operationId: ForceAddCounterReading
      parameters:
      - name: counterNo
        in: path
        description: The Counter No to fetch counter histories for
        required: true
        schema:
          type: string
      requestBody:
        description: The counterhistory to add
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/SerticaWebApi.Models.Counter.CounterHistory'
          application/json:
            schema:
              $ref: '#/components/schemas/SerticaWebApi.Models.Counter.CounterHistory'
          text/json:
            schema:
              $ref: '#/components/schemas/SerticaWebApi.Models.Counter.CounterHistory'
          application/*+json:
            schema:
              $ref: '#/components/schemas/SerticaWebApi.Models.Counter.CounterHistory'
      responses:
        '200':
          description: The counter reading is created and succesfull
        '400':
          description: A validation result is returned with the reasons why counter reading was not accepted
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/SerticaWebApi.Models.ValidationResult'
            application/json:
              schema:
                $ref: '#/components/schemas/SerticaWebApi.Models.ValidationResult'
            text/json:
              schema:
                $ref: '#/components/schemas/SerticaWebApi.Models.ValidationResult'
        '401':
          description: If user is unauthorized
        '403':
          description: User must have one of these User Rights</br><table><thead><tr><th>Key</th><th>Right</th></tr></thead><tbody><tr><td style='border-bottom:none;padding-right:5px'>Counter_Update</td><td style='border-bottom:none'>Update</td></tr><tr><td style='border-bottom:none;padding-right:5px'>AllowEnterCounterValue</td><td style='border-bottom:none'>Function</td></tr></tbody></table>
        '500':
          description: The api has encountered an unhandled exception. See Sertica logs for details
      security:
      - Bearer: []
  /Counters/{counterNo}/readings/graph/{daysToCover}:
    get:
      tags:
      - Counters
      summary: Returns a list of Histories used on the Counter prepared for graph
      operationId: GetReadingsGraphData
      parameters:
      - name: counterNo
        in: path
        description: The Counter No to fetch counter histories for
        required: true
        schema:
          type: string
      - name: daysToCover
        in: path
        description: How many days the graph should cover
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Returns the counter histories for the counter
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Logihold.BusinessObjects.LogiholdObjModel.Maintenance.CounterHistoryGraphData'
            application/json:
              schema:
                $ref: '#/components/schemas/Logihold.BusinessObjects.LogiholdObjModel.Maintenance.CounterHistoryGraphData'
            text/json:
              schema:
                $ref: '#/components/schemas/Logihold.BusinessObjects.LogiholdObjModel.Maintenance.CounterHistoryGraphData'
        '401':
          description: If user is unauthorized
        '403':
          description: User must have one of these User Rights</br><table><thead><tr><th>Key</th><th>Right</th></tr></thead><tbody><tr><td style='border-bottom:none;padding-right:5px'>Counter</td><td style='border-bottom:none'>View</td></tr></tbody></table>
        '500':
          description: The api has encountered an unhandled exception. See Sertica logs for details
      security:
      - Bearer: []
  /Counters/{counterNo}/copy:
    get:
      tags:
      - Counters
      summary: Copies an existing Counter to a new object
      operationId: CopCounter
      parameters:
      - name: counterNo
        in: path
        description: The CounterNo of the Counter to copy
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Returns the new Counter object with properties from original
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/SerticaWebApi.Models.Counter.Counter'
            application/json:
              schema:
                $ref: '#/components/schemas/SerticaWebApi.Models.Counter.Counter'
            text/json:
              schema:
                $ref: '#/components/schemas/SerticaWebApi.Models.Counter.Counter'
        '400':
          description: Returns a ValidationResult with information about the bad request
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/SerticaWebApi.Models.ValidationResult'
            application/json:
              schema:
                $ref: '#/components/schemas/SerticaWebApi.Models.ValidationResult'
            text/json:
              schema:
                $ref: '#/components/schemas/SerticaWebApi.Models.ValidationResult'
        '401':
          description: If user is unauthorized
        '403':
          description: User must have one of these User Rights</br><table><thead><tr><th>Key</th><th>Right</th></tr></thead><tbody><tr><td style='border-bottom:none;padding-right:5px'>Counter_Update</td><td style='border-bottom:none'>Update</td></tr></tbody></table>
        '500':
          description: The api has encountered an unhandled exception. See Sertica logs for details
      security:
      - Bearer: []
  /Counters/labels/{documentNo}:
    post:
      tags:
      - Counters
      summary: Gets the labels to print
      operationId: PrintCounterLabels
      parameters:
      - name: documentNo
        in: path
        description: the template No to print
        required: true
        schema:
          type: string
      requestBody:
        description: A Search Definition containing the counter numbers to print
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/Logihold.BusinessObjects.LogiholdObjModel.Search.SearchDefinition'
          application/json:
            schema:
              $ref: '#/components/schemas/Logihold.BusinessObjects.LogiholdObjModel.Search.SearchDefinition'
          text/json:
            schema:
              $ref: '#/components/schemas/Logihold.BusinessObjects.LogiholdObjModel.Search.SearchDefinition'
          application/*+json:
            schema:
              $ref: '#/components/schemas/Logihold.BusinessObjects.LogiholdObjModel.Search.SearchDefinition'
      responses:
        '400':
          description: Bad Request
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/SerticaWebApi.Models.ValidationResult'
            application/json:
              schema:
                $ref: '#/components/schemas/SerticaWebApi.Models.ValidationResult'
            text/json:
              schema:
                $ref: '#/components/schemas/SerticaWebApi.Models.ValidationResult'
        '200':
          description: Returns the requested counter report as pdf
        '404':
          description: If a counter with the supplied Counter No cannot be found
        '401':
          description: If user is unauthorized
        '403':
          description: User must have one of these User Rights</br><table><thead><tr><th>Key</th><th>Right</th></tr></thead><tbody><tr><td style='border-bottom:none;padding-right:5px'>Counter</td><td style='border-bottom:none'>View</td></tr></tbody></table>
        '500':
          description: The api has encountered an unhandled exception. See Sertica logs for details
      security:
      - Bearer: []
  /Counters/labels/{labelTemplateDocumentNo}/{settingsKey}:
    get:
      tags:
      - Counters
      summary: Get the labels to print using ´settings key
      operationId: GetCounterLabelPdf
      parameters:
      - name: labelTemplateDocumentNo
        in: path
        descriptio

# --- truncated at 32 KB (47 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/sertica/refs/heads/main/openapi/sertica-counters-api-openapi.yml