GET api/ExportImport/HokifyImport?scopeId={scopeId}&importMode={importMode}&unixSecondsFrom={unixSecondsFrom}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
scopeId

integer

Default value is 1

importMode

ImportMode

Default value is Incremental

unixSecondsFrom

decimal number

None.

Body Parameters

None.

Response Information

Resource Description

ExportImportResult
NameDescriptionTypeAdditional information
CreatedCounts

Dictionary of string [key] and integer [value]

None.

UpdatedCounts

Dictionary of string [key] and integer [value]

None.

DeletedCounts

Dictionary of string [key] and integer [value]

None.

UnchangedCounts

Dictionary of string [key] and integer [value]

None.

Exceptions

Dictionary of string [key] and Collection of Exception [value]

None.

DownloadUrl

string

None.

OkCount

integer

None.

ErrorCount

integer

None.

StatsCounter

Dictionary of string [key] and integer [value]

None.

Response Formats

application/json, text/json

Sample:
{
  "CreatedCounts": {
    "sample string 1": 2,
    "sample string 3": 4
  },
  "UpdatedCounts": {
    "sample string 1": 2,
    "sample string 3": 4
  },
  "DeletedCounts": {
    "sample string 1": 2,
    "sample string 3": 4
  },
  "UnchangedCounts": {
    "sample string 1": 2,
    "sample string 3": 4
  },
  "Exceptions": {
    "sample string 1": [
      {
        "ClassName": "System.Exception",
        "Message": null,
        "Data": null,
        "InnerException": null,
        "HelpURL": "sample string 1",
        "StackTraceString": null,
        "RemoteStackTraceString": null,
        "RemoteStackIndex": 0,
        "ExceptionMethod": null,
        "HResult": 3,
        "Source": "sample string 2",
        "WatsonBuckets": null
      },
      {
        "ClassName": "System.Exception",
        "Message": null,
        "Data": null,
        "InnerException": null,
        "HelpURL": "sample string 1",
        "StackTraceString": null,
        "RemoteStackTraceString": null,
        "RemoteStackIndex": 0,
        "ExceptionMethod": null,
        "HResult": 3,
        "Source": "sample string 2",
        "WatsonBuckets": null
      }
    ],
    "sample string 2": [
      {
        "ClassName": "System.Exception",
        "Message": null,
        "Data": null,
        "InnerException": null,
        "HelpURL": "sample string 1",
        "StackTraceString": null,
        "RemoteStackTraceString": null,
        "RemoteStackIndex": 0,
        "ExceptionMethod": null,
        "HResult": 3,
        "Source": "sample string 2",
        "WatsonBuckets": null
      },
      {
        "ClassName": "System.Exception",
        "Message": null,
        "Data": null,
        "InnerException": null,
        "HelpURL": "sample string 1",
        "StackTraceString": null,
        "RemoteStackTraceString": null,
        "RemoteStackIndex": 0,
        "ExceptionMethod": null,
        "HResult": 3,
        "Source": "sample string 2",
        "WatsonBuckets": null
      }
    ]
  },
  "DownloadUrl": "sample string 1",
  "OkCount": 2,
  "ErrorCount": 3,
  "StatsCounter": {
    "sample string 1": 2,
    "sample string 3": 4
  }
}

text/csv

