Skip to main content

Publish students

This call is used less frequently than liss.getStudents(). The reason is that typically, the server is the source of truth for student data, not the satellite system. However, if the SIS is installed in the school and is contacting a web-based satellite system outside the school, then you'd typically want to push the students rather than pull them.

Call:

liss.publishStudents(auth, asAtDate, students)

Parameters:

auth: See authentication

asAtDate: See get students

students: an array of 'student' objects as defined in get students

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.publishStudents",
"params": [
{
"School": "03014",
"UserName": "Jsmith",
"Password": "Password1",
"LissVersion": 10002,
"UserAgent": "Edval"
},
"20201031T00:00:00",
[
{
"StudentId": "28722004",
"FirstName": "John",
"Surname": "Brown",
"PreferredName": "Johnnie",
"Form": "7A",
"RollGroup": "7A",
"House": "Slitherin",
"Gender": "M",
"StatewideId": "7219330187",
"Email": "jimmy.smith@education.gov.nsw.au",
"Phone": "0418 123456",
"Guid": "A2744A55ED7449A98BCE80703DECC9E4",
"StartDate": "20201031T00:00:00",
"EndDate": "20201214T00:00:00"
}
]
],
"id": 0
}

Return

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