Enable/disable a specific import
Name | Type | Description |
---|---|---|
importId | Int32 | Import id to enable/disable |
enable | Boolean | Boolean value to indicate the state |
The following request format is required for this method.
POST https://eu-ext.linnworks.net/api/ImportExport/EnableImport
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
This is an example of the request structure. Results will vary depending on your data.
importId=1&enable=true
This is an example of the response JSON. Results will vary depending on your data.
{
"LastFileChecksum": "sample string 1",
"ImportStatus": "sample string 2",
"ImportSkipped": true,
"Id": 4,
"Type": 0,
"FriendlyName": "sample string 5",
"Executing": true,
"justOnce": true,
"Started": "2023-01-10T13:49:55.5568743Z",
"Completed": "2023-01-10T13:49:55.5568743Z",
"IsQueued": true,
"Enabled": true,
"IsNew": false,
"TimeZoneOffset": 10.1,
"NextSchedule": null
}