Gets information on existing product-client relationships | Uses your API Key and some Filters in an array format and returns
the search results using 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 ProductID descending order.
A. Return all the product clients that are linked to product with "ProductID = 1". The results are returned as mvProductClient objects.
We can add one Filter as shown below:
Value: {
"Filters": [
{
"FieldName": "ProductID",
"SearchOperator": "Equals",
"SearchValue": "1"
}
]
}
Response: {
"mvProductClient": [
{
"ProductID": 1,
"ProductClientID": 1,
"ProductClientPrice": 0,
"ProductClientSKU": "",
"ProductClientDescription": "",
"DefaultSalesQuantity": 1,
"MinimumSalesQuantity": 1,
"MaximumSalesQuantity": 10
},
{
"ProductID": 1,
"ProductClientID": 2,
"ProductClientPrice": 0,
"ProductClientSKU": "",
"ProductClientDescription": "",
"DefaultSalesQuantity": 1,
"MinimumSalesQuantity": 1,
"MaximumSalesQuantity": 30
}
],
"ResponseStatus": {
"ErrorCode": "0"
}
}
|