Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

ImportExport /GetImport

Allows 150 calls per minute

Response: Import



Get an import configuration

Parameters

NameTypeDescription
idInt32Id of the import to get

Permissions

GlobalPermissions.Settings.ImportExport.ImportNode

Example Request

The following request format is required for this method.

Endpoint URL

POST https://eu-ext.linnworks.net/api/ImportExport/GetImport

Headers

Connection: keep-alive
Accept: application/json
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE

Request Body

This is an example of the request structure. Results will vary depending on your data.

id=1

Response

This is an example of the response JSON. Results will vary depending on your data.

{
  "Specification": {
    "Feed": null,
    "ColumnMappings": [
      {
        "AdditionalData": [
          {
            "Name": "sample string 1",
            "Value": "sample string 2"
          }
        ],
        "FileColumn": "sample string 1",
        "Column": "sample string 2",
        "Expression": "sample string 3",
        "DefaultValue": "sample string 4",
        "Visible": true
      }
    ],
    "ExecutionOptions": [
      {
        "OptionDetails": {
          "Type": "sample string 1",
          "Key": "sample string 2"
        },
        "DisplayName": "sample string 1",
        "Value": {
        }
      }
    ]
  },
  "Register": {
    "LastFileChecksum": "sample string 1",
    "ImportStatus": "sample string 2",
    "ImportSkipped": true,
    "Id": 4,
    "Type": 0,
    "FriendlyName": "sample string 5",
    "Executing": true,
    "justOnce": true,
    "Started": "2021-07-29T09:24:33.0495817Z",
    "Completed": "2021-07-29T09:24:33.0495817Z",
    "IsQueued": true,
    "Enabled": true,
    "IsNew": false,
    "AllSchedulesDisabled": false,
    "NextSchedule": null
  },
  "Schedules": [
    {
      "Id": 1,
      "Order": 2,
      "Name": "sample string 3",
      "ScheduleXML": "sample string 4",
      "Configuration": {
        "RepetitionType": 0,
        "OneTimeDate": "2021-07-29T09:24:33.0495817Z",
        "DailyFrequency": 0,
        "OccursFrequencyStartingDate": "2021-07-29T09:24:33.0495817Z",
        "OccursFrequencyEveryX": 1,
        "WeeklyDays": "sample string 1",
        "OccursFrequency": 0,
        "OccursOnceAtTime": "sample string 2",
        "OccursEveryHours": 1,
        "StartingTime": "sample string 3",
        "EndingTime": "sample string 4",
        "Enabled": true
      }
    }
  ]
}