Method UpdateGlobalSettings
UpdateGlobalSettings(String, GlobalSettingsContract)
Update global settings
Declaration
void UpdateGlobalSettings(string connectionId, GlobalSettingsContract globalSettings)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
GlobalSettingsContract | globalSettings | GlobalSettings to update |
Examples
POST http://YourServerName/InfoShare/Json/Common/GetGlobalSettings
Example for update global settings.{
"connectionId": "eb5718e6-8fd6-460b-9da3-4fb0434e81a8",
"globalSettings": {
"CADIntegrationActive": false,
"CADIntegrationExtensions": "",
"CADIntegrationWebserviceURL": "",
"DataProviderForImport": 0,
"DataProviderForPropertyEdit": 0,
"DataProviderForSearch": 0,
"DataProviderTimeout": 1000,
"DataProviderURL": "",
"DefaultImportTemplateChangeActionKey": 0,
"DocumentReminderInterval": 900000,
"EmailSendTimeMode": "specific",
"MaxValueForProposal": 20,
"PageCountForStreamingUsers": 0,
"PaperBinProtectionDomainId": "00000000-0000-0000-0000-000000000000",
"ProcessRespectProtectionDomainForUsers": false,
"ProcessStoreSearches": {
"Culture": "en-US",
"FolderSystemId": "9762c061-b7cf-e911-a939-00155d290a08",
"Path": "cb62c061-b7cf-e911-a939-00155d290a08\\c3ae40de-1fd2-e911-a93c-00155d290a08",
"PathGlobal": {
"Values": [{
"Culture": "de",
"Text": "Vorgang Suche" }, {
"Culture": "en",
"Text": "Process search" }] } },
"ResetUserPasswordMailTemplateId": "2193b9c4-85d0-e911-a93a-00155d290a08",
"RespectImportTemplateInEditProperties": false,
"ShowExtendedMessagesInProcessManagement": false,
"ShowPropertyEditAfterCheckIn": false,
"ShowTemplateChangeOptionsDialogKey": false,
"TemplateFolder": {
"Culture": "en-US",
"FolderSystemId": "9762c061-b7cf-e911-a939-00155d290a08",
"Path": "cb62c061-b7cf-e911-a939-00155d290a08\\7aa92ae2-89d0-e911-a93a-00155d290a08\\b9aa2ae2-89d0-e911-a93a-00155d290a08
\\36f2700c-4bd1-e911-a93b-00155d290a08",
"PathGlobal": {
"Values": [{
"Culture": "en-US",
"Text": "New directory\\New directory\\Templates" }, {
"Culture": "en",
"Text": "Dossierdefintion\\DPA\\Templates" }, {
"Culture": "de",
"Text": "Aktendefinitionen\\DPA\\Vorlagen" }] } },
"TextModuleFolder": {
"Culture": "en-US",
"FolderSystemId": "9762c061-b7cf-e911-a939-00155d290a08",
"Path": "cb62c061-b7cf-e911-a939-00155d290a08\\7aa92ae2-89d0-e911-a93a-00155d290a08\\b9aa2ae2-89d0-e911-a93a-00155d290a08
\\7173d704-4bd1-e911-a93b-00155d290a08",
"PathGlobal": {
"Values": [{
"Culture": "en-US",
"Text": "New directory\\New directory\\Modules" }, {
"Culture": "en",
"Text": "Dossierdefintion\\DPA\\Modules" }, {
"Culture": "de",
"Text": "Aktendefinitionen\\DPA\\Bausteine" }] } },
"UrlLink": "",
"UrlPlaceholderDocId": "",
"UrlPlaceholderStoreId": "",
"UsePasswordProtectionForZip": true,
"VerificationCodeMailTemplateId": "081c6e20-86d0-e911-a93a-00155d290a08" }
}
Response:
{ }
Exceptions
Type | Condition |
---|---|
ServiceException | The connection id {connectionId} isn't valid or has expired (10008) |
ServiceException | Folder not found {folderPath} (10025) |
ServiceException | Root folder not found (10023) |
ServiceException | Verification code is needed: Verification code not yet verified (10152) |
ServiceException | Not enough rights ({accessOperationName}, {accessOperationId}) (10071) |