Get multiple call forward rules with link_id
Get multiple call forward rules with link_id
Query Parameters
- limit integer required
Possible values: [
10
,20
,30
,50
]Default value:
10
Number of items. Value by default is 10
- page_number integer required
Possible values:
>= 1
Default value:
1
Page number
- order_by string
sorting expression:
[field name 1], [field name 2]... <order (asc or desc)>
- filter string
Filtering expression:
[field name] [compare operator] [value] <logical operator>...
field name see the list of available fields in filter.available_fields[].field_name
value see the list of available values in filter.available_fields[].options object
, may be missingcompare operator see the list of available operators in filter.available_fields[].compare_operators array
Compare operators Description Example eq Equal name eq 'Sherlock Holmes' gt Greater than building gt 10 lt Less than building lt 10 nq Not equal name nq 'Sherlock Holmes' ge Greater than or equal floor ge 5 le Less than or equal floor le 5 Logical operators and logical AND floor le 10 and floor gt 3 or logical OR floor le 3 or floor gt 10 not logical NOT not floor le 3 group operations () group by priority (name eq 'Sherlock Holmes' or building eq 221) and floor gt 10
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- list_items object[]
List_options object
This model describes settings that can be used to represent forward rule list
pagination object
Available pagination options for tables
total_items integerThe total number of items found and reflected across all pages
items_limit integerPossible values: [
10
,25
,50
]Limiting the display of the amount of data for one page
total_pages integerPossible values:
>= 1
The number of pages that hold the requested data
current_page integerPossible values:
>= 1
Current page number
filter object
Available fields
field name compare operators type values apartment_number eq, nq string available_filtering booleanis_filtered booleanavailable_fields object[]
field_name stringcompare_operators string[]Possible values: [
eq
,gt
,lt
,nq
,ge
,le
]data_type stringPossible values: [
string
,integer
,timestamp
]options object
anyOf- MOD1
- MOD2
- MOD3
- MOD4
available_values string,integer[]Possible values:
>= 1
This model provide filter available values
available_range integer[]Possible values:
>= 2
,<= 2
This model provide filter integer range
available_values_localized string[]the field is used only for UI localization and is not a filter value.
has_date booleanDefault value:
false
has_time booleanDefault value:
false
has_milliseconds booleanDefault value:
false
sort object
Available sorting options for the forward rule table
is_sorted booleanDirection of sorting
order stringPossible values: [
asc
,desc
]available_fields string[]Possible values: [
forward_number
]Available for sorting fields names
{
"list_items": [
{
"forward_entity_list": [
"sip:[email protected]",
"1001",
"sip:192.168.1.10"
],
"link_id": 101
}
],
"List_options": {
"pagination": {
"total_items": 18,
"items_limit": 10,
"total_pages": 2,
"current_page": 1
},
"filter": {
"available_filtering": true,
"is_filtered": true,
"available_fields": [
{
"field_name": "category",
"compare_operators": [
"eq"
],
"data_type": "string",
"options": {
"available_values": [
"any string"
]
}
}
]
},
"sort": {
"is_sorted": true,
"order": "asc",
"available_fields": [
"forward_number"
]
}
}
}
{
"list_items": [
{
"forward_entity_list": [
"sip:[email protected]",
"1001",
"sip:192.168.1.10"
],
"link_id": "5af300f8-aeb8-4168-a17c-213ba117f5e4"
}
],
"list_option": {
"pagination": {
"total_items": 18,
"items_limit": 10,
"total_pages": 2,
"current_page": 1
},
"filter": {
"available_filtering": true,
"is_filtered": true,
"available_fields": [
{
"field_name": "forward_number",
"compare_operators": [
"eq"
],
"data_type": "string",
"options": {}
}
]
},
"sort": {
"is_sorted": true,
"order": "asc",
"available_fields": [
"forward_number"
]
}
}
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
- error string
{
"error": "Log In"
}
{
"error": "Log In"
}