Replace a sub-element: SD.sip-manipulation.header-rules

put

https://cloud-native-SBC-IP/config/v1/sd/sip-manipulation/{ElementKey}/header-rules/{ElementKeySE}

Replace a sub-element: SD.sip-manipulation.header-rules

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
list of header rules
Show Source
  • Read Only: true
    Identifier for the element or sub-element
  • Allowed Values: [ "none", "add", "delete", "manipulate", "store", "sip-manip", "find-replace-all", "reject", "log", "monitor" ]
  • Allowed Values: [ "case-sensitive", "case-insensitive", "pattern-rule", "refer-case-sensitive", "refer-case-insensitive", "boolean" ]
  • element-rules
    list of element-rules
  • Pattern: ^@status-line$|^[A-Za-z0-9@.!%*_+`'~-]+(\[(([0-9]+)|([*^]))\])?$
    header name for which rule needs to be applied
  • value to match against the current object. To clear the match-value, enter an empty string
  • methods
    Unique Items Required: true
    specifies list of methods that the rule applies to (applies to all methods when none are specified). For e.g.: INVITE,ACK,CANCEL
  • Allowed Values: [ "any", "request", "reply", "out-of-dialog" ]
  • Minimum Length: 1
    Pattern: ^(([a-z][A-Za-z0-9_]+)|([A-Z][A-Za-z0-9_]*[a-z][A-Za-z0-9_]*))$
    unique name for rule
  • new value for the object. Quoted display names must be escaped within quotes (e.g. '\\'My Name\\' '). To clear the new-value, enter an empty string
Nested Schema : element-rules
Type: array
list of element-rules
Show Source
Nested Schema : methods
Type: array
Unique Items Required: true
specifies list of methods that the rule applies to (applies to all methods when none are specified). For e.g.: INVITE,ACK,CANCEL
Show Source
  • Allowed Values: [ "INVITE", "ACK", "BYE", "CANCEL", "REGISTER", "OPTIONS", "PRACK", "SUBSCRIBE", "NOTIFY", "PUBLISH", "INFO", "REFER", "MESSAGE", "UPDATE" ]
Nested Schema : SipElemRule
Type: object
list of element-rules
Show Source
  • Read Only: true
    Identifier for the element or sub-element
  • Allowed Values: [ "none", "add", "store", "sip-manip", "replace", "find-replace-all", "delete-element", "delete-header", "log", "reject" ]
  • Allowed Values: [ "case-sensitive", "case-insensitive", "pattern-rule", "refer-case-sensitive", "refer-case-insensitive", "boolean" ]
  • Allowed Values: [ "any", "ip", "fqdn" ]
  • value to match against the current object. To clear the match-value, enter an empty string
  • Minimum Length: 1
    Pattern: ^(([a-z][A-Za-z0-9_]+)|([A-Z][A-Za-z0-9_]*[a-z][A-Za-z0-9_]*))$
    unique name for rule
  • new value for the object. Quoted display names must be escaped within quotes (e.g. '\\'My Name\\' '). To clear the new-value, enter an empty string
  • element param name for which rule needs to be applied
  • Allowed Values: [ "none", "header-value", "header-param", "uri-param", "uri-header", "uri-user", "uri-host", "uri-port", "uri-user-param", "teluri-param", "uri-display", "uri-param-name", "uri-header-name", "header-param-name", "status-code", "reason-phrase", "mime", "uri-user-only", "uri-phone-number-only" ]
Back to Top

Response

Supported Media Types

200 Response

return one sub element: SipHdrRule
Body ()
Root Schema : schema
Type: object
list of header rules
Show Source
  • Read Only: true
    Identifier for the element or sub-element
  • Allowed Values: [ "none", "add", "delete", "manipulate", "store", "sip-manip", "find-replace-all", "reject", "log", "monitor" ]
  • Allowed Values: [ "case-sensitive", "case-insensitive", "pattern-rule", "refer-case-sensitive", "refer-case-insensitive", "boolean" ]
  • element-rules
    list of element-rules
  • Pattern: ^@status-line$|^[A-Za-z0-9@.!%*_+`'~-]+(\[(([0-9]+)|([*^]))\])?$
    header name for which rule needs to be applied
  • value to match against the current object. To clear the match-value, enter an empty string
  • methods
    Unique Items Required: true
    specifies list of methods that the rule applies to (applies to all methods when none are specified). For e.g.: INVITE,ACK,CANCEL
  • Allowed Values: [ "any", "request", "reply", "out-of-dialog" ]
  • Minimum Length: 1
    Pattern: ^(([a-z][A-Za-z0-9_]+)|([A-Z][A-Za-z0-9_]*[a-z][A-Za-z0-9_]*))$
    unique name for rule
  • new value for the object. Quoted display names must be escaped within quotes (e.g. '\\'My Name\\' '). To clear the new-value, enter an empty string
Nested Schema : element-rules
Type: array
list of element-rules
Show Source
Nested Schema : methods
Type: array
Unique Items Required: true
specifies list of methods that the rule applies to (applies to all methods when none are specified). For e.g.: INVITE,ACK,CANCEL
Show Source
  • Allowed Values: [ "INVITE", "ACK", "BYE", "CANCEL", "REGISTER", "OPTIONS", "PRACK", "SUBSCRIBE", "NOTIFY", "PUBLISH", "INFO", "REFER", "MESSAGE", "UPDATE" ]
Nested Schema : SipElemRule
Type: object
list of element-rules
Show Source
  • Read Only: true
    Identifier for the element or sub-element
  • Allowed Values: [ "none", "add", "store", "sip-manip", "replace", "find-replace-all", "delete-element", "delete-header", "log", "reject" ]
  • Allowed Values: [ "case-sensitive", "case-insensitive", "pattern-rule", "refer-case-sensitive", "refer-case-insensitive", "boolean" ]
  • Allowed Values: [ "any", "ip", "fqdn" ]
  • value to match against the current object. To clear the match-value, enter an empty string
  • Minimum Length: 1
    Pattern: ^(([a-z][A-Za-z0-9_]+)|([A-Z][A-Za-z0-9_]*[a-z][A-Za-z0-9_]*))$
    unique name for rule
  • new value for the object. Quoted display names must be escaped within quotes (e.g. '\\'My Name\\' '). To clear the new-value, enter an empty string
  • element param name for which rule needs to be applied
  • Allowed Values: [ "none", "header-value", "header-param", "uri-param", "uri-header", "uri-user", "uri-host", "uri-port", "uri-user-param", "teluri-param", "uri-display", "uri-param-name", "uri-header-name", "header-param-name", "status-code", "reason-phrase", "mime", "uri-user-only", "uri-phone-number-only" ]

404 Response

Not Found
Body ()
Root Schema : ApiValidationError
Type: object
Show Source
Nested Schema : errors
Type: array
Show Source
Nested Schema : Errors
Type: object
Show Source

406 Response

Validation Failure
Body ()
Root Schema : ApiValidationError
Type: object
Show Source
Nested Schema : errors
Type: array
Show Source
Nested Schema : Errors
Type: object
Show Source
Back to Top