Retrieve Term Weeks
Retrieve a list of term weeks for a specified academic year, or the current academic year if no year is specified.
Content negotiation
The API will return JSON by default, but will return iCal if the request is made with a Accept: text/calendar
request header or the request URL ends with .ics
.
Permission requirements
This API is public.
Definition
GET https://tabula.warwick.ac.uk/api/v1/termdates/weeks
GET https://tabula.warwick.ac.uk/api/v1/termdates/weeks.*
GET https://tabula.warwick.ac.uk/api/v1/termdates/:academicYear/weeks
GET https://tabula.warwick.ac.uk/api/v1/termdates/:academicYear/weeks.*
URL substitution variables
:academicYear |
The academic year to get term dates for, as a 4-digit start year - e.g. for 13/14, use the string 2013 . Defaults to the current calender academic year (i.e. starting from Monday, week 1) |
---|
Request parameters
numberingSystem Optional |
The naming system for weeks, one of:
|
---|
Example request
GET https://tabula.warwick.ac.uk/api/v1/termdates/weeks
(JSON)
GET https://tabula.warwick.ac.uk/api/v1/termdates/weeks.ics
(iCal)
Response parameters
An unsuccessful response will be returned in the standard format. A successful JSON response will return the HTTP code 200 OK
and the following parameters:
success |
Boolean true |
---|---|
status |
The string "ok" |
weeks |
An array of week objects, containing the following properties:
|
Example response
{
"success": true,
"status": "ok",
"weeks": [{
"weekNumber": 1,
"start": "2015-10-05",
"end": "2015-10-11",
"name": "Term 1, week 1"
}, {
"weekNumber": 2,
"start": "2015-10-12",
"end": "2015-10-18",
"name": "Term 1, week 2"
}, ...]
}
This calendar contains events that span entire weeks with the academic week number and term name.
If you're using an external application such as Google Calendar, copy this link: Link for Google Calendar
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