Ermöglicht das Anmelden.
media type | data type | description |
---|---|---|
application/json | LogonEntry (JSON) | Pflichtfelder sind username und password. Fehlt logonEntry.client wird der Hauptmandant verwendet Fehlt logonEntry.localeString wird die Sprache des Hauptmandanten verwendet |
application/xml | logonEntry (XML) |
media type | data type | description |
---|---|---|
application/json | LoggedOnEntry (JSON) | null wenn die Anmeldung nicht erfolgreich war, ansonsten die Anmeldung |
application/xml;charset=UTF-8 | object |
POST /api/v1/logon
Content-Type: application/json
Accept: application/json
{
"password" : "...",
"client" : "...",
"localeString" : "...",
"username" : "..."
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"token" : "...",
"client" : "...",
"localeString" : "..."
}
media type | data type |
---|---|
application/json | LogonTenantEntry (JSON) |
application/xml | logonTenantEntry (XML) |
media type | data type | description |
---|---|---|
application/json | LoggedOnTenantEntry (JSON) | |
application/xml;charset=UTF-8 | object |
POST /api/v1/logonapp
Content-Type: application/json
Accept: application/json
{
"tenantCnr" : "...",
"password" : "...",
"client" : "...",
"localeString" : "...",
"username" : "..."
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"valid" : true,
"possibleTenants" : {
"entries" : [ {
"description" : "...",
"cnr" : "..."
}, {
"description" : "...",
"cnr" : "..."
} ]
},
"token" : "...",
"client" : "...",
"localeString" : "..."
}
Ermöglicht das Abmelden.
name | type | description |
---|---|---|
userid | query | wurde zuvor von einem "logon" ermittelt. |
GET /api/v1/logout
Content-Type: */*
...
HTTP/1.1 200 OK
name | type | description |
---|---|---|
userid | query |
media type | data type |
---|---|
application/json | ChangePasswordEntry (JSON) |
application/xml | changePasswordEntry (XML) |
POST /api/v1/password
Content-Type: application/json
{
"password" : "..."
}
HTTP/1.1 201 Created
Ermöglicht das Abmelden über die Ausweisnummer eines Personals.
name | type | description |
---|---|---|
idcard | path | Ausweisnummer des anzumeldenden Personals |
media type | data type | description |
---|---|---|
application/json | LogonIdCardEntry (JSON) | Fehlt logonEntry.client wird der Hauptmandant verwendet Fehlt logonEntry.localeString wird die Sprache des Hauptmandanten verwendet |
application/xml | logonIdCardEntry (XML) |
media type | data type | description |
---|---|---|
application/json | LoggedOnEntry (JSON) | null wenn die Anmeldung nicht erfolgreich war, ansonsten die Anmeldung |
application/xml;charset=UTF-8 | object |
POST /api/v1/logonidcard/{idcard}
Content-Type: application/json
Accept: application/json
{
"client" : "...",
"localeString" : "..."
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"token" : "...",
"client" : "...",
"localeString" : "..."
}