sebra.sws – persons and places exposed as XML via HTTP
persons – list users
GET http://sebra.uib.no/sws/persons?type={type}&placeid={placeid}
type | {staff, extern, student} | |
placeid | number |
response
200 OKContent-Type: text/xml
...
Get a list of persons of a specific type from a specific place
Where type:
- staff
- extern
- student
Where place is a number of either:
- 2 digits eg. 12 (faculty 12)
- 4 digits eg. 1211 (faculty 12, department 11)
- 6 digits eg. 121208 (faculty 12, department 12, division 08)
Examples
- Get all persons of all types from all places
- Get all persons of all types from 1212
- Get all persons of type staff from all places
- Get all persons of type affiliated from all places
- Get all persons of type student from all places
- Get all persons of type staff from 1212
- Get all persons of type affiliated from 1212
- Get all persons of type student from 1212