get https://api.bamboohr.com/api/gateway.php//v1_1/performance/employees//goals/filters
Get the number of goals per status for an employee. Difference from Version 1: Returns goals in the closed filter and provides filter actions for each filter.
Sample Request Url
https://api.bamboohr.com/api/gateway.php/samplecompany/v1_1/performance/employees/123/goals/filters
Sample Response
{
"filters": [
{
"id": "status-inProgress",
"name": "In Progress",
"count": 2,
"actions": {
"canCloseGoal": true,
"canEditGoal": true,
"canEditGoalProgressBar": true,
"canReopenGoal": false,
"canShareGoal": true
}
},
{
"id": "status-completed",
"name": "Completed",
"count": 1,
"actions": {
"canCloseGoal": false,
"canEditGoal": true,
"canEditGoalProgressBar": true,
"canReopenGoal": false,
"canShareGoal": true
}
},
{
"id": "status-closed",
"name": "Closed",
"count": 4,
"actions": {
"canCloseGoal": false,
"canEditGoal": false,
"canEditGoalProgressBar": false,
"canReopenGoal": true,
"canShareGoal": false
}
}
]
}