Skip to main content
GET
Get one CoworkerBookingCreditUseHistory
A CoworkerBookingCreditUseHistory records each time a CoworkerBookingCredit was consumed. Each entry captures the amount of credit deducted and links back to the booking, event attendance, or invoice line that triggered the use. Use the read-only denormalised fields (BookingFromTime, BookingResourceName, EventAttendeeCalendarEventName, etc.) to inspect what the credit was spent on without needing to fetch the related records separately.

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 CoworkerBookingCreditUseHistory-Read role.

Path Parameters

integer
required
The Id of the CoworkerBookingCreditUseHistory record to retrieve.

Code Examples

Response

200

string
Optional description or note for this credit use entry.
integer
ID of the booking credit that was consumed.
integer
ID of the booking this credit was applied to, if the credit was used for a booking.
string
Start time of the booking.
string
End time of the booking.
string
Name of the resource that was booked.
integer
ID of the invoice line this credit was applied to, if the credit was used against an invoice.
integer
ID of the invoice containing the linked invoice line.
string
Invoice number of the invoice containing the linked invoice line.
integer
ID of the event attendance record this credit was applied to, if the credit was used for an event.
string
Name of the calendar event the credit was used for.
string
Name of the event ticket product purchased by the attendee.
string
Full name of the event attendee.
string
Email address of the event attendee.
number
Amount of credit consumed by this entry.
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