Coronavirus (Covid-19): Latest updates and information
Skip to main content Skip to navigation

Retrieve multiple Members

Retrieve information about more than one person (staff or student) in one request.

Permission requirements

The user must have Permissions.Profiles.Read.Core ("View a member's name, Warwick email, job title and University number") on each requested member to get the most basic information. By default, every University member, staff and student has this permission globally, as does any student's relationship agent, past or present and route auditors on the student's past or present route.

For each requested member, the user must also meet one of the following:

  • The user is viewing information about themselves; or
  • The user is a member of staff; or
  • The information being retrieved is a member of staff; or
  • The department code of the user matches the department of the member; or
  • The user has Permissions.Profiles.Read.CoreCrossDepartment ("View profiles for any department") on the member.

The information you retrieve will depend on your permissions on the particular member. The Member object includes a table showing what permission is required for which information.

Information about API permissions

Definition

GET https://tabula.warwick.ac.uk/api/v1/memberProfiles

Request parameters

fields Optional A comma-separated list of fields to return from the API. Restricting which fields are returned greatly improves the performance of the API. Example: member.universityId,member.fullName,member.termtimeAddress.line1
members The 7-digit university ID of a member to retrieve. Can be included in the request multiple times.

Example request

GET https://tabula.warwick.ac.uk/api/v1/memberProfiles?members=1234567&members=7654321

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"
members.<universityId> A member object

Example response

{
"success": true,
"status": "ok",
"members": {
"1234567": {
"universityId": "1234567",
"title": "Mr",
"firstName": "Staff",
"fullFirstName": "Staff",
"lastName": "Member",
"officialName": "Mr Staff Member",
"homeDepartment": {
"code": "in",
"name": "IT Services"
},
"affiliatedDepartments": [{
"code": "in",
"name": "IT Services"
}],
"touchedDepartments": [{
"code": "in",
"name": "IT Services"
}],
"email": "Staff.Member@warwick.ac.uk",
"fullName": "Staff Member",
"groupName": "University Staff",
"inUseFlag": "Active",
"userType": "Staff"
},
"7654321": { ... }
}
}

Tabula API Methods