Replace a config element: SD.local-routing-config
put
https://cloud-native-SBC-IP/config/v1/sd/local-routing-config/{ElementKey}
Replace a config element: SD.local-routing-config
Request
Path Parameters
-
ElementKey: string
Identifier for the element
Supported Media Types
- application/json
Root Schema : schema
Type:
object
configure local routing servers
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
file-name(required): string
Minimum Length:
1
Pattern:^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$|^[^/]+((.gz)|(.gzip))$
XML file containing the routing entries to be used for this local-route server -
match-mode: string
Allowed Values:
[ "exact", "best", "all" ]
-
name(required): string
Minimum Length:
1
Pattern:^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
Name of the local-routing routing server -
prefix-length: integer
(int64)
Minimum Value:
0
Maximum Value:999999999
Number of digits/characters to be used for local route matching -
retarget-requests: boolean
Replace Request-URI in forwarded requests
-
string-lookup: boolean
Use string lookups instead of E.164 phone number. Enable for tables with range entries that have alphanumeric prefixes
Response
Supported Media Types
- application/json
200 Response
return one config element: LocalRoutingConfig
Root Schema : schema
Type:
object
configure local routing servers
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
file-name(required): string
Minimum Length:
1
Pattern:^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$|^[^/]+((.gz)|(.gzip))$
XML file containing the routing entries to be used for this local-route server -
match-mode: string
Allowed Values:
[ "exact", "best", "all" ]
-
name(required): string
Minimum Length:
1
Pattern:^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
Name of the local-routing routing server -
prefix-length: integer
(int64)
Minimum Value:
0
Maximum Value:999999999
Number of digits/characters to be used for local route matching -
retarget-requests: boolean
Replace Request-URI in forwarded requests
-
string-lookup: boolean
Use string lookups instead of E.164 phone number. Enable for tables with range entries that have alphanumeric prefixes
404 Response
Not Found
Root Schema : ApiValidationError
Type:
Show Source
object
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
code: string
-
errors: array
errors
-
message: string
-
timestamp: string
Nested Schema : Errors
Type:
Show Source
object
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
attribute: string
-
code: string
-
message: string
-
type: string
Allowed Values:
[ "error", "fatal", "warn" ]
406 Response
Validation Failure
Root Schema : ApiValidationError
Type:
Show Source
object
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
code: string
-
errors: array
errors
-
message: string
-
timestamp: string
Nested Schema : Errors
Type:
Show Source
object
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
attribute: string
-
code: string
-
message: string
-
type: string
Allowed Values:
[ "error", "fatal", "warn" ]