Teams

Overview

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

Methods:

GET

Get list of all teams.

Path

GET {jira_baseurl}/rest/vacation-manager/1.0/team

Permissions

ADMIN USER SUPERVISOR HR

Responses

200 500

Example

 

Path
GET {jira_baseurl}/rest/vacation-manager/1.0/team

 

Request
[ { "id": 1, "name": "team 1", "description": "description 1" }, { "id": 2, "name": "team 2", "description": "description 2" }, { "id": 3, "name": "team 3", "description": "description 3" } ]

 

 

Get information about existing team members.

Path

Permissions

ADMIN USER SUPERVISOR HR


Path params

Name

Type

Description

Name

Type

Description

teamId

int

Team ID

Responses

200 404 500

 

Example

 

Path

 

Response

 

 

Get information about existing team.

Path

Permissions

ADMIN USER SUPERVISOR HR

Path params

Name

Type

Description

Name

Type

Description

teamId

int

Team ID

Responses

200 400 500

Example

 

POST 

PATCH

DELETE

 

Feel free to tell us what topic should be covered: vacationmanager@psc-software.atlassian.net