Export helper resource
Get export selection data. The posted data contains the currently selected or excluded objects. This method will calculate the "subselected" folders and return them. This is needed by the export selection dialog to mark folders, that are not selected themselves, but contain selected items.
media type | data type | description |
---|---|---|
application/json | ExportSelectionRequest (JSON) | request containing the lists of selected objects |
media type | data type | description |
---|---|---|
application/json | ExportSelectionResponse (JSON) | response containing the lists of subselected folders |
POST /export/selection
Content-Type: application/json
Accept: application/json
{
"pages" : [ 12345, 12345 ],
"images" : [ 12345, 12345 ],
"files" : [ 12345, 12345 ],
"folders" : [ 12345, 12345 ],
"inheritedFolders" : {
"property1" : [ 12345, 12345 ],
"property2" : [ 12345, 12345 ]
}
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"folders" : [ 12345, 12345 ],
"inheritedFolders" : {
"property1" : [ 12345, 12345 ],
"property2" : [ 12345, 12345 ]
},
"messages" : [ {
"fieldName" : "...",
"message" : "...",
"type" : "SUCCESS",
"timestamp" : 12345,
"image" : "...",
"sender" : {
"id" : 12345,
"firstName" : "...",
"lastName" : "...",
"description" : "...",
"email" : "...",
"groups" : [ { }, { } ],
"login" : "...",
"password" : "..."
},
"id" : 12345
}, {
"fieldName" : "...",
"message" : "...",
"type" : "INFO",
"timestamp" : 12345,
"image" : "...",
"sender" : {
"id" : 12345,
"firstName" : "...",
"lastName" : "...",
"description" : "...",
"email" : "...",
"groups" : [ { }, { } ],
"login" : "...",
"password" : "..."
},
"id" : 12345
} ],
"responseInfo" : {
"responseCode" : "OK",
"responseMessage" : "...",
"property" : "..."
}
}