CoworkerBookingCreditUseHistories
Search CoworkerBookingCreditUseHistories
Search and list CoworkerBookingCreditUseHistory records with filtering, sorting, and pagination.
GET
Search CoworkerBookingCreditUseHistories
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-List role.Query Parameters
Pagination & Sorting
Filters
Filter by iD of the booking this credit was applied to, if the credit was used for a booking.
Filter by iD of the invoice line this credit was applied to, if the credit was used against an invoice.
Filter by iD of the event attendance record this credit was applied to, if the credit was used for an event.
Range Filters
Filter by display value for CoworkerBookingCredit.Coworker.Id. greater than or equal to this value.
Filter by display value for CoworkerBookingCredit.Coworker.Id. less than or equal to this value.
Filter by display value for CoworkerBookingCredit.ExpireDate. greater than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by display value for CoworkerBookingCredit.ExpireDate. less than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by display value for CoworkerBookingCredit.RemainingCredit. greater than or equal to this value.
Filter by display value for CoworkerBookingCredit.RemainingCredit. less than or equal to this value.
Filter by display value for Booking.FromTime. greater than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by display value for Booking.FromTime. less than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by display value for Booking.ToTime. greater than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by display value for Booking.ToTime. less than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by display value for CoworkerInvoiceLine.CoworkerInvoice.Id. greater than or equal to this value.
Filter by display value for CoworkerInvoiceLine.CoworkerInvoice.Id. less than or equal to this value.
Code Examples
Simple listing
Filtering by CreatedOn
Range filters
Response
200
The list of CoworkerBookingCreditUseHistory records matching the query. See the Get one CoworkerBookingCreditUseHistory endpoint for the full list of properties returned for each record.
Example Response