Create/Update multiple call forward rules with link_id
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_numberit 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]orsip:[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 examplesip:192.168.1.2
- application/json
Request Body required
- 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:
>= 1The number of pages that hold the requested data
current_page integerPossible values:
>= 1Current page number
filter object
Available fields
field name compare operators type values apartment_number eq, nq string available_filtering boolean requiredis_filtered boolean requiredavailable_fields object[] required
field_name string requireddata_type string requiredPossible values: [
string,integer,timestamp]options object
anyOf- MOD1
- MOD2
- MOD3
- MOD4
available_values string,integer[]Possible values:
>= 1This model provide filter available values
available_range integer[]Possible values:
>= 2,<= 2This 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:
falsehas_time booleanDefault value:
falsehas_milliseconds booleanDefault value:
falsesort object
Available sorting options for the forward rule table
is_sorted boolean requiredDirection of sorting
order stringPossible values: [
asc,desc]available_fields string[] requiredPossible values: [
forward_number]Available for sorting fields names
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
result object[]
link_id uuidUnique entity set by the server to bind some parameters with each other. By default return null value
success booleanextended_info stringPossible values: [
created,updated,deleted,entity_not_found,number_taken_by_another_identifier,bound_time_profile_doesnt_exist,face_id_not_supported,number_of_face_identifiers_exceeded,number_of_identifiers_exceeded]Entity state information result
{
"result": [
{
"link_id": "91c615e3-1040-4815-8ecb-039a18b756b5",
"success": true,
"extended_info": "created"
}
]
}
{
"result": [
{
"link_id": "91c615e3-1040-4815-8ecb-039a18b756b5",
"success": true,
"extended_info": "created"
}
]
}
Wrong JSON body
- application/json
- Schema
- Example (from schema)
- Example
Schema
- error string
{
"error": "Wrong JSON body"
}
{
"error": "Wrong JSON body"
}
Log In
- application/json
- Schema
- Example (from schema)
- Example
Schema
- error string
{
"error": "Log In"
}
{
"error": "Log In"
}