Getting a List of Employees and Reviewers in Session
AVAILABLE WITH BUSINESS SUBSCRIPTION
GET /performance-management/appraisal/session/{sessionId}/employee-card/list
Permissions to Run the Request
Account Owner and Account Administrators
Request Headers
Header | Description |
---|---|
Authorization (required) | Access token. You can obtain a token by making a request. |
Content-Type: application/json (required) | Property for processing a request in JSON. |
Accept: application/json (required) | Property for processing a request in JSON. |
Parameter | |
sessionIds | Session ID |
Response Parameters
Parameter | Description |
employeeId | Employee ID |
reviewerIds | Reviewers ID |
Response Codes
Code | Text | Description |
---|---|---|
200 | OK | The request has been successfully processed. The response body will include a list of evaluated employees and reviewers. If there are no reviewers, an empty array "reviewerIds": [] is returned. If there are no employees to evaluate in the session or the session has been deleted, an empty array [] is returned. |
400 | Bad Request | A request error. |
401 | Unauthorized | An authorization error |
403 | Permission denied | No permission to run this request. Only the Account Owner and Account Administrators can run this request. |
404 | Session not found | The session was not found. |
Sample Request
GET /performance-management/appraisal/session/{sessionId}/employee-card/list
Host: api-learn.ispringlearn.com
Content-Type: application/json
Accept: application/json
X-Auth-Account-Url: https://myaccount.ispringlearn.com
Authorization: Bearer N3Hk5sds1_DVj1JFTqJKFWjGHf94DWp1YSffLxeZX8co
CODE
Sample Response
[
{
"employeeId": "2cfc89fc-3f66-11ef-8335-a22c7ff15e78",
"reviewerIds": []
},
{
"employeeId": "764f21ae-3f62-11ef-9d6d-a22c7ff15e78",
"reviewerIds": [
"86df01d8-b9c5-11ee-864e-260044168036"
]
},
{
"employeeId": "4a79ccb0-3f61-11ef-8398-9a931b31114f",
"reviewerIds": [
"486bbf5a-3f61-11ef-a0da-9a931b31114f",
"a7697516-3f65-11ef-af3a-a22c7ff15e78",
"86df01d8-b9c5-11ee-864e-260044168036",
"47a461b2-3f61-11ef-8aef-9a931b31114f",
"2cfc89fc-3f66-11ef-8335-a22c7ff15e78",
"47bccda6-3f61-11ef-beff-9a931b31114f",
"48097f5c-3f61-11ef-8471-9a931b31114f"
]
}
]
CODE