Creates Out Of Office Record
post
/process/api/v1/user-configurations/out-of-office
Creates an Out Of Office record.
Request
Header Parameters
-
Accept-Language:
Accept-Language header in IETF BCP 47
-
oci-original-url:
Actual endpoint which customer requested
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object
-
endDate(required): string
The end date of the Out Of Office in the format yyyy-MM-dd'T'HH:mm:ss, Note - Hours, Minutes and Seconds are not supported.
-
startDate(required): string
The start date of the Out Of Office in the format yyyy-MM-dd'T'HH:mm:ss, Note - Hours, Minutes and Seconds are not supported.
-
taskAction(required): array
taskAction
Minimum Number of Items:
1
Maximum Number of Items:1
Currently one action is supported. -
user-id: string
The id of the user for whom Out Of Office need to be created. Its an optional property. It gets honoured only when Admin user try to create Out Of Office for other user.
Nested Schema : taskAction
Type:
array
Minimum Number of Items:
1
Maximum Number of Items:
1
Currently one action is supported.
Show Source
Nested Schema : OutOfOfficeTaskAction
Type:
Show Source
object
-
actionType(required): string
Allowed Values:
[ "REASSIGN" ]
The action needs to be performed during Out Of Office. -
comment(required): string
The comment for this Out Of Office configuration which will be used for the task action operation at runtime.
-
identities(required): array
identities
Minimum Number of Items:
1
Maximum Number of Items:1
Nested Schema : identities
Type:
array
Minimum Number of Items:
1
Maximum Number of Items:
Show Source
1
Nested Schema : Identity-allOf[1]
Type:
Show Source
object
-
type: string
Allowed Values:
[ "USER", "GROUP", "ROLE" ]
Examples
Back to Top
Response
Supported Media Types
- application/json
200 Response
Successful operation
Root Schema : OutOfOfficeConfiguration
Type:
Show Source
object
-
createdBy:
User
-
createdDate: string
(date)
The time the Out Of Office was created in the format yyyy-MM-dd'T'HH:mm:ss.
-
endDate: string
(date)
The end date of the Out Of Office in the format yyyy-MM-dd'T'HH:mm:ss, Note - Hours, Minutes and Seconds are not supported.
-
id: string
-
lastUpdatedBy:
User
-
lastUpdatedDate: string
(date)
The time the Out Of Office was last updated in the format yyyy-MM-dd'T'HH:mm:ss.
-
startDate: string
(date)
The start date of the Out Of Office in the format yyyy-MM-dd'T'HH:mm:ss, Note - Hours, Minutes and Seconds are not supported.
-
taskAction: array
taskAction
Minimum Number of Items:
1
Maximum Number of Items:1
Current one action is supported. -
user:
User
Match All
Show Source
Nested Schema : taskAction
Type:
array
Minimum Number of Items:
1
Maximum Number of Items:
1
Current one action is supported.
Show Source
Nested Schema : OutOfOfficeTaskAction
Type:
Show Source
object
-
actionType(required): string
Allowed Values:
[ "REASSIGN" ]
The action needs to be performed during Out Of Office. -
comment(required): string
The comment for this Out Of Office configuration which will be used for the task action operation at runtime.
-
identities(required): array
identities
Minimum Number of Items:
1
Maximum Number of Items:1
Nested Schema : identities
Type:
array
Minimum Number of Items:
1
Maximum Number of Items:
Show Source
1
Nested Schema : Identity-allOf[1]
Type:
Show Source
object
-
type: string
Allowed Values:
[ "USER", "GROUP", "ROLE" ]
Nested Schema : Link
Type:
object
Defines Link
Show Source
-
code: integer
Minimum Value:
100
Maximum Value:600
-
href(required): string
-
hreflang: string
-
length: integer
(int32)
-
mediaType: string
-
message: string
-
rel(required): string
-
title: string
-
type: string
400 Response
Returned if some of the query parameters are invalid
401 Response
Unauthorized
429 Response
Too Many Requests
500 Response
Internal Server Error
503 Response
Too Many Exceptions or Too Slow Requests