Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can use the following endpoint to get all imported data.

Method: GET

URL: https://dev-pim-client.wizart.ai/api/customerv2.1/imports

Authorization: Type: Bearer Token, Token: Bearer eyJ0eXAiOiJKV1QiLCJhbG…

Headers: Accept: application/json, Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbG…

Expand
titleRequest example
Image RemovedImage AddedImage Added

CURL:

Code Block
curl --location --request GET 'https://pim-client.wizart.ai/api/customerv2.1/imports' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbG…<Bearer Token>'
codelanguage
Expand
title
Response example
json
Code Block
{
 
  "data": [
   
    {
     
      "idtype": 7486,
            "path": null,
     "<string>",
      "original_nameid": "Test1.csv<string>",
     
      "statusattributes": "success",
            "status_message": "Total rows imported: 125 out of 125",
            "result": {
  
             "total_rows"path": "125<string>",
       
        "importedoriginal_rowsname": "125"
            }<string>",
            "mapping_id": 545,
            "created_at": "2021-10-26 15:34:10""status": "<string>",
            "updatedstatus_atmessage": "2021-10-26 15:35:43<string>",
            "timezoneresult": "UTC"
        }<string>",
        {
            ""mapping_id": 7487,
            "path<string>": null,
 
          "originalcreated_nameat": "Test2.csv<string>",

           "status": "success",
            "status_message"updated_at": "Total rows imported: 125 out of 125<string>",

           "resulttimezone": {
                "total_rows": "135","<string>"
           }
    "imported_rows": "135"
            },
     {
      "mapping_idtype": 545,
            "created_at": "2021-10-26 15:37:01",
     "<string>",
      "updated_atid": "2021-10-26 15:38:35<string>",
     
      "timezoneattributes": "UTC"
        },
        {

           "idpath": 7489,
            "path": null"<string>",
            "original_name": "Test3.csv<string>",

           "status": "success<string>",
  
         "status_message": "Total rows imported: 125 out of 125<string>",
            "result": {
                "total_rows": "165",
                "imported_rows": "165"
            },
  <string>",
         "mapping_id": 545"<string>",
            "created_at": "2021-10-27 08:04:34<string>",

           "updated_at": "2021-10-27 08:06:11<string>",
   
        "timezone": "UTC<string>"
      }
    }
  ]
}