/
/
/
/
Reselling BitnNinja module licenses

Reselling BitnNinja module licenses

This article is about BitNinja module licenses, which can be purchased in the LicensesIspmanager modules section of your Client area. This version can be used only on a server with ispmanager installed. Installation and configuration are performed using ispmanager web interface.

Order BitNinja module

To order, use the addition.order.paramfunction with the following parameters:

  • item — ID of the ispmanager license for which the module is purchased;
  • period — service validity period. Possible values:
    • period=1 — 1 month license purchase;
    • period=6 — 6 months license purchase;
    • period=12 — 1 year license purchase;
    • period=-100 — order trial license.
  • pricelist — tariff plan code. Possible values:
    • pricelist=55371 — when ordered via https://api-eu.ispmanager.com.
  • skipbasket — debit and activate the service at once, ignoring the shopping cart. Possible values:
    • skipbasket=on — ignore the shopping cart. Order, charge, and activate the service immediately;
    • skipbasket=off — add to the shopping cart. Order, but not activate, the service is waiting for payment in the cart.
  • autoprolong — auto-renew. Must be equal to the period.value. If a different value is specified, auto-renewal will not be enabled for the service. Possible values:
    • autoprolong=1 — 1 month auto-renewal;
    • autoprolong=6 — 6 months auto-renewal;
    • autoprolong=12 — 1 year auto-renewal;
    • autoprolong=null — no auto-renewal.
Module order example

Renew BitNinja module

To renew the module license, use the service.prolong function with the following parameters:

  • elid — the service ID;
  • period — service validity period. Possible values:
    • period=1 — 1 month;
    • period=6 — 6 months;
    • period=12 — 1 year.

The service will be extended immediately after the request is fulfilled, so there should be enough funds on your client area balance.

Example of module license renewal

Delete BitNinja module

To delete the BitNinja module license, use the addition.delete function with the following parameters:

  • elid — the service ID.
Module deletion example

View BitNinja modules

To view BitNinja module licenses, use the addition function with the following parameters:

  • out — function with the following parameters:
    • out=xml — the data will be returned in XML format (with no pagination and no filters);
    • out=devel  — same as XML, but the document will contain data describing the user interface (useful for debugging your plugins);
    • out=text — the data in text format (with no pagination and no filters);
    • out=sjson —  the data in JSON format;
    • out=json — same as sjson, only Pretty Print (useful for debugging);
    • out=JSONdata — same as JSON, but without interface descriptions, just data (no pagination and no filters);
    • out=xjson — similar to the default output format (html), but in JSON format (recommended for creating custom themes);
    • out=print — printable HTML, works for data lists only;
Example of displaying information about modules

To view the data of a single BitNinja module license, use the addition.edit function with the following parameters:

  • elid — service ID;
  • out — data output.
Example of displaying information about one module