- Home
- Resources
- Other
DELETE /objecthistory/json
Request Body
media type |
data type |
*/* |
object
|
Response Body
media type |
data type |
description |
application/json |
object
|
|
GET /objecthistory/json
Response Body
media type |
data type |
description |
application/json |
object
|
|
POST /objecthistory/json
Request Body
media type |
data type |
*/* |
object
|
Response Body
media type |
data type |
description |
application/json |
object
|
|
PUT /objecthistory/json
Request Body
media type |
data type |
*/* |
object
|
Response Body
media type |
data type |
description |
application/json |
object
|
|
GET /admin/presentationsets/json
Return all presentation sets with it's assigned identities (users,
groups)
Response Body
media type |
data type |
description |
application/json |
object
|
List of presentation sets
Example of response:
{"list":[{"id":"1","name":"setname1","isDefault":false,"identities":[{"name":"user","id":"1","type":"user"}]},{"id":"2","name":"setname2","isDefault":false,"identities":[{"name":"group","id":"2","type":"group"}]}]}
|
POST /admin/presentationsets/json
Add new presentation set
Example of request:
{"name":"presentationSetName","description":"presentationSetDescription"}
Request Body
media type |
data type |
application/json |
object
|
Response Body
media type |
data type |
description |
application/json |
object
|
JSON with information, whether the operation has or has not
been succeeded. |
DELETE /admin/presentationsets/{setId}
Remove presentation set
Request Parameters
name |
type |
description |
default |
constraints |
setId |
path |
ID of set |
|
long |
Response Body
media type |
data type |
description |
application/json |
object
|
JSON Response with information, whether the removing has or has not
been succeeded. |
POST /admin/presentationsets/assign/{setId}
Assign user or group to given Presentation Set
Request Parameters
name |
type |
description |
default |
constraints |
setId |
path |
ID of set |
|
long |
Request Body
media type |
data type |
*/* |
string
|
Response Body
media type |
data type |
description |
application/json |
object
|
JSON Response with information, whether the assignment has or has
not been succeeded. |
POST /admin/presentationsets/unassign/{setId}
Unassign user or group to given Presentation Set
Request Parameters
name |
type |
description |
default |
constraints |
setId |
path |
ID of set |
|
long |
Request Body
media type |
data type |
*/* |
string
|
Response Body
media type |
data type |
description |
application/json |
object
|
|
POST /admin/presentationsets/dynamiclabel/add/{setId}
Assign dynamic label to given Presentation Set
Request Parameters
name |
type |
description |
default |
constraints |
setId |
path |
|
|
long |
Request Body
media type |
data type |
*/* |
string
|
Response Body
media type |
data type |
description |
application/json |
object
|
JSON Response with information, whether the assignment has or has
not been succeeded. |
GET /admin/presentationsets/dynamiclabel/json/{setId}
Return dynamic labels for following presentation set by it's id
Request Parameters
name |
type |
description |
default |
constraints |
setId |
path |
|
|
long |
Response Body
media type |
data type |
description |
application/json |
object
|
list of assigned dynamic labels
Example of response:
{"list":[{"labelId":"1","labelName":"Room data","labelDescription":"Room description","showFlags":0}]}
|
POST /admin/presentationsets/dynamiclabel/remove/{setId}
Remove dynamic label from given Presentation Set
Request Parameters
name |
type |
description |
default |
constraints |
setId |
path |
|
|
long |
Request Body
media type |
data type |
*/* |
string
|
Response Body
media type |
data type |
description |
application/json |
object
|
|
POST /admin/presentationsets/dynamiclabel/update/{setId}
Update dynamicLabel for given presentationSet.
Request Parameters
name |
type |
description |
default |
constraints |
setId |
path |
|
|
long |
Request Body
media type |
data type |
description |
application/json |
string
|
list of presentation members to be updated |
Response Body
media type |
data type |
description |
application/json |
object
|
JSON with information whether request was successful |
GET /admin/presentationsets/members/json/{setId}
Get list of Presentation Set identities (users or groups)
Request Parameters
name |
type |
description |
default |
constraints |
setId |
path |
ID of set |
|
long |
mode |
query |
|
users |
|
Response Body
media type |
data type |
description |
application/json |
object
|
JSON with list of groups
Example of response:
{"list":[{"id":"x","description":"Members of Tessel Crew group","name":"Tessel Crew"},{"id":"y","description":"aaa bbb ccc ddd eee fff ggg hhh iii jjj kkk lll ","name":"Group B"}]}
or
JSON with list of users
Example of response:
{"list":[{"id":1,"name":"admin","userFullName":"Admin","description":"","enabled":true,"email":"","loginCount":1840,"lastLoginDate":"2013-09-26T10:18:36.199072+02:00"},{"id":2,"name":"user1","userFullName":"User 1","description":"","enabled":true,"email":"","loginCount":784,"lastLoginDate":"2013-09-25T13:16:12.990218+02:00"}]}
|
POST /admin/presentationsets/presentation/add/{setId}
Assign presentation to given Presentation Set
Request Parameters
name |
type |
description |
default |
constraints |
setId |
path |
|
|
long |
Request Body
media type |
data type |
*/* |
string
|
Response Body
media type |
data type |
description |
application/json |
object
|
JSON Response with information, whether the assignment has or has
not been succeeded. |
GET /admin/presentationsets/presentation/json/{setId}
Return presentations for following presentation set by it's id
Request Parameters
name |
type |
description |
default |
constraints |
setId |
path |
|
|
long |
Response Body
media type |
data type |
description |
application/json |
object
|
list of assigned presentations
Example of response:
{"list":[{"presentationId":"2","presentationName":"Rumsbenämning","typeId":0,"countColumn":false,"spotAreaColumn":false,"summaryColumn":false}]}
|
POST /admin/presentationsets/presentation/remove/{setId}
remove presentation from given Presentation Set
Request Parameters
name |
type |
description |
default |
constraints |
setId |
path |
|
|
long |
Request Body
media type |
data type |
*/* |
string
|
Response Body
media type |
data type |
description |
application/json |
object
|
|
POST /admin/presentationsets/presentation/update/{setId}
Update presentation for given presentationSet.
Request Parameters
name |
type |
description |
default |
constraints |
setId |
path |
|
|
long |
Request Body
media type |
data type |
description |
application/json |
string
|
list of presentation members to be updated |
Response Body
media type |
data type |
description |
application/json |
object
|
JSON with information whether request was successful |