Skip to main content

Get calendar

This call queries the SIS to get the date --> cycle day mapping for a particular date-range.

Call

liss.getCalendar(auth, date1, date2)

Parameters

auth: See authentication

date1: Timestamp. The start of the date range to get.

date2: Timestamp. The end of the date range to get.

Returns

An array of structs in the same format as liss.publishCalendar, or an error message.

Example

Send

{
"method": "liss.getCalendar",
"params": [
{
"School": "03014",
"UserName": "Jsmith",
"Password": "Password1",
"LissVersion": 10002,
"UserAgent": "Edval"
},
"20120630T00:00:00",
"20120730T00:00:00"
],
"id": 0
}

Return

{
"result": [
{
"Date": "20120630T00:00:00",
"DayName": "MonA",
"DayNumber": 1,
"Rotation": 2
}
],
"id": 0
}