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

Материал из WiKi - UserSide
(Add Ukrainian API docs and trilingual API links)
([IronBot] Sync localization from RU)
 
Строка 38: Строка 38:


  Description: Delete a link
  Description: Delete a link
Required parameters:
  id - object ID
==== page_add ====
''Added in: 3.21.58''
Description: Create a new page
Required parameters:
  section - location for the page [customer_card|device_card]
  name - page name
Optional parameters:
  sub_section - device types that display the page ''(for section=device_card)'' [switch|radio|olt|onu|other] ''(separate multiple values with commas)''
  url - link
  is_blank - open the link in a new page
  is_frame - open the link in a frame
  body - page content
==== page_get ====
''Added in: 3.21.58''
Description: Get a list of pages
Required parameters:
  section - location of the pages [customer_card|device_card]
==== page_remove ====
''Added in: 3.21.58''
Description: Delete a page
  Required parameters:
  Required parameters:
   id - object ID
   id - object ID

Текущая версия от 14:51, 25 сентября 2026

en | uk | ru

Section API_EN of the "UserSide" ERP

Purpose: Custom sections/pages/links

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

Subcategories

link_add

Added in: 3.20.23

Description: Create a new link
Required parameters:
 section - section where the link will be placed [header|dashboard|menu]
 name - name
 url - link
Optional parameters:
 sub_section - menu subsection where the link will be placed (for section=menu) [accountancy | inventories | employees | customers | tariffs | customer_messages | equipments | tasks | coverage | advertisements | memos | statistics | operators | settings | nodes | cable_lines | transport | chapter]
 is_blank - open the link in a new page

link_get

Added in: 3.20.23

Description: Retrieve the list of links
Required parameters:
 none
Optional parameters:
 section - section where the link is placed [header|dashboard|menu]

link_remove

Added in: 3.20.23

Description: Delete a link
Required parameters:
 id - object ID

page_add

Added in: 3.21.58

Description: Create a new page
Required parameters:
 section - location for the page [customer_card|device_card]
 name - page name
Optional parameters:
 sub_section - device types that display the page (for section=device_card) [switch|radio|olt|onu|other] (separate multiple values with commas)
 url - link
 is_blank - open the link in a new page
 is_frame - open the link in a frame
 body - page content

page_get

Added in: 3.21.58

Description: Get a list of pages
Required parameters:
 section - location of the pages [customer_card|device_card]

page_remove

Added in: 3.21.58

Description: Delete a page
Required parameters:
 id - object ID