The operator_status
command returns operator status and information.
Syntax
http://localhost:8080/extract.xsi?cmd=operator_status&user=Admin&id=2
cmd |
operator_status |
user |
KNM operator username |
id |
ID number of operator |
Returned data
A string containing operator status and information, the fields are separated by a pipe sign (|
).
Format of returned data.
UserName | Name | Phone | Cell phone | Address 1 | Address 2 | Scheduled status | Online status
Username |
KNM operator username |
Name |
Real name |
Phone |
Phone number |
Cell phone |
Cell phone number |
Address 1 |
Address field |
Address 2 |
Address field |
Scheduled status |
"Available" if operator is scheduled and on duty, "n/a" if not on duty or not scheduled |
Online status |
"Online" if operator is logged on to KNM |
Example
Admin | Robert | 0611-22334 | | Box 277 | 871 31 Härnösand Sweden | n/a | Online