These endpoints will return information about managers and their direct reports.
Author - Manager Direct Reports API
Interfaces
List direct reports
GET
/api/author/managers/:manager_id/direct_reports
Direct reports are listed 20 per response with the next group available
via the next
URL in the meta
object.
Response Codes
200 OK
404 Not Found
If manager id does not reference a manager
Parameters
-
manager_id
String
Required
The manager’s id.
Example Response
{
"meta": {
"next": "https://example.bridgeapp.com/api/author/managers/1?after=afdsajkf3er32fsjfkdsa"
},
"manager_id": "1",
"direct_reports_count": 21,
"direct_reports": [
{
"id": "2",
"uid": "gexemplar",
"hris_id": "123456",
"first_name": "George",
"last_name": "Exemplar",
"full_name": "George A Exemplar",
"sortable_name": "Exemplar, George A",
"email": "gexemplar@example.com",
"locale": "en",
"roles": [],
"name": "George Exemplar",
"avatar_url": "https://www.example.com/pictures/gexemplar.jpeg",
"updated_at": "2016-12-03T08:48:01.944-07:00",
"deleted_at": null,
"unsubscribed": null,
"welcomed_at": "2015-06-18T10:40:09.097-06:00",
"logged_in_at": "2016-12-03T08:48:01.930-07:00",
"hire_date": "2014-04-24T16:00:00.000-07:00",
"is_manager": false,
"job_title": "Widget Designer"
}
]
}
Interfaces
List direct reports
GET
/api/author/managers/:manager_id/direct_reports
Direct reports are listed 20 per response with the next group available
via the next
URL in the meta
object.
Response Codes
200 OK
404 Not Found
If manager id does not reference a manager
Parameters
-
manager_id
String RequiredThe manager’s id.
Example Response
{ "meta": { "next": "https://example.bridgeapp.com/api/author/managers/1?after=afdsajkf3er32fsjfkdsa" }, "manager_id": "1", "direct_reports_count": 21, "direct_reports": [ { "id": "2", "uid": "gexemplar", "hris_id": "123456", "first_name": "George", "last_name": "Exemplar", "full_name": "George A Exemplar", "sortable_name": "Exemplar, George A", "email": "gexemplar@example.com", "locale": "en", "roles": [], "name": "George Exemplar", "avatar_url": "https://www.example.com/pictures/gexemplar.jpeg", "updated_at": "2016-12-03T08:48:01.944-07:00", "deleted_at": null, "unsubscribed": null, "welcomed_at": "2015-06-18T10:40:09.097-06:00", "logged_in_at": "2016-12-03T08:48:01.930-07:00", "hire_date": "2014-04-24T16:00:00.000-07:00", "is_manager": false, "job_title": "Widget Designer" } ] }