Counter instances
The API provides access to counter instances as you can see them in a person’s day details in myProtime. These counter “instances” will just be called “counters”; everything else will be named more specifically, e.g., counter definitions and counter requests.
Tip
Check the Swagger page for more technical information on the endpoints.
Endpoints
External references
The counter-instances collection supports both predefined and custom external references on related collections. More information can be found on the External References Page.
| Collection | Predefined | Custom |
|---|---|---|
people |
@badge-number, @employee-number |
Supported |
shift-definitions |
@shift-code |
Supported |
counter-definitions |
@counter-code |
Supported |
Predefined example:
?externalReferences=(people,@badge-number)
Multiple example:
?externalReferences=(people,@employee-number)(counter-definitions,@counter-code)