List of Staff
GET/staff
Fetches a list of Staff members.
Request
Query Parameters
Possible values: >= 1
Default value: 1
page number starts with 1
Possible values: >= 1
and <= 100
Default value: 10
No of items per page
Start date
End date
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 500
- application/json
- Schema
- Example (from schema)
- Successful
Schema
- Array [
- Array [
- ]
- Array [
- ]
- Array [
- ]
- ]
Status Code
meta objectrequired
Meta options for list responses
Possible values: >= 1
Default value: 1
page number starts with 1
Possible values: >= 1
and <= 100
Default value: 10
No of items per page
Start date
End date
No of records in the result set
Possible values: <= 100
No of records in the current page
No of of pages in the result set
Optional comma separated list of student fields included in the response
data object[]
Staff salutation (title + preferredName||givenName + surname)
System gender type (Male, Female, Not Stated, Other)
Staff Phone Extension
staffDepartment object[]required
List of departments the staff member is associated with
campuses object[]required
List of campuses the staff member is associated with
lookup objectnullabledeprecated
Field is deprecated and is planning to be removed, refer directly to flattened id/description/code fields instead
emailAddress object[]required
List of the staff member's email addresses
UUID of the community member's email address record
emailType object
UUID of the email address type lookup
The email address type (e.g. Personal, Occupation, Company, etc)
The community member's email address
Is this the default email address?
{
"code": "OK",
"meta": {
"page": 1,
"limit": 10,
"modifiedAfter": "2024-01-01",
"modifiedBefore": "2024-11-01",
"totalRecordCount": 1,
"pageRecordCount": 1,
"pageNumTotal": 1,
"include": "contacts,alerts,legal,medical,identity,extendedNames",
"traceContext": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
},
"data": [
{
"communityId": "b8cbd9f8-e760-48cf-a80b-eb36bfddc0fe",
"schoolId": "99",
"tenantId": "7bcf6793-8d2f-40b4-96be-62da7346c3bf",
"title": "Professor",
"salutation": "Professor Jocelyn Wright",
"givenName": "Jocelyn",
"preferredName": "Jocelyn",
"otherGivenName": "April",
"surname": "Wright",
"genderId": "e5ce905a-7525-4dd1-899d-a629ea840a35",
"gender": "Female",
"genderCode": "F",
"genderSortOrder": 1,
"genderSystemMeaning": "Female",
"birthDate": "1985-05-10",
"created": "2022-05-10T00:20:23.153Z",
"modified": "2022-05-10T00:20:23.153Z",
"schoolStaffCode": "TL",
"campusId": "c575f894-e89a-4947-ac80-d1f1c957dc00",
"roomId": "1cc6031e-8578-43c8-8a71-39bee5de2f6d",
"extension": "184",
"lookupStaffTypeId": "5e00080e-c8b2-44bd-8824-e270caf0b30f",
"staffDepartment": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"description": "string",
"code": "string"
}
],
"campuses": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"description": "string",
"code": "string"
}
],
"emailAddress": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"emailType": {},
"value": "string",
"default": true,
"sortOrder": 0
}
]
}
]
}
{
"code": "OK",
"data": [
{
"id": "41509b30-e047-4992-88c5-93ff90abb85e",
"schoolId": "99",
"tenantId": "d253818f-9f0e-4798-b682-bf73aef624f2",
"title": "Professor",
"salutation": "Professor Xiao Li",
"givenName": "Xiao",
"preferredName": "Xiao",
"otherGivenName": null,
"surname": "Li",
"genderId": "e5ce905a-7525-4dd1-899d-a629ea840a35",
"gender": "Male",
"genderCode": "M",
"genderSortOrder": 1,
"genderSystemMeaning": "Male",
"birthDate": "1985-07-24",
"created": "2022-05-10T00:20:23.153Z",
"createdId": "1cc6031e-8578-43c8-8a71-39bee5de2f6d",
"modified": "2022-05-10T00:20:23.153Z",
"modifiedId": "1cc6031e-8578-43c8-8a71-39bee5de2f6d",
"communityId": "1cc6031e-8578-43c8-8a71-39bee5de2f6d",
"schoolStaffCode": "TL",
"campusId": "1cc6031e-8578-43c8-8a71-39bee5de2f6d",
"roomId": "1cc6031e-8578-43c8-8a71-39bee5de2f6d",
"extension": "184",
"lookupStaffTypeId": "1cc6031e-8578-43c8-8a71-39bee5de2f6d",
"staffDepartment": [
{
"id": "d5d004b7-7691-42b0-bf3e-0ffdbc2028c4",
"code": "DEPT1",
"description": "Department 1"
}
],
"campuses": [
{
"lookup": {
"id": "853763ba-53d3-40be-baf3-13858b0a8807",
"code": "CMP1",
"description": "Main Campus"
},
"id": "853763ba-53d3-40be-baf3-13858b0a8807",
"code": "CMP1",
"description": "Main Campus"
}
],
"emailAddress": [
{
"id": "81312d0c-d8bd-4ec3-970a-f83d036e3ed7",
"emailType": {
"id": "49d3866a-c15a-40a1-809f-7bd03362736f",
"description": "Personal"
},
"value": "test@test.com",
"sortOrder": 1,
"default": true
}
]
}
],
"meta": {
"page": 1,
"limit": 10,
"pageRecordCount": 10,
"totalRecordCount": 11,
"pageNumTotal": 2,
"modifiedBefore": "2024-07-07T00:00:00.000Z",
"modifiedAfter": "2023-07-07T00:00:00.000Z"
}
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
errors object[]required
{
"errors": [
{
"code": "string",
"message": "string"
}
]
}
{
"errors": [
{
"code": "PA1100",
"message": "Bad Request"
}
]
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
errors object[]required
{
"errors": [
{
"code": "string",
"message": "string"
}
]
}
{
"errors": [
{
"code": "PA1101",
"message": "Unauthorized"
}
]
}
Forbidden
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
errors object[]required
{
"errors": [
{
"code": "string",
"message": "string"
}
]
}
{
"errors": [
{
"code": "PA1102",
"message": "Forbidden"
}
]
}
Resource not found
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
errors object[]required
{
"errors": [
{
"code": "string",
"message": "string"
}
]
}
{
"errors": [
{
"code": "PA1103",
"message": "Not Found"
}
]
}
Unprocessable entity
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
errors object[]required
{
"errors": [
{
"code": "string",
"message": "string"
}
]
}
{
"errors": [
{
"code": "PA1108",
"message": "Unprocessable Entity"
}
]
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
errors object[]required
{
"errors": [
{
"code": "string",
"message": "string"
}
]
}
{
"errors": [
{
"code": "PA1109",
"message": "Internal Server Error"
}
]
}