Publish rooms
Call
liss.publishRooms(auth, asAtDate, data)
Parameters
auth
: See authentication
asAtDate
: See get students
data
: an array of 'room' objects as defined in get rooms
Returns
Nothing - an empty string ""
. If anything other than an error is returned it should be ignored. For error reporting see fault codes.
Semantics
This is a 'push' version of the above. Each element of 'data' is a struct with the same definition as above. This method is less commonly used than getRooms()
because it's more common for the TS to be requesting room data from the SIS.
Example
Send
{
"method": "liss.publishRooms",
"params": [
{
"School": "03014",
"UserName": "Jsmith",
"Password": "Password1",
"LissVersion": 10002,
"UserAgent": "Edval"
},
"20201031T00:00:00",
[
{
"RoomId": "46217",
"RoomCode": "C3",
"Name": "C3",
"Capacity": 29,
"Campus": "Cremmorne",
"Comment": "Hearing loop enabled"
}
]
],
"id": 0
}
Return
{
"result": "",
"id": 0
}