Folder resource

Update folder

OVERVIEW


This API method updates the details of an existing folder.

Request

PUT       /api/1/folders/{folderid}

Parameters

Parameter Name

Value

Description

folderid

Int

The ID for the folder in question

Request body

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<folder>

            <name>Demofolder</name>

            <description>This is the description for Demofolder</description>
           <dms>

                 <dmsfolderid>{string value}</dmsfolderid>             

                 <dmsdatabasename>{string value}</dmsdatabasename>

                 <dmsParentFolderID>{string value}</dmsParentFolderID>        

                 <dmslink>true/false</dmslink>

                 <dmslinkby>{email address}</dmslinkby>

             </dms>

</folder>

The dms tag is optional, the dms details are only updated when the tag is present in request. Please see the Add folder method for explanation of the dms parameters

 

Parameter Name

Value

Description

name

string

Name of folder, which is to be updated in the system

description

string

Description for the document to be updated

accessInherited

int

Possible values are 0 and 1. Value of 1 means that the access permissions are inherited for this folder from the root folder otherwise not.

Response

If successful this method returns a 200 OK response.

Example request:

PUT    http://clientinstance.highq.com/clientinstance/api/1/folders/1234

 

XML:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<folder>

<name>Folder1</name>

<description>This is discption for Demofolder</description>

<accessInherited>1</accessInherited>

</folder>

 

JSON:

{

"name": "Folder2Json",

"description": "This is discption for Demofolder",

"accessInherited": "1"

}

 

Comments


8 Comments

Last Updated: Jun 09,2023