Get an export configuration
Name | Type | Description |
---|---|---|
id | Int32 | Id of the export to get |
The following request format is required for this method.
POST https://eu-ext.linnworks.net/api/ImportExport/GetExport
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.
id=1
This is an example of the response JSON. Results will vary depending on your data.
{
"Specification": {
"ExportColumnNames": true,
"Delimiter": "sample string 2",
"Escape": "sample string 3",
"CustomScript": "sample string 4",
"ExportTimeZone": "sample string 5",
"Feed": null,
"ColumnMappings": [
{
"Order": 1,
"Filters": {
"NumericFilters": [
{
"Type": 0,
"Value": 1.0
}
],
"BooleanFilter": {
"Value": true
},
"DateRangeFilters": [
{
"ValueFrom": "2023-01-10T13:49:55.627999+00:00",
"ValueTo": "2023-01-10T13:49:55.627999+00:00",
"Days": 3,
"Enabled": true,
"Type": "sample string 5"
}
],
"StringFilters": [
{
"Type": 0,
"Value": "sample string 1"
}
]
},
"ExportToFile": true,
"SubQuerySelection": [
{
"SelectionFieldName": "sample string 1",
"SelectionFieldValue": "sample string 2"
}
],
"FileColumn": "sample string 3",
"Column": "sample string 4",
"Expression": "sample string 5",
"DefaultValue": "sample string 6",
"Visible": true
}
],
"ExecutionOptions": [
{
"OptionDetails": {
"Type": "sample string 1",
"Key": "sample string 2"
},
"DisplayName": "sample string 1",
"Value": {
}
}
]
},
"Register": {
"LastQueryExecuted": "2023-01-10T13:49:55.627999+00:00",
"LastExportStatus": true,
"Id": 2,
"Type": "sample string 3",
"FriendlyName": "sample string 4",
"Executing": true,
"justOnce": true,
"Started": "2023-01-10T13:49:55.627999Z",
"Completed": "2023-01-10T13:49:55.627999Z",
"IsQueued": true,
"Enabled": true,
"IsNew": false,
"AllSchedulesDisabled": false,
"TimeZoneOffset": 9.1,
"NextSchedule": null
},
"Schedules": [
{
"Id": 1,
"Order": 2,
"Name": "sample string 3",
"Migrated": 64,
"ScheduleXML": "sample string 5",
"Configuration": {
"RepetitionType": 0,
"OneTimeDate": "2023-01-10T13:49:55.627999Z",
"DailyFrequency": 0,
"OccursFrequencyStartingDate": "2023-01-10T13:49:55.627999Z",
"OccursFrequencyEveryX": 1,
"WeeklyDays": "sample string 1",
"OccursFrequency": 0,
"OccursOnceAtTime": "sample string 2",
"OccursEveryHours": 1,
"StartingTime": "sample string 3",
"EndingTime": "sample string 4",
"Enabled": true
}
}
]
}