Move a file to a different folder. Valid for Communifire version 6.0 and above.
Please Note For versions 6.0 and below, only move files to folders in the same space.
PUT https://myintranet.communifire.com/api/content/6663/move?SpaceID=252&ParentContentID=2721
File JSON is returned as ResponseData.
{ "IsError": false, "ResponseMessage": "File(s) moved successfully.", "ResponseData": [ { "ContentID": 6663, "OldContentID": 6663, "EntityType": 14, "ContentTypeID": 14, "ContentTitle": "Communifire-Mobile.pdf", "ContentStub": "communifire-mobile-pdf", "ContentBody": "", "ContentBodyUnprocessed": "", "ContentSummary": "", "AuthorID": 376, "AuthorUserName": "admin", "UpdatedByUserID": 376, "UpdatedByUserDisplayName": "Alexis Fox", "UpdatedByUserUsername": "admin", "UpdatedByUserEmail": "alexis@axerosolutions.com", "UpdatedByUserFirstName": "Alexis", "UpdatedByUserLastName": "Fox", "UpdatedByUserAvatarImageUrl": "https://myintranet.communifire.com/Assets/Uploaded-Photos/376/1c32c413-8025-4da5-b23a-575ab251faf4.png", "UpdatedByUserProfileUrl": "https://myintranet.communifire.com/people/admin", "ParentContentID": 2721, "ContentVersionID": 5, "SpaceID": 252, "WorkflowID": 0, "CurrentWorkflowStepID": 0, "StatusID": 1, "DateCreated": "2017-07-12T05:37:35.317", "DatePublished": "2017-07-12T05:37:35.317", "DateUpdated": "2020-09-16T23:23:39.283", "IsFeatured": false, "ViewCount": 17, "CommentCount": 2, "Rating": 4.95, "MetaTitle": "Communifire-Mobile.pdf", "MetaDescription": "", "MetaKeywords": "", "LockedByUserID": 0, "PageH1Content": "", "HeadCustomContent": "", "SideBarContent": "", "ContentExternalID": "", "ExtraSideBarContent": "", "ExternalURL": "", "AllowRating": true, "AllowComments": true, "AllowLikes": true, "LikesCount": 0, "DoesCurrentUserLike": false, "ContentMediaServerID": 24, "ContentMediaFileName": "783339af-5b7f-4859-8336-7f2f5c213f82.pdf", "ContentMediaServerRootURL": "https://myintranet.communifire.com/Assets/Uploaded-Files", "SpaceName": "Human Resources", "SpaceURL": "/spaces/252/human-resources/hr-homepage", "AuthorDisplayName": "Alexis Fox", "AuthorEmail": "alexis@axerosolutions.com", "AuthorFirstName": "Alexis", "AuthorLastName": "Fox", "AuthorAvatarImageUrl": "https://myintranet.communifire.com/Assets/Uploaded-Photos/376/1c32c413-8025-4da5-b23a-575ab251faf4.png", "AuthorProfileUrl": "https://myintranet.communifire.com/people/admin", "TagsCSV": "", "DateCreatedString": "11-Jul-17 22:37", "DateCreatedShortString": "11-Jul-17", "DatePublishedString": "11-Jul-17 22:37", "DatePublishedShortString": "11-Jul-17", "DateUpdatedString": "16-Sep-20 16:23", "DateUpdatedShortString": "16-Sep-20", "ContentURL": "/spaces/252/human-resources/files/6663/communifire-mobile-pdf", "ContentVersionURL": "/spaces/252/human-resources/files/6663/communifire-mobile-pdf?version=4", "IsPublishedFromDraftMode": false, "ParentContentTitle": "Root", "ParentContentURL": "/spaces/252/human-resources/files?directoryid=2721", "IsPublishedFromUnderProcessingMode": false, "IsBeingAddedViaExternalSource": false, "IsWallContent": false, "RequiresReadConfirmation": false, "HasRead": false, "ContentFileSize": 3526651, "ContentFileSizeString": "3.4MB", "ContentTypeIconCSSClass": "fal fa-file-pdf", "IsEditable": true, "IsWOPI": true, "WOPIApplicationName": "WordPdf", "IsDeletable": true, "IsDownloadable": true, "IsChekoutable": true, "IsUndochekoutable": true, "IsChekinable": true, "IsRestoreable": true, "IsPurgeable": true, "IsHistoryViewable": true, "IsMoveable": true, "IsChildContentCreationAllowed": false, "IsContentCreationAllowed": false, "ContentMediaOnlineViewUrl": "/spaces/252/human-resources/files/view/6663", "ContentMediaUrl": "/fileattachment?file=nJesaDDxHzET4jXwoyweGg%3D%3D&v=4", "ContentHistoryUrl": "/spaces/files/view-file-history?fileID=6663&directoryID=2481&spaceID=252&spaceName=human-resources", "GoogleDocsEditUrl": "javascript:PopupCenter('/AjaxTemplates/GoogleDocsFile.aspx?cid=6663&vid=4','Google Docs',800,600)", "ViewerVote": 0, "VoteCount": 0, "IsDirectory": false, "IsActivityStreamAlbum": false, "LastChildAuthorUserID": 0, "LastGrandChildAuthorUserID": 0, "TotalChildRecords": 0, "TotalGrandChildRecords": 0, "IsSticky": false, "IsAnswered": true, "AuthorSignature": "", "AuthorRankImageUrl": "https://myintranet.communifire.com/Assets/Uploaded-Photos/rank-guru.gif", "AuthorRankName": "Guru", "IsContentAvailablePostExpiry": false, "ContentIDCode": "nJesaDDxHzET4jXwoyweGg%3D%3D", "SystemName": "", "IsExternalContent": false, "IsAnonymous": false, "OriginalAuthorID": 376, "DateCreatedISOString": "2017-07-11T22:37:35.3170000", "DateCreatedFullString": "Tuesday, July 11, 2017 at 10:37 PM", "TenantID": 1 } ], }
Please Note The content type that you pass in the header of your request should be application/json.
is requesting access to a wiki that you have locked: https://my.axerosolutions.com/spaces/5/communifire-documentation/wiki/view/42682/rest-api-move-file?locale=en-US%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f1%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253fact%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253d1%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253fSpaceID%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253d5
Your session has expired. You are being logged out.