POST api/ECM/CreateFolder?externalAppId={externalAppId}&sourceLocation={sourceLocation}
CREATE folder
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| externalAppId | string |
Required |
|
| sourceLocation | integer |
Required |
Body Parameters
ECMFolder| Name | Description | Type | Additional information |
|---|---|---|---|
| Object | ECMObject |
None. |
|
| Processes | Dictionary of string [key] and Object [value] |
None. |
Request Formats
application/json, text/json
Sample:
{
"Object": {
"ApplicationId": 1,
"ApplicationType": "sample string 2",
"ObjectType": "sample string 3",
"DocumentId": 4
},
"Processes": {
"sample string 1": {},
"sample string 3": {}
}
}
application/xml, text/xml
Sample:
<ECMFolder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GabineteDigital.Services.Models">
<Object>
<ApplicationId>1</ApplicationId>
<ApplicationType>sample string 2</ApplicationType>
<DocumentId>4</DocumentId>
<ObjectType>sample string 3</ObjectType>
</Object>
<Processes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 3</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
</Processes>
</ECMFolder>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>