3.2 Add calendar scheme
post /rest/shdsd-Timesheet/3/calWorkday
API Documentation
Add calendar scheme and associate it with the working day scheme. The newly associated scheme will be prioritized first.
The name of the newly added calendar scheme is : Calendar Scheme yyyy-MM-dd HH:mm:ss
The description is : This is an external calendar scheme.
Media type
application/json
Request example
{
"workdays": "2024-05-06,2024-05-07,2024-05-10",
"holidays": "2024-05-01,2024-05-11"
} |
Request BODY Details
Parameter | Type | Description | Required | Default Value |
---|---|---|---|---|
workdays | String | Set the dates for working days as yyyy-MM-dd, with multiple dates separated by commas. | Not required |
|
holidays | String | Set the dates for non-working days as yyyy-MM-dd, with multiple dates separated by commas. | Not required |
|
Return Example
{
"msg": "ok"
} |