Method MoveRemoteFolderElement
MoveRemoteFolderElement(String, String, String)
Move a remote folder element (folder or document).
Declaration
void MoveRemoteFolderElement(string connectionId, string sourceRemoteFolderElementPath, string targetRemoteFolderPath)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
System.String | sourceRemoteFolderElementPath | Path to element (document or folder) which is moved |
System.String | targetRemoteFolderPath | Path to target remote folder |
Examples
POST http://YourServerName/InfoShare/Json/RemoteFolder/MoveRemoteFolderElement
Example for move a remote folder element.{
"connectionId": "e3b3b164-9b0b-4d00-9981-83fe4835df1a",
"sourceRemoteFolderElementPath": "1eb9edb4-2ce0-e911-a94a-00155d290a08\\db8835d5-30e0-e911-a94a-00155d290a08",
"targetRemoteFolderPath": "1eb9edb4-2ce0-e911-a94a-00155d290a08\\ff8835d5-30e0-e911-a94a-00155d290a99"
}
Response:
{ }
Exceptions
Type | Condition |
---|---|
ServiceException | The connection id {connectionId} isn't valid or has expired (10008) |
ServiceException | Not allowed to move folder from {sourceFolderPath} to {targetFolderPath} (10019) |
ServiceException | Root folder not found (10023) |
ServiceException | Folder not found {folderPath} (10025) |
ServiceException | Name is not unique for culture ({culture}): {name} (10066) |
ServiceException | No parent folder found {folderPath} (10075) |
ServiceException | Verification code is needed: Verification code not yet verified (10152) |