Sample:
"sep=,"
Name,ScopeId,Language,KeyColumn,DisplayColumn,TypeColumn,ExtendedScopeTable,ElementName,ElementNamePlural,WelcomeMessage,Properties,PropertyGroups,PropertySections,AddressDefinitions,Filters,DefaultOrder,AssociationFilterTables,AssociationPropertyNames,MergeColumns,TimeStamp,Type,GroupOrder,Date,Count,Info,Id,TemplateId,ParentTemplateId,Description,Subject,Body,IsBodyHtml,Priority,DeliveryNotificationOptions,ReferenceId,IsActive,Sort,Comment,DatePublish,DateExpires,Version,IsDeleted,History,Scope,RowNumber,Files,_Messages,CorrespondenceTemplateId,CorrespondenceTemplateTemplateId,CorrespondenceTemplateParentTemplateId,CorrespondenceTemplateScopeId,CorrespondenceTemplateName,ElementId,IsOptional,IsBulk,FileExtensions,SendAt,UserId,Privacy,ReceiverRole,AutoCreated,From,Sender,ReplyToList,To,CC,Bcc,Origin,Status,IdxMailElement,User,ActivityLogs,PendingTasks,SenderPortrait,ReplyToMatchingPercent,Items,ElementDisplayName,Command,DateExecuted,Data,ResultCode,ResultData,RetryCount,RetryInterval,CreatedCounts,UpdatedCounts,DeletedCounts,UnchangedCounts,Exceptions,DownloadUrl,OkCount,ErrorCount,StatsCounter,Logs,ExceptionLogs
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
sample string 1,2,sample string 3,sample string 4,sample string 5,sample string 6,,sample string 7,sample string 8,sample string 9,System.Collections.Generic.List`1[ASTLib.Types.Common.Property],System.Collections.Generic.List`1[ASTLib.Types.Common.PropertyGroup],System.Collections.Generic.List`1[ASTLib.Types.Common.PropertySection],System.Collections.Hashtable,"System.Collections.Generic.Dictionary`2[System.String,ASTLib.Types.Attributes.FilterColumnAttribute]","System.Collections.Generic.Dictionary`2[System.String,System.String]",System.Collections.Generic.List`1[System.String],System.Collections.Generic.List`1[System.String],System.Collections.Generic.List`1[System.String],2026-02-04 06:23:58,,"System.Collections.Generic.Dictionary`2[System.String,System.Int32]",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
,1,,,,,,,,,,,,,,,,,,,,,2026-02-04 06:24:07,1,sample string 1,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
,1,,,,,,,,,,,,,,,,,,,,,2026-02-04 06:24:07,1,sample string 1,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
sample string 5,2,,,,,,,,,,,,,,,,,,,sample string 7,,,,,1,sample string 3,sample string 4,sample string 6,sample string 8,sample string 9,True,sample string 11,sample string 12,sample string 13,True,15,sample string 16,04.02.2026 07:12:01 +01:00,04.02.2026 07:12:01 +01:00,04.02.2026 07:12:01 +01:00,True,sample string 21,ASTLib.Models.Scope,22,System.Object[],,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
sample string 14,12,,,,,,sample string 6,,,,,,,,,,,,,sample string 15,,,,,11,,,,sample string 24,sample string 25,True,sample string 27,sample string 28,sample string 31,True,33,sample string 34,04.02.2026 09:18:02 +01:00,04.02.2026 09:18:02 +01:00,04.02.2026 09:18:02 +01:00,True,sample string 39,ASTLib.Models.Scope,40,System.Object,,1,sample string 2,sample string 3,4,sample string 5,7,True,True,sample string 10,04.02.2026 09:18:02 +01:00,1,sample string 13,sample string 16,True,sample string 18,sample string 19,sample string 20,sample string 21,sample string 22,sample string 23,sample string 29,sample string 30,System.Collections.Generic.List`1[ASTLib.Models.IdxMailElement],ASTLib.Models.User,System.Collections.Generic.List`1[ASTLib.Models.ActivityLog],System.Collections.Generic.List`1[ASTLib.Models.PendingTask],ASTLib.Models.Attachment,42,,,,,,,,,,,,,,,,,,,,
sample string 14,12,,,,,,sample string 6,,,,,,,,,,,,,sample string 15,,,,,11,,,,sample string 24,sample string 25,True,sample string 27,sample string 28,sample string 31,True,33,sample string 34,04.02.2026 09:18:02 +01:00,04.02.2026 09:18:02 +01:00,04.02.2026 09:18:02 +01:00,True,sample string 39,ASTLib.Models.Scope,40,System.Object,,1,sample string 2,sample string 3,4,sample string 5,7,True,True,sample string 10,04.02.2026 09:18:02 +01:00,1,sample string 13,sample string 16,True,sample string 18,sample string 19,sample string 20,sample string 21,sample string 22,sample string 23,sample string 29,sample string 30,System.Collections.Generic.List`1[ASTLib.Models.IdxMailElement],ASTLib.Models.User,System.Collections.Generic.List`1[ASTLib.Models.ActivityLog],System.Collections.Generic.List`1[ASTLib.Models.PendingTask],ASTLib.Models.Attachment,42,,,,,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,System.Collections.Generic.List`1[ASTLib.Types.Common.UploadedFile],,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
,,,,,,,sample string 1,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,ASTLib.Types.Workflow.WorkflowItem[],,,,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,System.Collections.Generic.List`1[ASTLib.Types.Common.UploadedFile],,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
sample string 5,4,,,,,,sample string 9,,,,,,,,,,,,,,,04.02.2026 14:21:47 +01:00,,,3,,,,,,,,,sample string 12,True,14,sample string 15,04.02.2026 14:21:47 +01:00,04.02.2026 14:21:47 +01:00,04.02.2026 14:21:47 +01:00,True,sample string 20,ASTLib.Models.Scope,1,,,,,,,,1,,,,,,,,,,,,,,,,sample string 8,,,,,,,,sample string 2,sample string 6,04.02.2026 14:21:47 +01:00,sample string 10,1,sample string 11,1,1,,,,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,"System.Collections.Generic.Dictionary`2[System.String,System.Int32]","System.Collections.Generic.Dictionary`2[System.String,System.Int32]","System.Collections.Generic.Dictionary`2[System.String,System.Int32]","System.Collections.Generic.Dictionary`2[System.String,System.Int32]","System.Collections.Generic.Dictionary`2[System.String,System.Collections.Generic.List`1[System.Exception]]",sample string 1,2,3,"System.Collections.Generic.Dictionary`2[System.String,System.Int32]",System.Collections.Generic.List`1[System.String],System.Collections.Generic.List`1[System.String]