Search Results for

    Show / Hide Table of Contents

    Method UpdateImportTemplate

    UpdateImportTemplate(String, ImportTemplateContract)

    Update an import template

    Declaration
    void UpdateImportTemplate(string connectionId, ImportTemplateContract importTemplate)
    Parameters
    Type Name Description
    System.String connectionId

    The connection id to identify your connection. See also ConnectionId

    ImportTemplateContract importTemplate

    ImportTemplate to update

    Examples

    POST http://YourServerName/InfoShare/Json/Common/UpdateImportTemplate

    Example for update an import template.

    {
       "connectionId": "b6742bb8-ef97-44ae-819b-a2fa2200908a",
       "importTemplate": {
         "Id: "3a2cfae8-6ae0-e911-a94a-00155d290a08",
         "Name": {
           "Values": [{
             "Text": "test",
             "Culture": "de" }, {
             "Text": "test",
             "Culture": "en" }] },
         "PropertyPageTemplateId": "04be9b33-6ae0-e911-a94a-00155d290a08",
         "ProtectionDomainId": "0100a000-38a7-11d8-a902-0050bf427e8f",
         "InfoStoreId": "e46bc061-b7cf-e911-a939-00155d290a08",
         "SignatureProfileId": "",
         "LifeCycleId": "f90cd545-6cd0-e911-a93a-00155d290a08",
         "StartProcessAfterImport": false,
         "ProcessTemplateId": "24a927d1-21d2-e911-a93c-00155d290a08",
         "CanChangeProperties": false,
         "CanChangeFolders": true }
    }

    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

    Import template not found {importTemplate} (10073)

    ServiceException

    The administrative context {administrativeContext} is already checked out by user {displayLoginName} (10129)

    Back to top Copyright © Kendox