Terminologieserver - Authorization - Login
Aus Termserver-CTS2
Version vom 22. Juli 2014, 07:27 Uhr von Muetzner (Diskussion | Beiträge)
zurück zur Webservice-Übersicht
Inhaltsverzeichnis |
Request/Response
Request
Level | Parameter | Typ | Länge | Kardinalität | Beschreibung |
---|---|---|---|---|---|
1 | LoginType | LoginType | 1..1 | Login information | |
2 | password | String | 1..1 | The password must be given as a MD5 value. | |
2 | username | String | 1..1 | the username |
Response
Level | Parameter | Typ | Länge | Kardinalität | Beschreibung |
---|---|---|---|---|---|
1 | ReturnType | ReturnType | 1..1 | Return information | |
2 | message | String | 1..1 | an additional message | |
2 | overallErrorCategory | 1..1 | INFO, WARN, ERROR | ||
2 | status | 1..1 | OK, FAILURE | ||
1 | LoginType | LoginType | 1..1 | Login information | |
2 | sessionID | String | 1..1 | The Session-ID is required for all services which manipulate data in the terminology server. It is also required to retrieve code systems with licences. | |
2 | username | String | 1..1 | the username | |
1 | termUser | term_user | 1..1 | Every user of the terminolgy server. User are needed for code system with licenses code system and for the insertion of new content. | |
2 | id | Long | 1..1 |
Beispiele
SOAP
Login with username/password method
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:aut="http://authorization.ws.terminologie.fhdo.de/"> <soapenv:Header/> <soapenv:Body> <aut:Login> <parameter>user</parameter> <parameter>098f6bcd4621d373cade4e832627b4f6</parameter> </aut:Login> </soapenv:Body> </soapenv:Envelope>