Search Results for

    Show / Hide Table of Contents

    Method ProcessDataValidate

    ProcessDataValidate(String, WDP_ProcessDataValidateContract)

    Set model/class for WebDataProvider method ProcessDataValidate

    Declaration
    WDP_ProcessDataValidateContract ProcessDataValidate(string connectionId, WDP_ProcessDataValidateContract processDataValidate)
    Parameters
    Type Name Description
    System.String connectionId

    The connection id to identify your connection. See also ConnectionId

    WDP_ProcessDataValidateContract processDataValidate

    Object that represents XML schema data to transfer. See also WDP_ProcessDataValidateContract

    Returns
    Type Description
    WDP_ProcessDataValidateContract

    Class represend XML node schema for ProcessDataValidate

    Examples

    POST http://YourServerName/InfoShare/Json/WebDataProvider/ProcessDataValidate

    Example for process data validate.

    {
       "Action": "Validate",
       "SourceApplication": "MobileWebClient",
       "SourceDialog": "ImportDialog",
       "SourceAction": "",
       "CurrentCulture": "de",
       "UICulture": "de",
       "EnvironmentValues": {
          "Common": {
            "FileName": "DigiSeal_Inline_Signature.PDF",
            "FileExtension": ".PDF",
            "FileSizeInBytes": "400162",
            "LoggedInUserId": "26b31fbb-65dd-11e6-9bdd-000c29b56fd0",
            "LoggedInUserName": "kon1",
            "LoggedInUserDisplayName": "kon1_anzeigename",
            "ServerName": "wchorkon03",
            "Port": "23450",
            "ClientIPAddress": "172.28.5.152",
            "IsFirstDocument": null,
            "UsePreviousImportValues": null,
            "AssignedGroups": [{
              "text": "Admin"  }, {
              "text": "User1" }],
            "Tenant": "" },
          "Additional": {
            "FileCreationDate": "",
            "FileChangeDate": "",
            "FilePath": "",
            "FileLastAccess": "2019-08-22T09:20:35.603Z",
            "WebServiceSessionID": "e2c1d840-ea21-4cf8-88c8-1eef7c2a9a6f",
            "WebServiceURL": "http://wchorkon03:80/InfoShare/Json/",
            "BaseDocumentId": ""  }},
        "ImportValues": {
          "CurrentDocument": {
            "FilingValues": [{
              "Id": "LifeCycle",
              "Name": "",
              "IsVisible": "true",
              "IsEnabled": "true",
              "Text": "1bf485a4-5cd1-11e7-9bff-000c29b56fd0"
              }, {
             "Id": "ImportTemplate",
             "Name": "StandardImport",
             "IsVisible": "true",
             "IsEnabled": "true",
            "Text": "696b7919-65df-11e6-9bdd-000c29b56fd0" }],
             "Properties": [{
               "Id": "01000000-d596-485b-ace6-d64647a94277",
               "Name": "Sicherheitsbereich",
               "IsMultiKey": "false",
               "Type": "Guid",
               "Length": "0",
               "Decimals": "0",
               "AllowGetExternalList": "false",
               "IsInputForExternalListRequired": "false",
               "ExternalListName": "",
               "AllowMultiSelect": "false",
               "IsRequired": "false",
               "AllowAutoComplete": "false",
               "IsVisible": "false",
               "IsEnabled": "false",
               "IsReadOnly": "true",
               "Text": "46e6778e-80aa-e711-949e-00155d062902"
               }, {
               "Id": "7dfaffd0-aa89-11e7-829b-fc4dd43e1709",
               "Name": "Kunde",
               "IsMultiKey": "false",
               "Type": "String",
               "Length": "100",
               "Decimals": "0",
               "AllowGetExternalList": "true",
               "IsInputForExternalListRequired": "false",
               "ExternalListName": "Kunde",
               "AllowMultiSelect": "false",
               "IsRequired": "false",
               "AllowAutoComplete": "true",
               "IsVisible": "true",
               "IsEnabled": "false",
               "IsReadOnly": "false",
               "Text": null }],
             "CanChangeProperties": "" } },
           "PropertiesForAction": null,
           "CheckInSettings": [],
           "Errors": []}
    }

    Response:

    {
       "Action": "Validate",
       "SourceApplication": "MobileWebClient",
       "SourceAction": "",
       "CurrentCulture": "de",
       "UICulture": "de",
       "EnvironmentValues": {
         "Common": {
           "FileName": "",
           "FileExtension": "",
           "FileSizeInBytes": "",
           "LoggedInUserId": "0100a003-38a7-11d8-a902-0050bf427e8f",
           "LoggedInUserName": "dciadmin",
           "LoggedInUserDisplayName": "DCI administrator",
           "ServerName": "VKOJDEV01",
           "Port": "23450",
           "ClientIPAddress": "172.28.5.120",
           "IsFirstDocument": null,
           "UsePreviousImportValues": null,
           "AssignedGroups": [{
             "text": "Admins" }, {
             "text": "AllUsersAndRoles" }, {
             "text": "AllUsersSomeROles" }],
           "Tenant": ""},
         "Additional": {
           "FileCreationDate": "",
           "FileChangeDate": "",
           "FilePath": "",
           "FileLastAccess": "",
           "WebServiceSessionID": "8be5cf64-8ec3-44eb-ba2f-02339a964e01",
           "WebServiceURL": "http://schortest02:80/InfoShare/Json/",
           "BaseDocumentId": "" }},
         "ImportValues": {
           "CurrentDocument": {
             "FilingValues": [{
               "Id": "ImportTemplate",
               "Name": "",
               "IsVisible": "true",
               "IsEnabled": "true",
               "Text": null
               }, {
               "Id": "LifeCycle",
               "Name": "",
               "IsVisible": "false",
               "IsEnabled": "false",
               "Text": null
               }, {
               "Id": "DocumentName",
               "Name": "001_webdataprovider_error",
               "IsVisible": "false",
               "IsEnabled": "false",
               "Text": "1950c2ab-80aa-e711-949e-00155d062902"}],
             "Properties": [{
               "Id": "01000000-d596-485b-ace6-d64647a94277",
               "Name": "Sicherheitsbereich",
               "IsMultiKey": "false",
               "Type": "Guid",
               "Length": "0",
               "Decimals": "0",
               "AllowGetExternalList": "false",
               "IsInputForExternalListRequired": "false",
               "ExternalListName": "",
               "AllowMultiSelect": "false",
               "IsRequired": "false",
               "AllowAutoComplete": "false",
               "IsVisible": "false",
               "IsEnabled": "false",
               "IsReadOnly": "true",
               "Text": "46e6778e-80aa-e711-949e-00155d062902"
               }, {
               "Id": "7dfaffd0-aa89-11e7-829b-fc4dd43e1709",
               "Name": "Kunde",
               "IsMultiKey": "false",
               "Type": "String",
               "Length": "100",
               "Decimals": "0",
               "AllowGetExternalList": "true",
               "IsInputForExternalListRequired": "false",
               "ExternalListName": "Kunde",
               "AllowMultiSelect": "false",
               "IsRequired": "false",
               "AllowAutoComplete": "true",
               "IsVisible": "true",
               "IsEnabled": "false",
               "IsReadOnly": "false",
               "Text": null }],
             "CanChangeProperties": "" } },
           "PropertiesForAction": null,
           "CheckInSettings": [],
           "Errors": []}
    }
    Exceptions
    Type Condition
    ServiceException

    The connection id {connectionId} isn't valid or has expired (10008)

    ServiceException

    The WebDataProvider URL is not reachable {serviceUrl} (10139)

    ServiceException

    The action wasn't successfully completed {action, soapResult} (10140)

    ServiceException

    Verification code is needed: Verification code not yet verified (10152)

    Back to top Copyright © Kendox