PUT restapi/personal/yourfiles/files/v1
Moves files in your files
Request Information
URI Parameters
None.
Body Parameters
New information about the file
Itslearning.RestApi.Entities.YourFiles.MoveRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ParentFolderId |
The new parent folder identifier where the files or folders will be moved to |
integer |
None. |
| Ids |
The list of identifiers of the files or folders to be moved |
Collection of integer |
None. |
Request Formats
application/json, text/json
{
"ParentFolderId": 1,
"Ids": [
1,
2
]
}
application/xml, text/xml
<MoveRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<Ids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</Ids>
<ParentFolderId>1</ParentFolderId>
</MoveRequest>
application/x-www-form-urlencoded
No sample available
Response Information
Resource Description
The updated file model
Collection of Itslearning.RestApi.Entities.YourFiles.FileModel| Name | Description | Type | Additional 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. |
| SignedFileRepoId |
Signed file repository identifier |
string |
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. |
| Children |
The children of the FileModel if the file model is a folder |
Collection of Itslearning.RestApi.Entities.YourFiles.FileModel |
None. |
| IsEditable |
If file can be edited |
boolean |
None. |
| IsViewable |
Gets or sets a value indicating whether the item is viewable in the browser. |
boolean |
None. |
| FolderType |
Gets or sets a value indicating whether the item is viewable in the browser. |
string |
None. |
| PublicLink |
Embed link for files. |
string |
None. |
Response Formats
application/json, text/json
[
{
"Name": "sample string 1",
"LastModified": "2026-01-28T11:49:25Z",
"LastModifiedString": "sample string 3",
"FileType": "sample string 4",
"FileSize": 5,
"FileId": 6,
"FileRepoId": "4b0116f4-d0b6-472c-8a54-2ab9ecc3e4d4",
"SignedFileRepoId": "sample string 8",
"IsFolder": true,
"VirtualPath": "sample string 10",
"Icon": "sample string 11",
"FolderId": 12,
"ParentFolderId": 1,
"NameWithoutExtension": "sample string 13",
"Extension": "sample string 14",
"Children": [
{
"Name": "sample string 1",
"LastModified": "2026-01-28T11:49:25Z",
"LastModifiedString": "sample string 3",
"FileType": "sample string 4",
"FileSize": 5,
"FileId": 6,
"FileRepoId": "a2d367f9-c4d5-4d38-88b2-fa08243749c3",
"SignedFileRepoId": "sample string 8",
"IsFolder": true,
"VirtualPath": "sample string 10",
"Icon": "sample string 11",
"FolderId": 12,
"ParentFolderId": 1,
"NameWithoutExtension": "sample string 13",
"Extension": "sample string 14",
"Children": null,
"IsEditable": true,
"IsViewable": true,
"FolderType": "sample string 17",
"PublicLink": "sample string 18"
},
{
"Name": "sample string 1",
"LastModified": "2026-01-28T11:49:25Z",
"LastModifiedString": "sample string 3",
"FileType": "sample string 4",
"FileSize": 5,
"FileId": 6,
"FileRepoId": "431414b2-d3e7-4ff3-a95d-56646235032e",
"SignedFileRepoId": "sample string 8",
"IsFolder": true,
"VirtualPath": "sample string 10",
"Icon": "sample string 11",
"FolderId": 12,
"ParentFolderId": 1,
"NameWithoutExtension": "sample string 13",
"Extension": "sample string 14",
"Children": null,
"IsEditable": true,
"IsViewable": true,
"FolderType": "sample string 17",
"PublicLink": "sample string 18"
}
],
"IsEditable": true,
"IsViewable": true,
"FolderType": "sample string 17",
"PublicLink": "sample string 18"
},
{
"Name": "sample string 1",
"LastModified": "2026-01-28T11:49:25Z",
"LastModifiedString": "sample string 3",
"FileType": "sample string 4",
"FileSize": 5,
"FileId": 6,
"FileRepoId": "fd115b69-bc83-462d-ab16-f19f2ba0e95d",
"SignedFileRepoId": "sample string 8",
"IsFolder": true,
"VirtualPath": "sample string 10",
"Icon": "sample string 11",
"FolderId": 12,
"ParentFolderId": 1,
"NameWithoutExtension": "sample string 13",
"Extension": "sample string 14",
"Children": [
{
"Name": "sample string 1",
"LastModified": "2026-01-28T11:49:25Z",
"LastModifiedString": "sample string 3",
"FileType": "sample string 4",
"FileSize": 5,
"FileId": 6,
"FileRepoId": "44d03133-446b-4adf-a310-14970370e597",
"SignedFileRepoId": "sample string 8",
"IsFolder": true,
"VirtualPath": "sample string 10",
"Icon": "sample string 11",
"FolderId": 12,
"ParentFolderId": 1,
"NameWithoutExtension": "sample string 13",
"Extension": "sample string 14",
"Children": null,
"IsEditable": true,
"IsViewable": true,
"FolderType": "sample string 17",
"PublicLink": "sample string 18"
},
{
"Name": "sample string 1",
"LastModified": "2026-01-28T11:49:25Z",
"LastModifiedString": "sample string 3",
"FileType": "sample string 4",
"FileSize": 5,
"FileId": 6,
"FileRepoId": "3aa72800-e1ed-4251-a64e-4bec1c082cf3",
"SignedFileRepoId": "sample string 8",
"IsFolder": true,
"VirtualPath": "sample string 10",
"Icon": "sample string 11",
"FolderId": 12,
"ParentFolderId": 1,
"NameWithoutExtension": "sample string 13",
"Extension": "sample string 14",
"Children": null,
"IsEditable": true,
"IsViewable": true,
"FolderType": "sample string 17",
"PublicLink": "sample string 18"
}
],
"IsEditable": true,
"IsViewable": true,
"FolderType": "sample string 17",
"PublicLink": "sample string 18"
}
]
application/xml, text/xml
<ArrayOfFileModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<FileModel>
<Children>
<FileModel>
<Children i:nil="true" />
<Extension>sample string 14</Extension>
<FileId>6</FileId>
<FileRepoId>a2d367f9-c4d5-4d38-88b2-fa08243749c3</FileRepoId>
<FileSize>5</FileSize>
<FileType>sample string 4</FileType>
<FolderId>12</FolderId>
<FolderType>sample string 17</FolderType>
<Icon>sample string 11</Icon>
<IsEditable>true</IsEditable>
<IsFolder>true</IsFolder>
<IsViewable>true</IsViewable>
<LastModified>2026-01-28T11:49:25Z</LastModified>
<LastModifiedString>sample string 3</LastModifiedString>
<Name>sample string 1</Name>
<NameWithoutExtension>sample string 13</NameWithoutExtension>
<ParentFolderId>1</ParentFolderId>
<PublicLink>sample string 18</PublicLink>
<SignedFileRepoId>sample string 8</SignedFileRepoId>
<VirtualPath>sample string 10</VirtualPath>
</FileModel>
<FileModel>
<Children i:nil="true" />
<Extension>sample string 14</Extension>
<FileId>6</FileId>
<FileRepoId>431414b2-d3e7-4ff3-a95d-56646235032e</FileRepoId>
<FileSize>5</FileSize>
<FileType>sample string 4</FileType>
<FolderId>12</FolderId>
<FolderType>sample string 17</FolderType>
<Icon>sample string 11</Icon>
<IsEditable>true</IsEditable>
<IsFolder>true</IsFolder>
<IsViewable>true</IsViewable>
<LastModified>2026-01-28T11:49:25Z</LastModified>
<LastModifiedString>sample string 3</LastModifiedString>
<Name>sample string 1</Name>
<NameWithoutExtension>sample string 13</NameWithoutExtension>
<ParentFolderId>1</ParentFolderId>
<PublicLink>sample string 18</PublicLink>
<SignedFileRepoId>sample string 8</SignedFileRepoId>
<VirtualPath>sample string 10</VirtualPath>
</FileModel>
</Children>
<Extension>sample string 14</Extension>
<FileId>6</FileId>
<FileRepoId>4b0116f4-d0b6-472c-8a54-2ab9ecc3e4d4</FileRepoId>
<FileSize>5</FileSize>
<FileType>sample string 4</FileType>
<FolderId>12</FolderId>
<FolderType>sample string 17</FolderType>
<Icon>sample string 11</Icon>
<IsEditable>true</IsEditable>
<IsFolder>true</IsFolder>
<IsViewable>true</IsViewable>
<LastModified>2026-01-28T11:49:25Z</LastModified>
<LastModifiedString>sample string 3</LastModifiedString>
<Name>sample string 1</Name>
<NameWithoutExtension>sample string 13</NameWithoutExtension>
<ParentFolderId>1</ParentFolderId>
<PublicLink>sample string 18</PublicLink>
<SignedFileRepoId>sample string 8</SignedFileRepoId>
<VirtualPath>sample string 10</VirtualPath>
</FileModel>
<FileModel>
<Children>
<FileModel>
<Children i:nil="true" />
<Extension>sample string 14</Extension>
<FileId>6</FileId>
<FileRepoId>44d03133-446b-4adf-a310-14970370e597</FileRepoId>
<FileSize>5</FileSize>
<FileType>sample string 4</FileType>
<FolderId>12</FolderId>
<FolderType>sample string 17</FolderType>
<Icon>sample string 11</Icon>
<IsEditable>true</IsEditable>
<IsFolder>true</IsFolder>
<IsViewable>true</IsViewable>
<LastModified>2026-01-28T11:49:25Z</LastModified>
<LastModifiedString>sample string 3</LastModifiedString>
<Name>sample string 1</Name>
<NameWithoutExtension>sample string 13</NameWithoutExtension>
<ParentFolderId>1</ParentFolderId>
<PublicLink>sample string 18</PublicLink>
<SignedFileRepoId>sample string 8</SignedFileRepoId>
<VirtualPath>sample string 10</VirtualPath>
</FileModel>
<FileModel>
<Children i:nil="true" />
<Extension>sample string 14</Extension>
<FileId>6</FileId>
<FileRepoId>3aa72800-e1ed-4251-a64e-4bec1c082cf3</FileRepoId>
<FileSize>5</FileSize>
<FileType>sample string 4</FileType>
<FolderId>12</FolderId>
<FolderType>sample string 17</FolderType>
<Icon>sample string 11</Icon>
<IsEditable>true</IsEditable>
<IsFolder>true</IsFolder>
<IsViewable>true</IsViewable>
<LastModified>2026-01-28T11:49:25Z</LastModified>
<LastModifiedString>sample string 3</LastModifiedString>
<Name>sample string 1</Name>
<NameWithoutExtension>sample string 13</NameWithoutExtension>
<ParentFolderId>1</ParentFolderId>
<PublicLink>sample string 18</PublicLink>
<SignedFileRepoId>sample string 8</SignedFileRepoId>
<VirtualPath>sample string 10</VirtualPath>
</FileModel>
</Children>
<Extension>sample string 14</Extension>
<FileId>6</FileId>
<FileRepoId>fd115b69-bc83-462d-ab16-f19f2ba0e95d</FileRepoId>
<FileSize>5</FileSize>
<FileType>sample string 4</FileType>
<FolderId>12</FolderId>
<FolderType>sample string 17</FolderType>
<Icon>sample string 11</Icon>
<IsEditable>true</IsEditable>
<IsFolder>true</IsFolder>
<IsViewable>true</IsViewable>
<LastModified>2026-01-28T11:49:25Z</LastModified>
<LastModifiedString>sample string 3</LastModifiedString>
<Name>sample string 1</Name>
<NameWithoutExtension>sample string 13</NameWithoutExtension>
<ParentFolderId>1</ParentFolderId>
<PublicLink>sample string 18</PublicLink>
<SignedFileRepoId>sample string 8</SignedFileRepoId>
<VirtualPath>sample string 10</VirtualPath>
</FileModel>
</ArrayOfFileModel>