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
The Id of the CoworkerTimePass record to retrieve.
Code Examples
curl -X GET \
"https://spaces.nexudus.com/api/billing/coworkertimepasses/87654321" \
-H "Authorization: Bearer YOUR_TOKEN"
Response
200
The customer who owns this time pass.
The business (location) this time pass belongs to.
The time pass definition this is an instance of.
Name of the linked time pass.
Currency code of the linked time pass.
Optional notes for this time pass.
Purchase order reference.
Whether this time pass has been used.
Whether the customer is currently checked in with this time pass.
Date when this time pass was used.
Number of remaining uses on this time pass.
Total number of uses allowed on this time pass.
Whether this time pass is free of charge.
Custom price for this time pass.
Number of time passes to create at once.
Expiration date for this time pass.
Whether this time pass has been invoiced.
Date when this time pass was invoiced.
Whether this time pass was granted by a pricing plan (tariff).
Whether this is a pay-as-you-go time pass.
Unique identifier linking this time pass to a tariff time pass allocation.
Unique identifier linking this time pass to a customer product purchase.
Unique identifier linking this time pass to a customer contract.
Unique record identifier.
Date and time the record was created (ISO 8601).
Date and time the record was last updated (ISO 8601).
Email of the user who last updated this record.
Whether the record was recently created.
External system identifier.
{
"CoworkerId": 0,
"BusinessId": 0,
"TimePassId": 0,
"TimePassName": null,
"TimePassCurrencyCode": null,
"Notes": null,
"PurchaseOrder": null,
"Used": false,
"CheckedIn": false,
"UsedDate": null,
"RemainingUses": null,
"TotalUses": null,
"Free": false,
"Price": null,
"CreateMultiple": 0,
"ExpireDate": null,
"Invoiced": false,
"InvoiceDate": null,
"IsFromTariff": false,
"IsPayAsYouGo": false,
"TariffTimePassUniqueId": null,
"CoworkerProductUniqueId": null,
"CoworkerContractUniqueId": null,
"Id": 87654321,
"UpdatedOn": "2025-01-15T10:30:00Z",
"CreatedOn": "2025-01-10T08:00:00Z",
"UniqueId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"UpdatedBy": "admin@example.com",
"IsNew": false,
"SystemId": null,
"ToStringText": "CoworkerTimePass Example",
"LocalizationDetails": null,
"CustomFields": null
}