Function: accountgroup
Result: the list of elements
Client groups
Access level: admin
- id — Id
- name — Name
- props — Parameters
Delete
Function: accountgroup.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 accountgroup function.
Result: successful operation or error message
Client
Function: accountgroup.account
Result: the list of elements
Inventory module settings
Access level: admin
- id — Id
- name — Client
- status — Status
Resume
Function: accountgroup.account.resume
Resume
Access level: admin
Parameters:
- elid — one or more object's unique identifiers comma-delimited with space ", ". The unique identifiers is the id element of accountgroup.account function.
Result: successful operation or error message
Set filter.
accountgroup.account.filter
Suspend
Function: accountgroup.account.suspend
Suspend
Access level: admin
Parameters:
- elid — one or more object's unique identifiers comma-delimited with space ", ". The unique identifiers is the id element of accountgroup.account function.
Result: successful operation or error message
Tariff plan
Function: accountgroup.pricelist
Result: the list of elements
Inventory module settings
Access level: admin
- id — Id
- name — Tariff plan
- status — Status
Set filter.
accountgroup.pricelist.filter
Resume
Function: accountgroup.pricelist.resume
Resume
Access level: admin
Parameters:
- elid — one or more object's unique identifiers comma-delimited with space ", ". The unique identifiers is the id element of accountgroup.pricelist function.
Result: successful operation or error message
Suspend
Function: accountgroup.pricelist.suspend
Suspend
Access level: admin
Parameters:
- elid — one or more object's unique identifiers comma-delimited with space ", ". The unique identifiers is the id element of accountgroup.pricelist function.
Result: successful operation or error message
Inventory module settings
Function: accountgroup.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 accountgroup 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 accountgroup function)
- additional query parameters ...
- Result: successful operation or error message
The list object's parameters or additional query parameters (see above):
- name — Name. Enter the name for the group
- allowsuspenditem — . (Optional parameter. To enable the option click "on".) Select the check box to allow users of this group to suspend and activate their services
- allowdeleteitem — . (Optional parameter. To enable the option click "on".) Select the check box to allow users of this group to delete their services
- ignoreitemmax — . (Optional parameter. To enable the option click "on".) Select the check box to allow group members to order any number of services regardless their tariff plan settings
- ignoreabuserate — . (Optional parameter. To enable the option click "on".) Select the check box to apply fines to members of this group
Username
Function: accountgroup.condition
Result: the list of elements
Conditions
Access level: admin
- id — Id
- condition — Condition
- conditiongroup — Group
Condition to assign a client to group automatically
Function: accountgroup.condition.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:
- plid — parent list unique identifier (id element of accountgroup function).
- elid — unique identifier (id element of accountgroup.condition function)
- Result: object parameters list
Create an object:
Parameters:
- sok — the parameter must not be empty, generally "ok".
- plid — parent list unique identifier (id element of accountgroup function).
- additional query parameters ...
- Result: successful operation or error message
Change an object:
- Parameters:
- sok — the parameter must not be empty, generally "ok".
- plid — parent list unique identifier (id element of accountgroup function).
- elid — unique identifier (id element of accountgroup.condition function)
- additional query parameters ...
- Result: successfull operation or error message
The list object's parameters or additional query parameters (see above):
- comparison — Comparison . Comparison condition
- country_select — Countries . List of countries
- country_geoip_select — Countries . List of countries
- project_select — Provider . Provider that was connected during registration
- social_network_select — Social network . The client got registered via this social network
- param — Parameter name . Parameter name in the client's registration request
- value — Value . Value for the above parameter
- type — Type. Condition type
- group — Group of conditions . Conditions in this group will be combined by the OR operator. Groups are combined by the AND operator. For example: A, B, and C operators can be combined into one group. D and E operators are combined into the second group. The result will be as follows: (A OR B OR C) AND (D OR E)
- groupname — Group name . Enter the name of the conditions group
Delete
Function: accountgroup.condition.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 accountgroup.condition function.
Result: successful operation or error message