Floating Server
...
User Interface
Registrations

Consumption List

2min

Consumptions

The floating server provides support for managing license and feature consumptions associated with the licenses stored within its database. Requests to add consumptions are handled through the /add_consumption and /add_feature_consumption endpoints. Upon receipt of these requests, provided there are sufficient consumptions available for the specific license or feature, the floating server immediately updates the local consumption value. This updated value is reflected in the server's response as well as displayed on the UI's registration page.

Consumption List
Consumption List


Additionally, at hourly intervals, local consumption values of hte platform-sourced licenses undergo synchronization with the cloud LicenseSpring server. Detailed insights into both license and feature consumptions, including maximum allowed consumption and overages, can be found on the license details page, accessible from the configuration page.

It's essential to note that any alteration to a consumption value requires the license or feature to be of consumption type and that sufficient consumption is available, taking into account maximum consumption limits, overages allowance, and the possibility of unlimited consumption.

POST
Request
Body Parameters
Product
required
String
Product Short Code
Consumptions
required
String
Number of Consumptions
Max_overages
optional
String
Maximum Number of Overages
Allowe_overages
optional
String
True or False
Go
Responses
200
400


Consumption Reset

For licenses or features designated for consumption reset with defined consumption periods, consumption values are automatically reset to zero by the end of this period. This reset occurs during one of the hourly synchronization events. Consequently, it may take up to an hour following the reset period for this adjustment to reflect on the server. Consumption reset periods can be opted between daily, weekly, monthly, or annually.