Function: pricelistgroup

Result: the list of elements

Tariff groups

Access level: admin

  • id — Id
  • name — Name
  • project — Provider
  • itemtype — Product type

Edit properties of the selected tariff plan

Function: pricelistgroup.edit

Access level: admin

The function is simultaneously used to view object's parameters, to change an object, and create new one.

View object's parameters:

  • Parameters:
    • elid — unique identifier (id element of pricelistgroup function)
  • Result: object parameters list

Create an object:

  • Parameters:
    • sok — the parameter must not be empty, generally "ok".
    • additional query parameters ...
  • Result: successful operation or error message

Change an object:

  • Parameters:
    • sok — the parameter must not be empty, generally "ok".
    • elid — unique identifier (id element of pricelistgroup function)
    • additional query parameters ...
  • Result: successful operation or error message

The list object's parameters or additional query parameters (see above):

  • name — Name. Enter a group name
  • project — Provider. Select a provider this group is assigned to
  • itemtype — Product type . Product type associated with this group
  • itemmax — Number of services available for order. Enter the maximum number of services that a client can order. A client won't be able to order add-ons for this tariff plan when he reaches this limit
  • trial_itemmax — Number of trials available for order . The maximum number of trials available for this tariff plan

Delete

Function: pricelistgroup.delete

Delete

Access level: admin

Parameters:

  • elid — one or more object's unique identifiers comma-delimited with space ", ". The unique identifiers is the id element of pricelistgroup function.

Result: successful operation or error message