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 examplesURL Parameters
                Http verb: GET
            
                URI: Full url: http://se.api.anpasia.com/import/v2/{importId}/status
                
            
            
                URL parameters:
            | importId | String | Id 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 
             
  | ||||||||||||||||||||||||||||
Help
            Code examples