Create a new TariffBookingCredit record.
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:
CaneBeUsedForBookings to allow the credit to pay for bookings. Use ElegibleResourceTypes to restrict the credit to specific resource types; if left empty the credit is valid for all resource types.CaneBeUsedForEvents to allow the credit to pay for event sign-ups. Use EventCategories to 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).
Authorization header.
The authenticated user must be a full unrestricted administrator or have the TariffBookingCredit-Create role.eTimeSpanWeekMonth — ServiceRenewalTime values
| Value | Name |
|---|---|
| 1 | Week |
| 2 | CalendarMonth |
| 3 | TariffMonth |
| 4 | Year |
| 5 | Day |
ElegibleResourceTypes.EventCategories.eTimeSpanWeekMonth enum above.ElegibleProducts, ElegiblePasses and AppliesToCharges; if all are empty the credit applies to all products, passes and charges.200 on success.Id of the newly created record.true if the tariffbookingcredit was created successfully.null on success.PropertyName: error message.null on validation failure.false when the request fails validation.