POST restapi/personal/yourfiles/private/folders/{folderId}/v1

Add new folder in private files area

Request Information

URI Parameters

NameDescriptionTypeAdditional information
folderId

The parent folder identifier

integer

Required

Body Parameters

The name of the folder

string

Request Formats

application/json, text/json

Sample:
"sample string"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string</string>

application/x-www-form-urlencoded

Sample:
No sample available

Response Information

Resource Description

The newly created folder

Itslearning.RestApi.Entities.YourFiles.FileModel
NameDescriptionTypeAdditional information
Name

The name of the file/folder

string

None.

LastModified

The date and time the file was last modified

date

None.

LastModifiedString

The date and time the file was last modified as string

string

None.

FileType

The type of file

string

None.

FileSize

The file size in Kb

integer, 64 bit

None.

FileId

The file identifier

integer

None.

FileRepoId

The file repository identifier

globally unique identifier

None.

IsFolder

If the item is folder

boolean

None.

VirtualPath

Virtual Path

string

None.

Icon

Icon for the item

string

None.

FolderId

The folder identifier

integer

None.

ParentFolderId

The parent folder identifier. If this is a root folder or IsFolder = false, then this value is null.

integer

None.

NameWithoutExtension

The name without file extension

string

None.

Extension

The file extension

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "LastModified": "2025-06-25T13:21:02Z",
  "LastModifiedString": "sample string 3",
  "FileType": "sample string 4",
  "FileSize": 5,
  "FileId": 6,
  "FileRepoId": "eb796c59-4781-48bb-a1ad-5131ec936694",
  "IsFolder": true,
  "VirtualPath": "sample string 9",
  "Icon": "sample string 10",
  "FolderId": 11,
  "ParentFolderId": 1,
  "NameWithoutExtension": "sample string 12",
  "Extension": "sample string 13"
}

application/xml, text/xml

Sample:
<FileModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <Extension>sample string 13</Extension>
  <FileId>6</FileId>
  <FileRepoId>eb796c59-4781-48bb-a1ad-5131ec936694</FileRepoId>
  <FileSize>5</FileSize>
  <FileType>sample string 4</FileType>
  <FolderId>11</FolderId>
  <Icon>sample string 10</Icon>
  <IsFolder>true</IsFolder>
  <LastModified>2025-06-25T13:21:02Z</LastModified>
  <LastModifiedString>sample string 3</LastModifiedString>
  <Name>sample string 1</Name>
  <NameWithoutExtension>sample string 12</NameWithoutExtension>
  <ParentFolderId>1</ParentFolderId>
  <VirtualPath>sample string 9</VirtualPath>
</FileModel>