Skip to main content
GET
Search TariffBookingCredits
Plan booking credit (internally TariffBookingCredit) represents an amount of monetary credit linked to a plan (internally Tariff). The Credit value specifies how much credit is included. The renewal time controls how often the credit expires and the allowance resets.

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 TariffBookingCredit-List role.

Enums

Query Parameters

Pagination & Sorting

integer
default:"1"
The page number to retrieve.
integer
default:"25"
The number of records per page.
string
The property name to sort results by (e.g. Name, CreatedOn).
integer
Sort direction. 0 for ascending, 1 for descending.

Filters

string
Filter by credit name.
integer
Filter by iD of the plan linked to this record.
string
Filter by display value for Tariff.Name..
string
Filter by display value for Tariff.Business.Currency.Code..
number
Filter by credit amount.
boolean
Filter by whether this credit can be used to pay for bookings. Restrict to specific resource types using elegible-resource-types.
boolean
Filter by whether this credit can be used to pay for event sign-ups. Restrict to specific categories with ElegibleResourceTypes.
integer
Filter by how often will this credit amount will expire and be issued again. Most common option is TariffMonth, which follows the plan renewal cycle..
boolean
Filter by whether this is a universal credit applicable to products, time passes and other charges. Restrict with ElegibleProducts, ElegiblePasses and AppliesToCharges; if all are empty the credit applies to all products, passes and charges.
boolean
Filter by whether this universal credit applies to other charges.

Range Filters

number
Filter by credit amount greater than or equal to this value.
number
Filter by credit amount less than or equal to this value.
string
Filter records created on or after this date. Format: YYYY-MM-DDTHH:mm.
string
Filter records created on or before this date. Format: YYYY-MM-DDTHH:mm.
string
Filter records updated on or after this date. Format: YYYY-MM-DDTHH:mm.
string
Filter records updated on or before this date. Format: YYYY-MM-DDTHH:mm.

Code Examples

Simple listing

Filtering by Name

Range filters

Response

200

TariffBookingCredit[]
The list of TariffBookingCredit records matching the query. See the Get one TariffBookingCredit endpoint for the full list of properties returned for each record.
integer
Current page number.
integer
Number of records per page.
string
The field used for sorting.
integer
The sort direction (0 = ascending, 1 = descending).
integer
Index of the first item on the current page.
integer
Index of the last item on the current page.
integer
Total number of matching records across all pages.
integer
Total number of pages.
boolean
Whether there is a next page of results.
boolean
Whether there is a previous page of results.
Example Response