media type | data type |
---|---|
application/json | HvmaLogonEntry (JSON) |
application/xml | hvmaLogonEntry (XML) |
media type | data type | description |
---|---|---|
application/json | LoggedOnHvmaEntry (JSON) | |
application/xml;charset=UTF-8 | object |
POST /api/v1/hvma/logon
Content-Type: application/json
Accept: application/json
{
"licence" : "Online",
"resource" : "...",
"password" : "...",
"client" : "...",
"localeString" : "...",
"username" : "..."
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"resource" : "...",
"token" : "...",
"client" : "...",
"localeString" : "..."
}
name | type | description |
---|---|---|
hvtoken | header | |
userid | query |
media type | data type | description |
---|---|---|
application/json | HvmaParamEntryList (JSON) | |
application/xml;charset=UTF-8 | object |
GET /api/v1/hvma/param
Content-Type: */*
Accept: application/json
hvtoken: ...
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"entries" : [ {
"category" : "...",
"value" : "...",
"cnr" : "..."
}, {
"category" : "...",
"value" : "...",
"cnr" : "..."
} ],
"rowCount" : 12345
}
Die Liste der verfügbaren HVMARechte ausgeben
name | type | description |
---|---|---|
hvtoken | header | |
licenceCnr | query | ist optional. Ist der Parameter angegeben, werden die im System verfügbaren HVMA-Rechte für die angegebene Lizenz ermittelt. Ist der Parameter nicht angegeben, werden die HVMA-Rechte des angemeldeten HVMA-Benutzers ausgegeben. |
userid | query | ist der angemeldete Benutzer |
media type | data type | description |
---|---|---|
application/json | HvmarechtEnumEntryList (JSON) | eine (leere) Liste der verfügbaren HVMA-Rechte |
application/xml;charset=UTF-8 | object |
GET /api/v1/hvma/privilege
Content-Type: */*
Accept: application/json
hvtoken: ...
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"entries" : [ "DarfAuftragsKopfZeitBuchen", "Packliste" ],
"rowCount" : 12345
}