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=,"
Id,ScopeId,Name,CandidateId,PreferredKind,PreferredTypes,PreferredCategories,PreferredPositions,PreferredEmloyerSelectionMode,PreferredOrganisationIds,PreferredRegions,PreferredSallery,PreferredStartDate,PreferredDurance,PreferredText,CurrentStatus,CurrentJobHuntingSince,CurrentEmployer,CurrentKind,CurrentType,CurrentCategory,CurrentPosition,CurrentSallery,CurrentChangeReason,CurrentNoticePeriod,CurrentEndOfEducation,CurrentEarliestEntryDate,CurrentExpectations,CoverLetter,VideoUrl,Consent,ConsentGDPR,Status,ReferenceId,IsActive,Sort,Comment,DatePublish,DateExpires,Version,IsDeleted,History,Candidate,Scope,RowNumber,CoverLetterFile,CandidateName,_Messages,_ActivityLogs,ElementDisplayName,Command,Date,DateExecuted,ElementName,ElementId,Data,ResultCode,ResultData,RetryCount,RetryInterval,CreatedCounts,UpdatedCounts,DeletedCounts,UnchangedCounts,Exceptions,DownloadUrl,OkCount,ErrorCount,StatsCounter,Logs,ExceptionLogs
1,2,sample string 3,1,sample string 4,sample string 5,sample string 6,sample string 7,1,sample string 8,sample string 9,sample string 10,sample string 11,sample string 12,sample string 13,sample string 14,2026-02-14 15:02:42,sample string 15,sample string 16,sample string 17,sample string 18,sample string 19,sample string 20,sample string 21,sample string 22,2026-02-14 15:02:42,2026-02-14 15:02:42,sample string 23,sample string 24,sample string 25,True,True,sample string 27,sample string 28,True,30,sample string 31,14.02.2026 15:02:42 +01:00,14.02.2026 15:02:42 +01:00,14.02.2026 15:02:42 +01:00,True,sample string 36,,ASTLib.Models.Scope,37,System.Object,,,System.Collections.Generic.List`1[ASTLib.Models.ActivityLog],,,,,,,,,,,,,,,,,,,,,,
3,4,sample string 5,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,sample string 8,sample string 12,True,14,sample string 15,14.02.2026 16:15:00 +01:00,14.02.2026 16:15:00 +01:00,14.02.2026 16:15:00 +01:00,True,sample string 20,,ASTLib.Models.Scope,1,,,,,sample string 2,sample string 6,14.02.2026 16:15:00 +01:00,14.02.2026 16:15:00 +01:00,sample string 9,1,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]