Docs
Get Members
GET /departments/{departmentId}/members
GET
/departments/{departmentId}/membersLists a department's members: each crew record's member id, crew id, name, email, title and connected user id, and whether the record is a vendor-supplied head (isVendorSupplied) and archived (isArchived), so a roster needs no OrgCrew_GetCrew join. Members need not have an account. Removed members are left out. Needs Department.View on the department (members of the department hold it). Use Organizations_GetDepartments to find a departmentId.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| departmentId | uuid | Required |
Response
Type: GetDepartmentMemberResponse[]
GetDepartmentMemberResponse
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| crewId | uuid | |
| firstName | string| null | |
| lastName | string| null | |
| string| null | ||
| title | string| null | |
| connectedUserId | uuid| null | |
| isVendorSupplied | boolean | |
| isArchived | boolean |