GET
Get holidays list from scheme
Returns list of holidays assigned to given holiday scheme.
Permissions: ADMIN USER SUPERVISOR HR
GET {jira_baseurl}/rest/vacation-manager/1.0/holiday-scheme/{schemeId}/holiday
Response: 200 404 500
Path params
Name | Type | Description |
---|---|---|
schemeId | int | scheme ID |
POST
Add holiday
Returns and creates new holiday in holiday scheme.
Permissions: ADMIN USER SUPERVISOR HR
POST {jira_baseurl}/rest/vacation-manager/1.0/holiday-scheme/{schemeId}/holiday
Responses: 200 400 404 500
Path params
Name | Type | Description |
---|---|---|
schemeId | int | scheme ID |
JSON body fields
Name | Type | Description |
---|---|---|
date | String | Holiday date. ISO 8601 format. |
yearly | Boolean | true - holiday is repeated yearly, false - holiday occurs one time, on selected date |
description | String | Holiday description |
PATCH
Update holiday
Returns and Update existing holiday.
Permissions: ADMIN USER SUPERVISOR HR
PATCH {jira_baseurl}/rest/vacation-manager/1.0/holiday-scheme/{schemeId}/holiday/{holidayId}
Responses: 200 400 404 500
Path params
Name | Type | Description |
---|---|---|
schemeId | int | scheme ID |
holidayId | int | holiday ID |
JSON body fields
Name | Type | Description |
---|---|---|
date | String | Holiday date. ISO 8601 format. |
yearly | Boolean | true - holiday is repeated yearly, false - holiday occurs one time, on selected date |
description | String | Holiday description |
DELETE
Delete holiday from scheme
Deletes existing holiday.
Permissions: ADMIN USER SUPERVISOR HR
DELETE {jira_baseurl}/rest/vacation-manager/1.0/holiday-scheme/{schemeId}/holiday/{holidayId}
Responses: 204 404 500
Path params
Name | Type | Description |
---|---|---|
schemeId | int | scheme ID |
holidayId | int | holiday ID |