Skip to main content

The VirtualFolder service exposes all the operations available around the VirtualFolder type components.

Virtual folder recovery

The examples below show how to retrieve virtual folders from a list of identifiers.

GET {{core}}/rest/virtualFolder/{ids} HTTP/1.1

-- URL parameters --
ids: list of virtual folder identifiers to be retrieved

-- Headers --
core: FlowerDocs Core host
token: {{token}}
Content-Type: application/json

Virtual folder creation

The examples below show how to create a list of virtual folders.

POST {{core}}/rest/virtualFolder/ HTTP/1.1

-- Headers --
core: FlowerDocs Core host
token: {{token}}
Content-Type: application/json

-- Body (json) --
[

"category": "VIRTUAL_FOLDER",
"data": {
"ACL": "acl-dossierclient",
"classId": "DossierClient",
"owner": "jna"
},
"name": "123654 - DOE Jules",
"tags": [

"name": "RefClient",
"readOnly": false,
"value": [
"123654"
]
},

"name": "PrenomClient",
"readOnly": false,
"value": [
"Jules"
]
},

"name": "NomClient",
"readOnly": false,
"value": [
"DOE"
]

]

]

Virtual folder modification

This operation updates the data in a virtual folder: tags and data (class identifier, ACL, owner, etc.).

info

This service operates on a cancel and replace basis, so all tag values must be supplied by the service at the time of update. It is therefore advisable to retrieve the virtual folder, make the changes and call the update service.

POST {{core}}/rest/virtualFolder/{ids} HTTP/1.1

-- URL parameters --
ids: list of virtual folder identifiers to be updated

-- Headers --
core: FlowerDocs Core host
token: {{token}}
Content-Type: application/json

-- Body (json) --
[

"category": "VIRTUAL_FOLDER",
"data": {
"ACL": "acl-dossierclient",
"classId": "DossierClient",
"owner": "jna"
},
"name": "123654 - DOE Marc",
"tags": [

"name": "RefClient",
"readOnly": false,
"value": [
"123654"
]
},

"name": "PrenomClient",
"readOnly": false,
"value": [
"Marc"
]
},

"name": "NomClient",
"readOnly": false,
"value": [
"DOE"
]

]

]

Recherche de virtual folder

The search operations all work on the same model as described here.

Virtual folder deletion

The examples below show how to delete a list of virtual folders from a list of identifiers.

DELETE {{core}}/rest/virtualFolder/{ids} HTTP/1.1

-- URL parameters --
ids: list of virtual folder identifiers to be deleted

-- Headers --
core: FlowerDocs Core host
token: {{token}}
Content-Type: application/json