Method UpdateInfoStore
UpdateInfoStore(String, InfoStoreContract, Boolean)
Update an info store
Declaration
void UpdateInfoStore(string connectionId, InfoStoreContract infoStore, bool doNotAttachBlobStoreProvider)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
InfoStoreContract | infoStore | InfoStore to update |
System.Boolean | doNotAttachBlobStoreProvider | Attach the BlobStoreProvider true or false |
Examples
POST http://YourServerName/InfoShare/Json/Common/UpdateInfoStore
Example for update a infostore.{
"connectionId": "b6742bb8-ef97-44ae-819b-a2fa2200908a",
"infoStore": {
"Id": "61623db8-67e0-e911-a94a-00155d290a08",
"Configuration": {
"BlobStoreIds": [],
"BlobStoreProviderIds": ["c695826a-890c-11d9-a9b6-0040ca614638"],
"ProtectionDomainId": "0100a000-38a7-11d8-a902-0050bf427e8f",
"AccessLogEnum": "AllExceptPreview",
"VersioningEnum": "All",
"FileCompressionEnum": "NoCompression",
"DBCompressionEnum": "Deflate",
"ThumbnailSize": 150,
"Fulltext": false,
"FulltextWithProperties": true,
"AutoSuggest": true,
"Encrypted": true,
"IntegrityTestOnWrite": false},
"Name": {
"Values": [{
"Text": "testNew",
"Culture": "de" }, {
"Text": "testNew",
"Culture": "en" }] },
"doNotAttachBlobStoreProvider": false}
}
Response:
{ }
Exceptions
Type | Condition |
---|---|
ServiceException | The connection id {connectionId} isn't valid or has expired (10008) |
ServiceException | Name is not unique for culture ({culture}): {name} (10066) |
ServiceException | The administrative context {administrativeContext} is already checked out by user {displayLoginName} (10129) |
ServiceException | Verification code is needed: Verification code not yet verified (10152) |