Endpoint example: Add new Series
Path
To create a new Series, send a POST request to the path /api/modules/{moduleId}/series.
As a series is added within a module, the moduleId must be placed in the path as indicated above. A list of all modules can be retrieved from the API, but it's easier to select a single item via the Web App by navigating to the required module and looking in the URL.
For example, a url that contains this querysting: ?tripos=123&part=456&module=789&series=000 has the moduleId of 789 - the start of the value is prefixed by module= and the end by & (or the end of the url).
Therefore, to create a new series for that module, you would post to the URL /api/modules/789/series
Headers
Ensure you include the Authorization header, as described in Authenticate an API request.
Body
To create a new series, use include the following properties:
{
"displayName": "Maths 101",
"description": "Maths series"
}
Example request
POST https://2025-26.timetable.cam.ac.uk/api/modules/789/series
Content-Type: application/json
Authorization: Bearer {YOUR_TOKEN_VALUE}`
{
"displayName": "Maths 101",
"description": "Maths series"
}