WoodWing Help Center

Elvis 4 REST API - create folder

Elvis 4 REST API - create folder

GET/POST

http://yourserver.com/services/createFolder
    ?path=<folder path>

What does it do?

Create one or more folders.

Parameters

path

The full folderPath of the folder to be created. This same parameter name can be specified multiple times to create several folders with one call.

Required

Return value

A JSON object with the olderPaths of each folder as key with the corresponding result as value (always a string). The following results are possible:

  • "created"
  • "already exists"
  • "access denied"
  • an error message indicating why the folder could not be created
<normalized folder path> created | already exists | access denied | <an error message>

Examples

Create folder

createFolder

http://demo.elvisdam.com/services/createFolder
    ?path=/Demo Zone/My Folder

Create multiple folders

createFolder

http://demo.elvisdam.com/services/createFolder
    ?path=/Demo Zone/Images
    &path=/DAMtube

The JSON result returned by the service has the following format and information.

{
  "/Demo Zone" : "access denied",
  "/DAMtube" : "already exists"
}
Was this article helpful?
0 out of 0 found this helpful / Created: / Updated:
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.