Skip to main content
GET
Get one CoworkerTimePass
A CoworkerTimePass represents a time pass assigned to a customer. Time passes can be assigned directly, granted by a product purchase (CoworkerProductUniqueId), or included in a pricing plan (TariffTimePassUniqueId). Each time pass tracks its usage status (Used, UsedDate), remaining and total uses, and whether the customer is currently checked in. Time passes may have an expiration date and can be free or priced. Use CreateMultiple when creating to issue several time passes at once. The IsFromTariff and IsPayAsYouGo flags indicate the origin and billing model of the time pass.

Authentication

This endpoint requires OAuth2 authentication. Include a valid bearer token in the Authorization header. The authenticated user must be a full unrestricted administrator or have the CoworkerTimePass-Read role.

Path Parameters

integer
required
The Id of the CoworkerTimePass record to retrieve.

Code Examples

Response

200

integer
The customer who owns this time pass.
integer
The business (location) this time pass belongs to.
integer
The time pass definition this is an instance of.
string
Name of the linked time pass.
string
Currency code of the linked time pass.
string
Optional notes for this time pass.
string
Purchase order reference.
boolean
Whether this time pass has been used.
boolean
Whether the customer is currently checked in with this time pass.
string
Date when this time pass was used.
integer
Number of remaining uses on this time pass.
integer
Total number of uses allowed on this time pass.
boolean
Whether this time pass is free of charge.
number
Custom price for this time pass.
integer
Number of time passes to create at once.
string
Expiration date for this time pass.
boolean
Whether this time pass has been invoiced.
string
Date when this time pass was invoiced.
boolean
Whether this time pass was granted by a pricing plan (tariff).
boolean
Whether this is a pay-as-you-go time pass.
string
Unique identifier linking this time pass to a tariff time pass allocation.
string
Unique identifier linking this time pass to a customer product purchase.
string
Unique identifier linking this time pass to a customer contract.
integer
Unique record identifier.
string
UUID of the record.
string
Date and time the record was created (ISO 8601).
string
Date and time the record was last updated (ISO 8601).
string
Email of the user who last updated this record.
boolean
Whether the record was recently created.
string
External system identifier.
Example Response