Skip to main content
GET
Get one TariffBookingCredit
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-Read role.

Path Parameters

integer
required
The Id of the TariffBookingCredit record to retrieve.

Code Examples

Response

200

string
Credit name.
integer
ID of the plan linked to this record.
string
Display value for Tariff.Name..
string
Display value for Tariff.Business.Currency.Code..
integer[]
List of the IDs of the resource types this booking credit can be used for.
integer[]
List of the IDs of the products this booking credit can be used for. Applies only when IsUniversalCredit is true..
integer[]
List of the IDs of the plans this booking credit can be used for. Applies only when IsUniversalCredit is true..
number
Credit amount.
boolean
Whether this credit can be used to pay for bookings. Restrict to specific resource types using elegible-resource-types.
boolean
Whether this credit can be used to pay for event sign-ups. Restrict to specific categories with ElegibleResourceTypes.
integer[]
List of the IDs of the event categories this booking credit can be used for. Applies only when IsUniversalCredit is true..
integer
How often will this credit amount will expire and be issued again. Most common option is TariffMonth, which follows the plan renewal cycle.. See eTimeSpanWeekMonth enum values: 1 = Week, 2 = CalendarMonth, 3 = TariffMonth, 4 = Year, 5 = Day.
boolean
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.
integer[]
List of the IDs of the passes this booking credit can be used for. Applies only when IsUniversalCredit is true..
boolean
Whether this universal credit applies to other charges.
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