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

Saves new private files for person.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
folderId

The folder identifier to store the files

integer

Required

Body Parameters

List of files to save.

Collection of Itslearning.RestApi.Entities.YourFiles.UploadedFileModel
NameDescriptionTypeAdditional information
Id

The file identifier

string

None.

Name

The name of the file

string

None.

MimeType

The MIME type of the file

string

None.

SignedFileRepoId

The signed file repository identifier

string

None.

Signature

The signature for the file

string

None.

Error

The error message if any error occurred during the upload to file repo

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": "sample string 1",
    "Name": "sample string 2",
    "MimeType": "sample string 3",
    "SignedFileRepoId": "sample string 4",
    "Signature": "sample string 5",
    "Error": "sample string 6"
  },
  {
    "Id": "sample string 1",
    "Name": "sample string 2",
    "MimeType": "sample string 3",
    "SignedFileRepoId": "sample string 4",
    "Signature": "sample string 5",
    "Error": "sample string 6"
  }
]

application/xml, text/xml

Sample:
<ArrayOfUploadedFileModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <UploadedFileModel>
    <Error>sample string 6</Error>
    <Id>sample string 1</Id>
    <MimeType>sample string 3</MimeType>
    <Name>sample string 2</Name>
    <Signature>sample string 5</Signature>
    <SignedFileRepoId>sample string 4</SignedFileRepoId>
  </UploadedFileModel>
  <UploadedFileModel>
    <Error>sample string 6</Error>
    <Id>sample string 1</Id>
    <MimeType>sample string 3</MimeType>
    <Name>sample string 2</Name>
    <Signature>sample string 5</Signature>
    <SignedFileRepoId>sample string 4</SignedFileRepoId>
  </UploadedFileModel>
</ArrayOfUploadedFileModel>

application/x-www-form-urlencoded

Sample:
No sample available

Response Information

Resource Description

List of files that are saved

Collection of 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": "c5a4ba39-c282-4c78-ac49-96fac4392027",
    "IsFolder": true,
    "VirtualPath": "sample string 9",
    "Icon": "sample string 10",
    "FolderId": 11,
    "ParentFolderId": 1,
    "NameWithoutExtension": "sample string 12",
    "Extension": "sample string 13"
  },
  {
    "Name": "sample string 1",
    "LastModified": "2025-06-25T13:21:02Z",
    "LastModifiedString": "sample string 3",
    "FileType": "sample string 4",
    "FileSize": 5,
    "FileId": 6,
    "FileRepoId": "016d3361-09fa-4c42-90a2-c381c106a0f0",
    "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:
<ArrayOfFileModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <FileModel>
    <Extension>sample string 13</Extension>
    <FileId>6</FileId>
    <FileRepoId>c5a4ba39-c282-4c78-ac49-96fac4392027</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>
  <FileModel>
    <Extension>sample string 13</Extension>
    <FileId>6</FileId>
    <FileRepoId>016d3361-09fa-4c42-90a2-c381c106a0f0</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>
</ArrayOfFileModel>