Replace a config element: SD.sti-response-treatment-config
put
https://cloud-native-SBC-IP/config/v1/sd/sti-response-treatment-config/{ElementKey}
Replace a config element: SD.sti-response-treatment-config
Request
Path Parameters
-
ElementKey: string
Identifier for the element
Supported Media Types
- application/json
Root Schema : schema
Type:
object
configure STI Response treatment config for STIR/SHAKEN
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
name(required): string
Minimum Length:
1
Pattern:^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
name of sti response treatment config -
sti-response-treatment-entries: array
sti-response-treatment-entries
verstat and reason code mapping for sti response
Nested Schema : sti-response-treatment-entries
Type:
array
verstat and reason code mapping for sti response
Show Source
-
Array of:
object StiResponseTreatmentEntries
list of entries of sti responses for STI Verification
Nested Schema : StiResponseTreatmentEntries
Type:
object
list of entries of sti responses for STI Verification
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
reason-code: integer
(int32)
Minimum Value:
0
Maximum Value:599
403/428/436/437/438/custom-code -
role: string
Allowed Values:
[ "STI-VS" ]
-
sip-reason-code: integer
(int32)
Minimum Value:
0
Maximum Value:699
reason code should be in range of 4xx-6xx -
sip-reason-text: string
sip reason text can be any valid string, that is included in the final response
-
verstat(required): string
Minimum Length:
1
Pattern:^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
The possible values are 'No-TN-Validation', 'TN-Validation-Passed', 'TN-Validation-Failed' or any custom string.
Response
Supported Media Types
- application/json
200 Response
return one config element: StiResponseTreatmentConfig
Root Schema : schema
Type:
object
configure STI Response treatment config for STIR/SHAKEN
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
name(required): string
Minimum Length:
1
Pattern:^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
name of sti response treatment config -
sti-response-treatment-entries: array
sti-response-treatment-entries
verstat and reason code mapping for sti response
Nested Schema : sti-response-treatment-entries
Type:
array
verstat and reason code mapping for sti response
Show Source
-
Array of:
object StiResponseTreatmentEntries
list of entries of sti responses for STI Verification
Nested Schema : StiResponseTreatmentEntries
Type:
object
list of entries of sti responses for STI Verification
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
reason-code: integer
(int32)
Minimum Value:
0
Maximum Value:599
403/428/436/437/438/custom-code -
role: string
Allowed Values:
[ "STI-VS" ]
-
sip-reason-code: integer
(int32)
Minimum Value:
0
Maximum Value:699
reason code should be in range of 4xx-6xx -
sip-reason-text: string
sip reason text can be any valid string, that is included in the final response
-
verstat(required): string
Minimum Length:
1
Pattern:^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
The possible values are 'No-TN-Validation', 'TN-Validation-Passed', 'TN-Validation-Failed' or any custom string.
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" ]