[REST 1.1] Statistics
GET
Get instances statistics by logged user
Returns instances statistics for logged user
Permissions: ADMIN USER SUPERVISOR HR
GET {jira_baseurl}/rest/vacation-manager/1.0/statistics/user?startDate=ISO_DATE&endDate=ISO_DATE
Responses: 200 500
Query params
Name | Type | Description |
---|---|---|
startDate | String | Start date. ISO 8601 format |
startDate | String | End date. ISO 8601 format |
Get instances statistics by user
Returns instances statistics for a given user. HR and Admin can get statistics for any user. Supervisor can get statistics for their subordinates. Regular users can get only their statistics.
Permissions: ADMIN USER SUPERVISOR HR
Responses: 200 500
Path param
Name | Type | Description |
---|---|---|
userName | String | User Name |
Query params
Name | Type | Description |
---|---|---|
startDate | String | Start date. ISO 8601 format |
startDate | String | End date. ISO 8601 format |
Get instances statistics by vacation type
Returns instances statistics for a given vacation type.
Permissions: ADMIN USER SUPERVISOR HR
Responses: 200 500
Path param
Name | Type | Description |
---|---|---|
vacationTypeId | int | Vacation type ID |
Query params
Name | Type | Description |
---|---|---|
startDate | String | Start date. ISO 8601 format |
startDate | String | End date. ISO 8601 format |
Feel free to tell us what topic should be covered: vacationmanager@psc-software.atlassian.net