TariffBookingCredits
Get one TariffBookingCredit
Retrieve a single TariffBookingCredit record by its Id.
GET
Get one TariffBookingCredit
A TariffBookingCredit represents an amount of credit linked to a plan (
Tariff). When a customer’s contract on that plan renews, the credit is automatically released as a CoworkerBookingCredit on the customer’s account.
Credit can be configured for two primary uses:
- Bookings — set
CaneBeUsedForBookingsto allow the credit to pay for bookings. UseElegibleResourceTypesto restrict the credit to specific resource types; if left empty the credit is valid for all resource types. - Events — set
CaneBeUsedForEventsto allow the credit to pay for event sign-ups. UseEventCategoriesto restrict to specific event categories; if left empty the credit is valid for all events.
IsUniversalCredit enables the credit for products, time passes, and other charges. Use ElegibleProducts, ElegiblePasses, and AppliesToCharges to restrict which products or passes the credit is valid for. If all restriction lists are empty the universal credit applies to all products, passes and charges.
Use ServiceRenewalTime to control how often the credit is renewed (e.g. weekly, monthly).
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
The Id of the TariffBookingCredit record to retrieve.
Code Examples
Response
200
Credit name.
ID of the tariff linked to this record.
Tariff name.
Tariff business currency code.
List of elegible resource types linked to this record.
List of elegible products linked to this record.
List of elegible tariffs linked to this record.
Credit amount.
Whether this credit can be used to pay for bookings. Restrict to specific resource types with
ElegibleResourceTypes.Whether this credit can be used to pay for event sign-ups. Restrict to specific categories with
EventCategories.List of event categories linked to this record.
Service renewal time period. See
eTimeSpanWeekMonth enum values: 1 = Week, 2 = CalendarMonth, 3 = TariffMonth, 4 = Year, 5 = Day.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.List of elegible passes linked to this record.
Whether this universal credit applies to other charges.
Unique record identifier.
UUID of the record.
Date and time the record was created (ISO 8601).
Date and time the record was last updated (ISO 8601).
Email of the user who last updated this record.
Whether the record was recently created.
External system identifier.
Example Response
Get one TariffBookingCredit