ProductTimePasses
Get one ProductTimePass
Retrieve a single ProductTimePass record by its Id.
GET
Get one ProductTimePass
A ProductTimePass links a
TimePass to a Product so that customers purchasing the product automatically receive an amount of check-in time. The nature of that time depends on the type of the linked TimePass:
- Day Pass (TimePass with
MinutesIncluded= null) —PassesIncludedis the number of calendar days. The customer can check in any number of times during each calendar day they hold. - Time Pass (TimePass with
MinutesIncludedset) —PassesIncludedis the number of pass instances (each worthMinutesIncludedminutes). MultiplyPassesIncludedbyMinutesIncludedto get total hours. For example,PassesIncluded = 10with a 60-minute time pass gives the customer 10 hours of check-in time to use across different dates.
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 ProductTimePass-Read role.Path Parameters
integer
required
The Id of the ProductTimePass record to retrieve.
Code Examples
Response
200
integer
ID of the product linked to this record.
string
Product name.
integer
ID of the time pass linked to this record.
string
Time pass name.
integer
Passes included.
integer
The expire time in months value for this product time pass.
integer
The expire time in weeks value for this product time pass.
integer
Expiration type.
integer
Expires in.
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
Get one ProductTimePass