Skip to main content

Publish teachers

Call

liss.publishTeachers(auth, asAtDate, data)

Parameters

auth: See authentication

asAtDate: See get students

data: an array of 'teacher' objects as defined in get teachers

Returns

Nothing - an empty string "". If anything other than an error is returned it should be ignored. For error reporting see fault codes.

Example

Send

{
"method": "liss.publishTeachers",
"params": [
{
"School": "03014",
"UserName": "Jsmith",
"Password": "Password1",
"LissVersion": 10002,
"UserAgent": "Edval"
},
"20201031T00:00:00",
[
{
"TeacherId": "T621134",
"TeacherCode": "JCO",
"Title": "Mr",
"FirstName": "Collins, John",
"Surname": "Collins",
"PreferredName": "John",
"DisplayName": "John Collins",
"Faculty": "English",
"StaffType": "FullTime",
"Gender": "M",
"DaysAvailable": "Wed,Thu,Fri",
"Email": "jane.price@redlands.nsw.edu.au",
"Phone": "0418 123456",
"Guid": "A2744A55ED7449A98BCE80703DECC9E4"
}
]
],
"id": 0
}

Return

{
"result": "",
"id": 0
}