Skip to content

Create folder

Endpoint - /documents

HTTP Method – POST

Request

Headers

ParameterDescription
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

  • Id is a mandatory field where ID is the ID of a folder. Without Parent Id you will be able create a new folder, but you will not find in the in use interface.
  • IsFolder: true is mandatory to create a folder

Response

HTTP status code 200

Body

In the Response result there is Id of the created folder

Media type: application/json

Example:

{
    "Value": "9c2e4b64-ab91-470b-92ff-62d78263478e"
}