Download Processed Orders to CSV
Name | Type | Description |
---|---|---|
request | DownloadOrdersToCSVRequest | Request parameter populated with search critera for the file download |
cancellationToken | CancellationToken | Request parameter populated with search critera for the file download |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/ProcessedOrders/DownloadOrdersToCSV
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.
request={
"SearchTerm": "sample string 1",
"SearchFilters": [
{
"SearchField": 0,
"SearchTerm": "sample string 1"
}
],
"DateField": "processed",
"FromDate": "2023-01-10T13:49:45.6305649+00:00",
"ToDate": "2023-01-10T13:49:45.6305649+00:00",
"SearchSorting": {
"SortField": "sample string 1",
"SortDirection": 0
}
}&cancellationToken={
"IsCancellationRequested": false,
"CanBeCanceled": false,
"WaitHandle": {
"Handle": {
"value": 1292
},
"SafeWaitHandle": {
"IsInvalid": false,
"IsClosed": false
}
}
}
This is an example of the response JSON. Results will vary depending on your data.
{
"Url": "sample string 1",
"DownloadProgress": 2.1,
"UploadProgress": 3.1,
"Id": "173ac2d1-2baf-47c0-9589-4468625fc2f4",
"CreationDate": "sample string 5"
}