...
You can use the following endpoint to get all imported data.
Method: GET
URL: https://pim-client.wizart.ai/api/customerv2.1/imports
Authorization: Type: Bearer Token, Token: Bearer eyJ0eXAiOiJKV1QiLCJhbG…
Headers: Accept: application/json, Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbG…
Expand |
---|
|
Code Block |
---|
{
"data": [
{
"idtype": 7486,
"<string>",
"pathid": null"<string>",
"original_name"attributes": "Test1.csv",
{
"statuspath": "success<string>",
"statusoriginal_messagename": "Total rows imported: 125 out of 125<string>",
"resultstatus": {
"<string>",
"totalstatus_rowsmessage": "125<string>",
"imported_rows"result": "125"
}<string>",
"mapping_id": 545,
"<string>",
"created_at": "2021-10-26 15:34:10<string>",
"updated_at": "2021-10-26 15:35:43<string>",
"timezone": "UTC<string>"
}
}, },
{
"id"type": 7487"<string>",
"pathid": null"<string>",
"original_name"attributes": "Test2.csv",{
"statuspath": "success<string>",
"statusoriginal_messagename": "Total rows imported: 125 out of 125<string>",
"resultstatus": {
"<string>",
"totalstatus_rowsmessage": "135<string>",
"imported_rowsresult": "135"
},
<string>",
"mapping_id": 545"<string>",
"created_at": "2021-10-26 15:37:01<string>",
"updated_at": "2021-10-26 15:38:35<string>",
"timezone": "UTC<string>"
},
}
{
"id": 7489,
"path": null,
"original_name": "Test3.csv",
"status": "success",
"status_message": "Total rows imported: 125 out of 125",
"result": {
"total_rows": "165",
"imported_rows": "165"
},
"mapping_id": 545,
"created_at": "2021-10-27 08:04:34",
"updated_at": "2021-10-27 08:06:11",
"timezone": "UTC"
}]
} |
|
Delete specific import by Id
You can use the following endpoint to get all imported data.
Method: DELETE
URL: https://dev-pim-client.wizart.ai/api/v2.1/imports/{importId}
Authorization: Type: Bearer Token, Token: Bearer eyJ0eXAiOiJKV1QiLCJhbG…
Headers: Accept: application/json
Expand |
---|
Image AddedImage Added CURL: Code Block |
---|
curl --location --request DELETE 'https://dev-pim-client.wizart.ai/api/v2.1/imports/<integer>' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <Bearer Token>' |
|
Expand |
---|
|
Code Block |
---|
{
"message": "<string>"
} |
|