ExportResource Resource

Export helper resource

POST /export/selection

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.

Request Body
media type data type description
application/json ExportSelectionRequest (JSON) request containing the lists of selected objects
Response Body
media type data type description
application/json ExportSelectionResponse (JSON) response containing the lists of subselected folders

Example

Request
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 ]
  }
}
                
              
Response
HTTP/1.1 201 Created
Content-Type: application/json

                
{
  "folders" : [ 12345, 12345 ],
  "inheritedFolders" : {
    "property1" : [ 12345, 12345 ],
    "property2" : [ 12345, 12345 ]
  },
  "messages" : [ {
    "fieldName" : "...",
    "message" : "...",
    "type" : "CRITICAL",
    "timestamp" : 12345,
    "image" : "...",
    "sender" : {
      "id" : 12345,
      "firstName" : "...",
      "lastName" : "...",
      "description" : "...",
      "email" : "...",
      "groups" : [ { }, { } ],
      "login" : "...",
      "password" : "..."
    },
    "id" : 12345
  }, {
    "fieldName" : "...",
    "message" : "...",
    "type" : "CRITICAL",
    "timestamp" : 12345,
    "image" : "...",
    "sender" : {
      "id" : 12345,
      "firstName" : "...",
      "lastName" : "...",
      "description" : "...",
      "email" : "...",
      "groups" : [ { }, { } ],
      "login" : "...",
      "password" : "..."
    },
    "id" : 12345
  } ],
  "responseInfo" : {
    "responseCode" : "MAINTENANCEMODE",
    "responseMessage" : "...",
    "property" : "..."
  }
}