telmax.fd.system.sebra – Mangler kobling til dokumentasjonskategorier, bruker kobling til system istedenfor
get_info – Returns info (email, tlf, mobile, name) for all or some users. If username is given as input, returns only one if it exi ➠
GET https://telmax.fd.uib.no/get_info/{scope}/{username}
scope | scope some: username is set in db, all: return all regardless if username is set or not | |
username | username |
response
200 OKContent-Type: text/xml
<data timeToLiveSeconds="..."> <info> <recnum>...</recnum> <id>...</id> <tlf>...</tlf> <mobil>...</mobil> <epost>...</epost> <navn>...</navn> </info> </data>
TimeToLive: 0 (seconds in caches)
Examples
Beskrivelsetekst mangler https://telmax.fd.uib.no/get_info/some/foo
<?xml version="1.0"?> <data timeToLiveSeconds="0"> <info> <recnum>1</recnum> <id>foo</id> <tlf>123456</tlf> <mobil>12345678</mobil> <epost>foo@uib.no</epost> <navn>Bar, Foo</navn> </info> </data>
update_info – If recnum exists update username, email in telmax, returns tlf, mobil and old username and email ➠
GET https://telmax.fd.uib.no/update_info/{recnum}/{username}/{email}
recnum | recnum uniq key | |
username | brukernavn | |
epostadresse |
response
200 OKContent-Type: text/xml
<update_info timeToLiveSeconds="..."> <id>...</id> <tlf>...</tlf> <mobil>...</mobil> <epost>...</epost> </update_info>
TimeToLive: 0 (seconds in caches)
Examples
Beskrivelsetekst mangler https://telmax.fd.uib.no/update_info/1/foo/foo@uib.no
<?xml version="1.0"?> <update_info timeToLiveSeconds="0"> <id>oldfoo</id> <tlf>123456</tlf> <mobil>12345678</mobil> <epost>oldfoo@uib.no</epost> </update_info>