Create folder¶
Endpoint - /documents
HTTP Method – POST
Request¶
Headers¶
| Parameter | Description |
|---|---|
| clientname | (mandatory) Portfolio name |
| authorization | (mandatory) Authentication token |
| projectId | (mandatory) Project identifier |
Body¶
JSON of the folder definition
Media type : application/json
Example:
{
"Name": "DWG Drawings",
"Parent": {
"Id": "723d3996-6b6d-4429-93bc-0d9bb4472e31"
},
"IsFolder": **true**
}
Note
- Parent Id is mandatory and must be the ID of a folder. Without it, the folder is created but does not appear in the user interface.
IsFolder: trueis mandatory to create a folder.
Response¶
HTTP status code 200
Body¶
The response body contains the ID of the created folder.
Media type: application/json
Example:
{
"Value": "9c2e4b64-ab91-470b-92ff-62d78263478e"
}