Qc.getExternalStatuses
Work In Progress
Supported only by limited number of ventures.
- Used to fetch external quality control status of the product.
Request
Description
This call requests for the next limit
amount of status entries with ID more then fromId
.
JSON example:
[
{
"api":1,
"method":"auth",
"params":{
"username":"...",
"password":"..."
},
"id":1
},
{
"api":1,
"method":"Qc.getExternalStatuses",
"params":{
"fromId":50035,
"limit":1000
},
"id":1
}
]
Request fields
Field name |
Type |
Value |
Description |
---|---|---|---|
fromId |
integer |
50035 |
Last processed entity ID. |
limit |
integer |
1000 |
Expected number of entries |
Response
Description
Response contains not more then limit
amount of entries with changed statuses.
JSON example
[{
"api": 1,
"result": [{
"id": "12,11",
"sku": "PB896AEAA1WLINTZAL-567",
"product_id": "2469",
"qc_status": "ZAON,ZATERR",
"qc_details": "ZAON_01,ZATERR_02",
"created_at": "2015-12-03 15:07:17"
}, {
"id": "13",
"sku": "PB896AEAA1USINTZAL-168",
"product_id": "2404",
"qc_status": "ZAON",
"qc_details": "ZAON_01",
"created_at": "2015-12-03 15:07:17"
}, {
"id": "14",
"sku": "PB896D6AA003INTZAL-11",
"product_id": "3",
"qc_status": "ZAERR",
"qc_details": "ZAERR_23",
"created_at": "2015-12-03 15:07:17"
}]
"id": 1
}]
Response fields:
Field name |
Type |
Value |
Description |
---|---|---|---|
|
string |
"50035,1" |
ID of the entity (at the moment comma separated and chronologically ordered) |
|
string |
"NI122O04U-Q11000M000" |
SellerCenter SKU of the Product |
|
string |
"42" |
Product ID
( |
|
string |
"ZATERR,ZATERR" |
QC statuses (at the moment comma separated and chronologically ordered) |
|
string |
"ZATERR02,ZATERR02" |
QC details (at the moment comma separated and chronologically ordered) |
|
string |
"2015-11-24 11:23:33" |
Date when the latest QC status was imported |