Make a request »

ImportService.GetImportStatus

Gets the status of the import that has been previously added to the importer queue.

2015-12-29 v2: In V2 it gives more detailed response. For failed imports, the response contains the failure code and the failure message .

See code examples


URL Parameters

Http verb: GET
URI: Full url: http://se.api.anpasia.com/import/v2/{importId}/status
URL parameters:
importIdStringId of the import

Body parameters

Body parameters
Not used

Response

Body parameters
returns
The import status and failure code (only available if imports fails). Import status codes: -1:Unknown Status, 0:Waiting for import start, 1:Processing, 2.Completed, 3:Failed. Failure Codes: 1:Unknown error, 2:Import file not found, 3:Error when downloading the import file, 4:Timeout when downloading the import file, 5:Import file format incorrect, 6:Incorrect data in the import file

Code Int32 The response Code.
Message String The response Message.
Result
The response Result.

Result Int32 Import status result code
Message String Import status result message
Failure
Import failure

Code Int32 Failure code
Message String Failure message
Body Example


Help

Code examples