The user_status
command returns user status and information.
Syntax
http://localhost:8080/extract.xsi?cmd=user_status&user=Admin&id=2
cmd |
user_status |
user |
KNM user username |
id |
ID number of user |
Returned data
A string containing user 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 user username |
Name |
Real name |
Phone |
Phone number |
Cell phone |
Cell phone number |
Address 1 |
Address field |
Address 2 |
Address field |
Scheduled status |
"Available" if user is scheduled and on duty, "n/a" if not on duty or not scheduled |
Online status |
"Online" if user is logged on to KNM |
Example
Admin | Robert | 0611-22334 | | Box 277 | 871 31 Härnösand Sweden | n/a | Online