Get classes

This call mirrors liss.publishClasses().

Call

liss.getClasses(auth)

Parameters

auth: See authentication

Returns

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

Example

Send

{
"method": "liss.getClasses",
"params": [
{
"School": "03014",
"UserName": "Jsmith",
"Password": "Password1",
"LissVersion": 10002,
"UserAgent": "Edval"
}
],
"id": 0
}

Return

{
"result": [
{
"ClassCode": "7MAT 1",
"CourseName": "7 Mathematics",
"DefaultTeacher": "762346J",
"Type": "Duty",
"TtStructure": "2012Junior",
"StartDate": "20130203T0:00:00",
"EndDate": "20130614T23:59:00",
"Colour": "0000FF",
"Form": "6",
"Faculty": "Science",
"Rotations": "12",
"PriorityInClash": "9",
"Guid": "A2744A55ED7449A98BCE80703DECC9E4"
}
],
"id": 0
}