Replace a sub-element: SD.sti-header-mapping-ruleset.mapping-rules

put

https://cloud-native-SBC-IP/config/v1/sd/sti-header-mapping-ruleset/{ElementKey}/mapping-rules/{ElementKeySE}

Replace a sub-element: SD.sti-header-mapping-ruleset.mapping-rules

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
list of SIP and HTTP header mapping rules
Show Source
  • Read Only: true
    Identifier for the element or sub-element
  • Allowed Values: [ "outbound", "inbound" ]
  • Minimum Length: 1
    Pattern: ^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
    unique identifier for the mapping rule
  • Allowed Values: [ "STI-AS", "STI-VS" ]
  • Pattern: ^$|^[A-Za-z0-9@.!%*_+`'~-]+(\[(([0-9]+)|([~^]))\])?$
    name of the SIP or HTTP header to be picked from the ingress INVITE or HTTP response
  • Pattern: ^$|^[A-Za-z0-9@.!%*_+`'~-]+(;.+)?$
    SIP or HTTP header param based on the source header. If source-header is empty, this should be a key in HTTP body JSON claim
  • Pattern: ^$|^[A-Za-z0-9@.!%*_+`'~-]+(\[(([0-9]+)|([~^]))\])?$
    name of the SIP or HTTP header to be added or modified to the egress INVITE or the HTTP request
  • Pattern: ^$|^[A-Za-z0-9@.!%*_+`'~-]+(;.+)?$
    SIP or HTTP header param based on target header. If target-header is empty, this should be a key in HTTP body JSON claim
Back to Top

Response

Supported Media Types

200 Response

return one sub element: StiHeaderMappingRules
Body ()
Root Schema : schema
Type: object
list of SIP and HTTP header mapping rules
Show Source
  • Read Only: true
    Identifier for the element or sub-element
  • Allowed Values: [ "outbound", "inbound" ]
  • Minimum Length: 1
    Pattern: ^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
    unique identifier for the mapping rule
  • Allowed Values: [ "STI-AS", "STI-VS" ]
  • Pattern: ^$|^[A-Za-z0-9@.!%*_+`'~-]+(\[(([0-9]+)|([~^]))\])?$
    name of the SIP or HTTP header to be picked from the ingress INVITE or HTTP response
  • Pattern: ^$|^[A-Za-z0-9@.!%*_+`'~-]+(;.+)?$
    SIP or HTTP header param based on the source header. If source-header is empty, this should be a key in HTTP body JSON claim
  • Pattern: ^$|^[A-Za-z0-9@.!%*_+`'~-]+(\[(([0-9]+)|([~^]))\])?$
    name of the SIP or HTTP header to be added or modified to the egress INVITE or the HTTP request
  • Pattern: ^$|^[A-Za-z0-9@.!%*_+`'~-]+(;.+)?$
    SIP or HTTP header param based on target header. If target-header is empty, this should be a key in HTTP body JSON claim

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