Specific timetable (desktop) (MTT 3.5+)
To create a link to one or more timetables, use the URL <MyTimetable root URL>/link
with one or more query parameters indicating the timetable. A link can be created by host key value or by internal MyTimetable identifier. This form of linking is available since MyTimetable 3.5 and is the preferred way of creating a link to a timetable.
Timetables are specified using indexed query parameters. The timetable for index 0
can be specified using query parameters starting with 'timetables.0.
', the second starts with 'timetables.1.
', et cetera. In case only 1 timetable needs to be displayed, a short-hand notation is available in the form of 'timetable.
'.
To create a link by host key value, specify the following query parameters, replacing x
by the index value:
Parameter name | Parameter meaning |
---|---|
| The host key of the timetable to display. This value is required. |
| The type of timetable(s) to display. The available types are customer specific. Please ask our support department for the types applicable to your situation or get a list of type names through the API. |
| The timetable source to search. This value is optional, if it is not specified all timetable sources will be searched. |
| The host key of the option to select for this timetable. This value is optional. Can be specified multiple times to select multiple options. |
To create a link based on the internal MyTimetable identifier, specify the following query parameters, replacing x
by the index value:
Parameter name | Parameter meaning |
---|---|
| The MyTimetable identifier of the timetable to display. This value is required. |
| The MyTimetable identifier of the option to select for this timetable. This value is optional. Can be specified multiple times to select multiple options. |
For both scenarios, some additional options are available to alter the display of the found timetables. These are:
Parameter name | Parameter meaning |
---|---|
|
|
|
|
|
|
| Selects the view to display, one of the following values:
|
| Locale to use, short 2 letter notation ( |
|
|
| Date to start the calendar at, format |
|
|
| Chooses the concurrency highlighting option in the list view: (MyTimetable 3.1+)
|
|
|
| Host key of the term or named availability to pre-select in the list view (MyTimetable 3.1+). Prefix with < |
|
|
Some sample links:
Show one timetable, of type module, from all timetable sources, identified by host key 'Math813': https://mytimetable_root_url/link?timetable.key=Math813&timetable.type=module
Show two timetables, of type module and pos, from specific timetable sources: https://mytimetable_root_url/link?timetables.0.key=Math813&timetables.0.type=module&timetables.0.source=2017&timetables.1.key=CivilEngineeringYr1&timetables.1.type=pos&timetables.1.source=2018
Show a timetable, based on MyTimetable identifier, with two specific options selected: https://mytimetable_root_url/link?timetable.id=2017!module!AFF1231231DD23123123&timetable.optionId=84D9184F293