Replace a config element: SD.session-agent-id-rule
put
https://cloud-native-SBC-IP/config/v1/sd/session-agent-id-rule/{ElementKey}
Replace a config element: SD.session-agent-id-rule
Request
Path Parameters
-
ElementKey: string
Identifier for the element
Supported Media Types
- application/json
Root Schema : schema
Type:
object
configure alternative session-agent identification rules
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
match-header(required): string
Minimum Length:
1
Pattern:^@status-line$|^[A-Za-z0-9@.!%*_+`'~-]+(\[(([0-9]+)|([*^]))\])?$|^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
sip header used to identify the Session Agent -
match-parameter: string
Pattern:
^.*$|^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
parameter within the specified sip header field to be used to identify the Session Agent -
name(required): string
Minimum Length:
1
Pattern:^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
name of the identification scenario -
uri-type: string
Allowed Values:
[ "none", "uri-param", "uri-header", "uri-user", "uri-host", "uri-port", "uri-user-param", "uri-display", "uri-user-only", "uri-phone-number-only" ]
Response
Supported Media Types
- application/json
200 Response
return one config element: SessionAgentIdentifierRule
Root Schema : schema
Type:
object
configure alternative session-agent identification rules
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
match-header(required): string
Minimum Length:
1
Pattern:^@status-line$|^[A-Za-z0-9@.!%*_+`'~-]+(\[(([0-9]+)|([*^]))\])?$|^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
sip header used to identify the Session Agent -
match-parameter: string
Pattern:
^.*$|^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
parameter within the specified sip header field to be used to identify the Session Agent -
name(required): string
Minimum Length:
1
Pattern:^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
name of the identification scenario -
uri-type: string
Allowed Values:
[ "none", "uri-param", "uri-header", "uri-user", "uri-host", "uri-port", "uri-user-param", "uri-display", "uri-user-only", "uri-phone-number-only" ]
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" ]