Replace a config element: SD.session-translation
put
https://cloud-native-SBC-IP/config/v1/sd/session-translation/{ElementKey}
Replace a config element: SD.session-translation
Request
Path Parameters
-
ElementKey: string
Identifier for the element
Supported Media Types
- application/json
Root Schema : schema
Type:
object
configure translation rules for calling and called numbers
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
id(required): string
Minimum Length:
1
identifier/name of the session translation -
rules-asserted-id: array
rules-asserted-id
Manipulates the SIP P-Asserted-Id header
-
rules-called: array
rules-called
list of <called translation rule name>
-
rules-calling: array
rules-calling
list of <calling translation rule name>
-
rules-history-info: array
rules-history-info
Manipulates the SIP History-Info headers
-
rules-isup-cdpn: array
rules-isup-cdpn
Manipulates the ISUP Called Party Number parameter
-
rules-isup-cgpn: array
rules-isup-cgpn
Manipulates the ISUP Calling Party Number parameter
-
rules-isup-gn: array
rules-isup-gn
Manipulates the ISUP Generic Number parameter
-
rules-isup-ocn: array
rules-isup-ocn
list of IsupOcn < translation rule name>
-
rules-isup-rdn: array
rules-isup-rdn
Manipulates the ISUP Redirecting and Original Called Number parameters
-
rules-redirect: array
rules-redirect
Manipulates the SIP Diversion headers
Nested Schema : rules-isup-cdpn
Type:
array
Manipulates the ISUP Called Party Number parameter
Show Source
Nested Schema : rules-isup-cgpn
Type:
array
Manipulates the ISUP Calling Party Number parameter
Show Source
Nested Schema : rules-isup-rdn
Type:
array
Manipulates the ISUP Redirecting and Original Called Number parameters
Show Source
Response
Supported Media Types
- application/json
200 Response
return one config element: SessionTranslation
Root Schema : schema
Type:
object
configure translation rules for calling and called numbers
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
id(required): string
Minimum Length:
1
identifier/name of the session translation -
rules-asserted-id: array
rules-asserted-id
Manipulates the SIP P-Asserted-Id header
-
rules-called: array
rules-called
list of <called translation rule name>
-
rules-calling: array
rules-calling
list of <calling translation rule name>
-
rules-history-info: array
rules-history-info
Manipulates the SIP History-Info headers
-
rules-isup-cdpn: array
rules-isup-cdpn
Manipulates the ISUP Called Party Number parameter
-
rules-isup-cgpn: array
rules-isup-cgpn
Manipulates the ISUP Calling Party Number parameter
-
rules-isup-gn: array
rules-isup-gn
Manipulates the ISUP Generic Number parameter
-
rules-isup-ocn: array
rules-isup-ocn
list of IsupOcn < translation rule name>
-
rules-isup-rdn: array
rules-isup-rdn
Manipulates the ISUP Redirecting and Original Called Number parameters
-
rules-redirect: array
rules-redirect
Manipulates the SIP Diversion headers
Nested Schema : rules-isup-cdpn
Type:
array
Manipulates the ISUP Called Party Number parameter
Show Source
Nested Schema : rules-isup-cgpn
Type:
array
Manipulates the ISUP Calling Party Number parameter
Show Source
Nested Schema : rules-isup-rdn
Type:
array
Manipulates the ISUP Redirecting and Original Called Number parameters
Show Source
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" ]