Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

Vacation Manager's REST API provides workweek scheme API which allows you to obtain:

...

Expand
titleAssign workweek scheme to users

Assigns workweek scheme to users.

Path

Code Block
PUT {jira_baseurl}/rest/vacation-manager/1.0/vacmanuser/workweek/bulk

Permissions

Status
colourGreen
titleADMIN
 
Status
colourRed
titleUSER
 
Status
colourRed
titleSUPERVISOR
 
Status
colourGreen
titleHR

JSON body fields

NameTypeDescription
schemeId
Integer
Id of workweek scheme you want to assign to users 
userNames
Array<String>
Names of users you want to assign holiday workweek scheme to

Responses

Status
colourGreen
title200
 
Status
colourYellow
title400
 
Status
colourYellow
title404
 
Status
colourRed
title500

Example

Expand
titleExample


Code Block
titlePath
PUT {jira_baseurl}/rest/vacation-manager/1.0/vacmanuser/workweek/bulk


Code Block
titleBody
{
   "schemeId": 1,
   "userNames": ["john", "jack"]
}


Code Block
titleResponse
{  
	"userNames": [
		"john", 
		"jack"
	],
   "schemeId": 1
}



...