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=,"
CreatedCounts,UpdatedCounts,DeletedCounts,UnchangedCounts,Exceptions,DownloadUrl,OkCount,ErrorCount,StatsCounter,Logs,ExceptionLogs
"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]