SLnet.WebExtApi

<back to all web services

CreateFolder

Generic API

The following routes are available for this service:
POST/api/documents/foldercreateCreate a directory on documents structure

To override the Content-type in your clients HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/CreateFolder HTTP/1.1 
Host: 5.172.198.40 
Content-Type: application/json
Content-Length: length

{"ProviderSetupName":"String","FolderKind":0,"RelativeID":"String","ParentID":"String","Folders":[{"ID":"String","ParentID":"String","RelativeID":"String","Description":"String","Kind":0,"CreationDate":"0001-01-01T00:00:00.0000000","ModifiedDate":"0001-01-01T00:00:00.0000000","Size":0,"Revision":0,"RevisionID":"String","Completed":0,"FileName":"String","Domain":0,"Locked":0,"LinkID":"String","OwnerID":"String","Tags":"String","Origin":0,"NodeType":"providerNode","NodeObject":{},"NodePath":"String","NodeIsTemplate":false}],"Domain":0,"PathIDs":"String","Name":"String","FileID":"String","DomainName":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{}