API tariff EN: различия между версиями

Материал из WiKi - UserSide
(Add Ukrainian API docs and trilingual API links)
(Fix Ukrainian API localization)
 
Строка 11: Строка 11:


==== add ====
==== add ====
  Description: Adding a tariff
  Description: Add a tariff
  Obligatory parameters:
  Required parameters:
   name - name of tariff
   name - name of tariff
   billing_id - billing id
   billing_id - billing id
Строка 19: Строка 19:
==== add_group ====
==== add_group ====
''Added in: 3.14.67''
''Added in: 3.14.67''
  Description: Adding a group of tariffs
  Description: Add a tariff group
  Obligatory parameters:
  Required parameters:
   name - name
   name - name


==== add_tariff_in_group ====
==== add_tariff_in_group ====
''Added in: 3.14.67''
''Added in: 3.14.67''
  Description: Adding a tariff to a tariff group
  Description: Add a tariff to a tariff group
  Obligatory parameters:
  Required parameters:
   tariff_id - tariff id
   tariff_id - tariff id
   group_id - id of tariff group
   group_id - id of tariff group
Строка 32: Строка 32:
==== delete_group ====
==== delete_group ====
''Added in: 3.14.67''
''Added in: 3.14.67''
  Description: Deleting a group of tariffs
  Description: Delete a tariff group
  Obligatory parameters:
  Required parameters:
   id - id of the group
   id - id of the group


==== edit ====
==== edit ====
  Description: Edit tariff
  Description: Edit tariff
  Obligatory parameters:
  Required parameters:
   id - id of tariff
   id - id of tariff
  Optional parameters:
  Optional parameters:
Строка 52: Строка 52:
''Added in: 3.14.67''
''Added in: 3.14.67''
  Description: Editing a group of tariffs
  Description: Editing a group of tariffs
  Obligatory parameters:
  Required parameters:
   id - id of the group
   id - id of the group
   name - name
   name - name
Строка 72: Строка 72:
''Added in: 3.14.67''
''Added in: 3.14.67''
  Description: Excluding a tariff from a tariff group
  Description: Excluding a tariff from a tariff group
  Obligatory parameters:
  Required parameters:
   tariff_id - id of tariff
   tariff_id - id of tariff
   group_id - id of tariff group
   group_id - id of tariff group

Текущая версия от 11:38, 10 мая 2026

en | uk | ru

Section API ERP "UserSide"

Purpose: Tariffs

Additional parameters:
action - request subcategory (possible value: see below)

Subcategories

add

Description: Add a tariff
Required parameters:
 name - name of tariff
 billing_id - billing id
 billing_tariff_id - id of tariff in third-party billing

add_group

Added in: 3.14.67

Description: Add a tariff group
Required parameters:
 name - name

add_tariff_in_group

Added in: 3.14.67

Description: Add a tariff to a tariff group
Required parameters:
 tariff_id - tariff id
 group_id - id of tariff group

delete_group

Added in: 3.14.67

Description: Delete a tariff group
Required parameters:
 id - id of the group

edit

Description: Edit tariff
Required parameters:
 id - id of tariff
Optional parameters:
 is_in_billing - flag - whether the tariff is available in third party billing
 name - tariff name
 payment - amount of subscription fee
 payment_interval - subscription fee debiting interval (in days)
 speed_rx - incoming speed (in kbps)
 speed_tx - outgoing speed (in kbps)
 traffic - included traffic by tariff (in MB)

edit_group

Added in: 3.14.67

Description: Editing a group of tariffs
Required parameters:
 id - id of the group
 name - name

get

Added in: 3.12.2

Description: List of tariffs
Additional parameters:
 billing_id - billing id
 name - name of tariff

get_group

Added in: 3.13.19

Description: Information about tariff groups
Additional parameters:
 id - id of the group (can be comma separated)

remove_tariff_from_group

Added in: 3.14.67

Description: Excluding a tariff from a tariff group
Required parameters:
 tariff_id - id of tariff
 group_id - id of tariff group