Skip to main content

Create/Update multiple call forward rules with link_id

  • This endpoint is used by Link management system
  • If there is already forward rule with same forward_number it will be updated
  • Available forward number patterns:
    • \d+ - digits only
    • ^sip:([0-9A-Za-z+\-_]*@)((\b((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?(?:\:\d{1,5})?)(\.|$)){4}\b)|([0-9]*[A-Za-z+\-_]+[0-9]*)((\.([0-9]*[A-Za-z+\-_]+[0-9]*))+\b))$ - full SIP URI, for example, sip:[email protected] or sip:[email protected]
    • ^sip:(\b((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?(?:\:\d{1,5})?)(\.|$)){4}\b)$ - SIP URI without name and host, for example sip:192.168.1.2
Request Body required
  • list_items object[]

    list of forwarding rules

  • list_option object

    This model describes settings that can be used to represent forward rule list

  • pagination object

    Available pagination options for tables

  • total_items integer

    The total number of items found and reflected across all pages

  • items_limit integer

    Possible values: [10, 20, 25, 30, 40, 50]

    Limiting the display of the amount of data for one page

  • total_pages integer

    The number of pages that hold the requested data

  • current_page integer

    Possible values: >= 1

    Current page number

  • filter object

    Available fields

    field namecompare operatorstypevalues
    apartment_numbereq, nqstring
  • available_filtering boolean required

    is filtering available

  • is_filtered boolean required

    is filter applied

  • available_fields object[] required

    list of fields available to filter by

  • field_name string required
  • data_type string required

    Possible values: [string, integer, timestamp]

  • options object
    anyOf

  • available_values object[]

    Possible values: >= 1

    This model provide filter available values

  • sort object

    Available sorting options for the forward rule table

  • is_sorted boolean required

    Direction of sorting

  • order string

    Possible values: [asc, desc]

    sorting order, asc - ascending, desc - descending

  • available_fields string[] required

    Possible values: [forward_number]

    Available for sorting fields names

Responses

OK


Schema
  • result object[]

    List of operation statuses

  • link_id int64

    Logical address of the forward

  • success boolean

    Operation status

  • extended_info string

    Possible values: [created, updated, deleted, entity_not_found]

    Operation information

Loading...