Get bell times
This call queries the SIS to get the structure of the teaching cycle, including what the bell times are on each cyclical day, how many days in the cycle, what is the name of each teaching period and where do the non-teaching timeslots appear.
Call
liss.getBellTimes(auth, TtStructure)
Parameters
auth
: See authentication
TtStructure
: string. An identifier of a TimetablingStructure object. See liss.getTimetableStructures
.
Returns
An array of structs in the same format as liss.publishBellTimes
, or an error message.
Example
Send
{
"method": "liss.getBellTimes",
"params": [
{
"School": "03014",
"UserName": "Jsmith",
"Password": "Password1",
"LissVersion": 10002,
"UserAgent": "Edval"
},
"Secondary"
],
"id": 0
}
Return
{
"result": [
{
"DayNumber": 1,
"DayName": "MonA",
"Period": "1",
"TtStructure": "Secondary",
"StartTime": "9:30",
"EndTime": "10:55",
"Type": "T"
},
{
"DayNumber": 1,
"DayName": "MonA",
"Period": "2",
"TtStructure": "Secondary",
"StartTime": "11:00",
"EndTime": "11:30",
"Type": "L"
}
],
"id": 0
}