POST api/organizations/current/filedirectories

Adds a new FileDirectory.



Request Information

URI Parameters

None.



Body Parameters

A model representing the FileDirectory to insert.

CreateFileDirectoryViewModel
NameDescriptionTypeAdditional information
EntityDefinitionId

integer

None.

Name

string

None.

ParentId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "EntityDefinitionId": 1,
  "Name": "sample string 2",
  "ParentId": 1
}

application/xml, text/xml

Sample:
<CreateFileDirectoryViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VobeSoft.Models.ViewModels">
  <EntityDefinitionId>1</EntityDefinitionId>
  <Name>sample string 2</Name>
  <ParentId>1</ParentId>
</CreateFileDirectoryViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.



Response Information

Resource Description

A model representing the added FileDirectory.

ReadFileDirectoryViewModel

NameDescriptionTypeAdditional information
Children

Collection of ReadFileDirectoryViewModel

None.

EntityDefinitionId

integer

None.

Id

integer

None.

IsAppendable

boolean

None.

IsDeletable

boolean

None.

IsEditable

boolean

None.

Name

string

None.

ParentId

integer

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.