Add a sub-element: SD.session-router.holidays
post
https://cloud-native-SBC-IP/config/v1/sd/session-router/holidays
Add a sub-element: SD.session-router.holidays
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : schema
Type:
object
list of holidays
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
date(required): string
Minimum Length:
1
Pattern:^((19)|(2[0-9]))[0-9][0-9]-((0?[1-9])|(1[0-2]))-((0?[1-9])|([1-2][0-9])|(3[0-1]))$
yyyy-mm-dd -
description: string
description
Response
Supported Media Types
- application/json
200 Response
return one sub element: Holiday
Root Schema : schema
Type:
object
list of holidays
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
date(required): string
Minimum Length:
1
Pattern:^((19)|(2[0-9]))[0-9][0-9]-((0?[1-9])|(1[0-2]))-((0?[1-9])|([1-2][0-9])|(3[0-1]))$
yyyy-mm-dd -
description: string
description
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" ]