Method UpdateFolderSystem
UpdateFolderSystem(String, FolderSystemContract)
Update a folder system
Declaration
void UpdateFolderSystem(string connectionId, FolderSystemContract folderSystem)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
FolderSystemContract | folderSystem | FolderSystem to update |
Examples
POST http://YourServerName/InfoShare/Json/Common/UpdateFolderSystem
Example for update folder system.{
"connectionId": "eb5718e6-8fd6-460b-9da3-4fb0434e81a8",
"folderSystem": {
"AccessRightsEnum": ["SetMasterColumnConfiguration"],
"Description": {
"Values": [{
"Culture": "de",
"Text": "foldersystem Test" }, {
"Culture": "en",
"Text": "foldersystem Test" }, {
"Culture": "fr",
"Text": "foldersystem Test" }] },
"Hidden": false,
"Id": "dedfab40-ece0-e911-a94b-00155d290a08",
"ImportTemplateId": "3a2cfae8-6ae0-e911-a94a-00155d290a08",
"Name": "foldersystem Test",
"ProtectionDomainId": "b20f34e2-64e0-e911-a94a-00155d290a08" }
}
Response:
{ }
Exceptions
Type | Condition |
---|---|
ServiceException | The connection id {connectionId} isn't valid or has expired (10008) |
ServiceException | Private folder system can not be updated (10041) |
ServiceException | Folder system not found {folderSystemId} (10042) |
ServiceException | Name is not unique for culture ({culture}): {name} (10066) |
ServiceException | Not allowed (10014) |
ServiceException | Verification code is needed: Verification code not yet verified (10152) |