Back

Search

Search

Methods

Inventory

Orders

ImportExport /DownloadImportedFile

Response: HttpResponseMessage



Download an already imported file

Parameters

NameTypeDescription
fileIdGuidId of the file to get

HTTP Endpoint

Server /ImportExport / DownloadImportedFile

Permissions

GlobalPermissions.Settings.ImportExport.ImportNode

Example Code

Example Request

The following request format is required for this method.

POST https://eu-ext.linnworks.net//api/ImportExport/DownloadImportedFile HTTP/1.1
Host: eu-ext.linnworks.net
Connection: keep-alive
Accept: application/json, text/javascript, */*; q=0.01
Origin: https://www.linnworks.net
Accept-Language: en
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.90 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: https://www.linnworks.net/
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE

fileId=45c544ab-045e-438e-86f3-62c9938b6487

Response

This is an example response. Results may vary depending on your data.

{
  "Version": {
    "Major": 0,
    "Minor": 0,
    "Build": -1,
    "Revision": -1,
    "MajorRevision": -1,
    "MinorRevision": -1
  },
  "Content": null,
  "StatusCode": 100,
  "ReasonPhrase": "sample string 1",
  "Headers": [],
  "RequestMessage": null,
  "IsSuccessStatusCode": false
}