GET POST | /IntegrationUpdate/IntegrationUpdateGet | Gets information on your Integration Updates | Uses your API Key
and some Filters in an array format and returns the search results using the given filters.
Optionally, you can use ReturnTopNRecords to limit the number of the results to the
specified number (omit, or add ReturnTopNRecords = -1 to get all the available results).
The ReturnTopNRecords chooses the top records in a DiscountID descending order.
A. Get the first Integration Update with ID greater than 144490. The result is returned as an mvDiscounts object.
Value: {"Filters": [{
"FieldName": "IntegrationUpdateID",
"SearchOperator": "GreaterThan",
"SearchValue": 144490
}],"ReturnTopNRecords":1}
Response: {
"mvIntegrationUpdates": [
{
"IntegrationUpdateID": 144491,
"Entity": "stock",
"EntityIDs": "rm1##$rm2##$fg1_rm1_rm2",
"Action": "update",
"Application": "magento",
"Tries": 0,
"JsonData": [
{
"inventory_id": 3405,
"productID": 27388,
"stock_data": {
"stockqty": 999.8,
"stockqtyonhold": 0,
"stockalarmqty": 0,
"stocknonshippedqty": 0,
"stocknonreceivedqty": 0,
"stockwipcomponentqty": 0.2,
"stocknonreceivedwoqty": 0,
"stocknonallocatedwoqty": 2.8
}
},
{
"inventory_id": 3405,
"productID": 27389,
"stock_data": {
"stockqty": 999.8,
"stockqtyonhold": 0,
"stockalarmqty": 0,
"stocknonshippedqty": 0,
"stocknonreceivedqty": 0,
"stockwipcomponentqty": 0.2,
"stocknonreceivedwoqty": 0,
"stocknonallocatedwoqty": 2.8
}
},
{
"inventory_id": 3405,
"productID": 27390,
"stock_data": {
"stockqty": 0,
"stockqtyonhold": 0,
"stockalarmqty": 0,
"stocknonshippedqty": 0,
"stocknonreceivedqty": 0,
"stockwipcomponentqty": 0,
"stocknonreceivedwoqty": 3,
"stocknonallocatedwoqty": 3
}
}
],
"Payload": "",
"IntegrationUpdateDateTime": "/Date(1520009685830-0000)/"
}
],
"ResponseStatus": {
"ErrorCode": "0"
}
}
|
---|