TariffExtraServices
Create TariffExtraService
Create a new TariffExtraService record.
POST
Create TariffExtraService
Plan time credit (internally TariffExtraService) links an time credit type (internally ExtraService) to a plan (internally Tariff), defining an included allowance of booking time or printing credits for customers on that plan. The
UsesIncluded value specifies how much 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 TariffExtraService-Create role.Enums
eTimeSpanWeekMonth — ServiceRenewalTime values
eTimeSpanWeekMonth — ServiceRenewalTime values
Request Body
Required Fields
ID of the time credit type linked to this record. An ExtraService with IsBookingCredit = true associated with the type of resources this time credit is valid for. .
Number of uses included in the unit associated with the selected time credit type (ExtraService.ChargePeriod). ExtraServiceChargePeriod in this entity. Minutes = 1, Days = 2, Weeks = 3, Months = 4, Uses = 5, FourWeekMonths = 6.
How often will this credit amount will expire and be issued again. Most common option is TariffMonth, which follows the plan renewal cycle..
Code Examples
Response
200
Example Response
400
Example Response