Counter definitions

Counter definitions

The API provides access to counter definitions.

Tip

Check the Swagger page for more technical information on the endpoints.

Endpoints

External references

The counter-definitions collection supports both predefined and custom external references. More information can be found on the External References Page.

Type External reference Description
Predefined @counter-code The counter code configured in Protime for the counter definition.
Custom customCounterCode A custom key-value pair managed by the 3rd party.

Usage in other collections

Counter-definitions external references can also be used in the following collection:

Predefined example:
?externalReferences=(counter-definitions,@counter-code)

Custom example:
?externalReferences=(counter-definitions,customCounterCode)