sebra.sws – persons and places exposed as XML via HTTP

staff – look up extra information about employees of UiB

GET http://sebra.uib.no/sws/staff?id={id}
id string user account id
user found
200 OK
Content-Type: text/xml
<staff>
<id>...</id>
<name>...</name>
<place>...</place>
...
</staff>
user not found
200 OK
Content-Type: text/plain
No data

Examples:

GET http://sebra.uib.no/sws/staff?id=gaa041 returns the following:

HTTP/1.1 200 OK
Connection: Keep-Alive
Date: Fri, 18 Jun 2010 11:30:52 GMT
Server: Apache/2.2.11 (Unix) mod_python/3.3.1 Python/2.6.1 mod_ssl/2.2.11 OpenSSL/0.9.7d
Content-Type: text/xml
Keep-Alive: timeout=5, max=100

<?xml version="1.0" encoding="iso-8859-1"?>
<staff>    <id>gaa041</id>
    <name>Gisle Aas</name>
    <firm>760</firm>
    <place>221000</place>
    <code>1087</code>
    <title>Overingeni\xF8r</title>
    <title_english>Chief Engineer</title_english>
    <pct>100.0</pct>
</staff>\n

GET http://sebra.uib.no/sws/staff?id=none returns the following:

HTTP/1.1 200 OK
Connection: Keep-Alive
Date: Fri, 18 Jun 2010 11:30:52 GMT
Server: Apache/2.2.11 (Unix) mod_python/3.3.1 Python/2.6.1 mod_ssl/2.2.11 OpenSSL/0.9.7d
Content-Type: text/plain
Keep-Alive: timeout=5, max=100

No data