Create Folders by Parent Folder ID

POST /ws/rest/service/v1/dm/folder/create/<parent_folder_id>

Purpose

This service allows user to create folders under a specific folder. The parent folder is specified as node id in the service call's path parameter.

Input:

Path Parameter

Form Data (Content Type : application/x-www-form-urlencoded)

Example:

URL:http://unifier-intg.oracle.com/ws/rest/dm/folder/create/2002896

To create a folder REST Folder" under "/Project Documents/Service docs" whose node id (2002896) is specified in path parameter then data should as below

data:[ {"Name":"REST Folder","Owner":"Company Administrator","Creation Date":"01/01/2016","% Complete":"100","Description":"Fold 1" } ]

Output

JSON object containing 'status', 'data', 'message'

Data will be same as input data with new folder id and parent folder id

Example:

Successful folder creation:

{

"data":

[

{

"Path":"/Service docs",

"Creation Date":"01/01/2016",

"Owner":"Company Administrator",

"Description":"Fold 1",

"% Complete":"100",

"Name":"REST Folder",

"node_id":"2003152"

}

],

"message":

[

{

"message":"OK"

}

],

"status":200

}

Failure Condition:

{

"data":

[

{

"Path":"/Service docs",

"Creation Date":"01/01/2016",

"Owner":"Company Administrator",

"Description":"Fold 1",

"% Complete":"100",

"Name":"REST Folder"

}

],

"message":

[

{

"message":"Folder with given name already exists"

}

],

"status":1043

}

Related Topics

Folder Services

Create Folders by Path

Update Folders Meta Data by Path

Update Folder Meta Data by Folder ID

Get Folders or Documents Meta Data by Path

Get Folders or Documents Meta Data by Parent Folder ID



Legal Notices | Your Privacy Rights
Copyright © 1998, 2022

Last Published Tuesday, February 8, 2022