POST folders

Creates a new folder.

Request Information

URI Parameters

None.

Body Parameters

The model containing the information to create a folder.

FolderViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

Filterable

Settable

Level

integer

Filterable

Owner

BaseViewModel

Filterable

Includable

ParentFolder

BaseViewModel

Includable

Settable

ChildFolders

IGenericPaginatedListViewModelOfBaseViewModel

Includable

ContainedObjects

IGenericPaginatedListViewModelOfBaseViewModel

Includable

ContainedObjectRelations

IGenericPaginatedListViewModelOfBaseViewModel

Includable

FolderGroupRights

Collection of BaseViewModel

Includable

FolderUserRights

Collection of BaseViewModel

Includable

SelfUrl

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "name": "sample string 2",
  "level": 3,
  "owner": {
    "selfUrl": "sample string 1"
  },
  "parentFolder": {
    "selfUrl": "sample string 1"
  },
  "childFolders": null,
  "containedObjects": null,
  "containedObjectRelations": null,
  "folderGroupRights": [
    {
      "selfUrl": "sample string 1"
    },
    {
      "selfUrl": "sample string 1"
    }
  ],
  "folderUserRights": [
    {
      "selfUrl": "sample string 1"
    },
    {
      "selfUrl": "sample string 1"
    }
  ],
  "selfUrl": "sample string 4"
}

Response Information

Resource Description

FolderViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

Filterable

Settable

Level

integer

Filterable

Owner

BaseViewModel

Filterable

Includable

ParentFolder

BaseViewModel

Includable

Settable

ChildFolders

IGenericPaginatedListViewModelOfBaseViewModel

Includable

ContainedObjects

IGenericPaginatedListViewModelOfBaseViewModel

Includable

ContainedObjectRelations

IGenericPaginatedListViewModelOfBaseViewModel

Includable

FolderGroupRights

Collection of BaseViewModel

Includable

FolderUserRights

Collection of BaseViewModel

Includable

SelfUrl

string

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "name": "sample string 2",
  "level": 3,
  "owner": {
    "selfUrl": "sample string 1"
  },
  "parentFolder": {
    "selfUrl": "sample string 1"
  },
  "childFolders": null,
  "containedObjects": null,
  "containedObjectRelations": null,
  "folderGroupRights": [
    {
      "selfUrl": "sample string 1"
    },
    {
      "selfUrl": "sample string 1"
    }
  ],
  "folderUserRights": [
    {
      "selfUrl": "sample string 1"
    },
    {
      "selfUrl": "sample string 1"
    }
  ],
  "selfUrl": "sample string 4"
}