List relationship agents in department
This endpoint finds staff members known to Tabula who act as the provided relationship agent with at least one student in a given department. The "agent" is e.g. the tutor, or supervisor to a student.
Inactive members will be filtered out at query time.
Permission requirements
The user must have Permissions.Profiles.StudentRelationship.Read
("View a student relationship") on the department.
Information about API permissions
Definition
GET https://tabula.warwick.ac.uk/api/v1/relationships/agents/:dept/:studentRelationshipTypeId
URL substitution variables
:dept |
The department code to find agents within. You must have the relevant permission on this department. |
---|---|
:studentRelationshipTypeId |
The required relationship type's urlPart , e.g. tutor . Valid types are available via API request: GET /v1/relationships. |
Example request
GET https://tabula.warwick.ac.uk/api/v1/relationships/agents/cs/tutor
Response parameters
An unsuccessful response will be returned in the standard format. A successful response will return the HTTP code 200 OK
and the following parameters:
success |
Boolean true |
---|---|
status |
The string "ok" |
agents |
Array of matching agents, with keys for , and . |
Example response
{
"success":true,
"status":"ok",
"agents":[
{
"firstName": "Reynard",
"lastName": "Fox",
"universityId": "1234567"
}
]
}
Tabula API Methods
- Overview
- The Member object
- The StudentCourseDetails object
- The StudentCourseYearDetails object
- The StudentRelationship object
- The Student RelationshipType object
- The ModuleRegistration object
- Retrieve a member
- Retrieve multiple members
- Retrieve a member's relationships
- List relationship agents in dept.
- Search for members