POST api/preferredsuppliers
Set preferred supplier for a list of product, supplier pairs
Request Information
URI Parameters
None.
Body Parameters
Dictionary containing Key (Product Guid), Value (SupplierIdentifier) pairs
Dictionary of globally unique identifier [key] and globally unique identifier [value]Request Formats
application/json, text/json
Sample:
{
"4033047a-8bfc-44ad-b5d4-a855b9c9c580": "b3c7ef0b-a816-4704-8a5d-e8c67663c5eb",
"ad03643c-b51c-4b08-9762-d3b6bce8e396": "7c8f143c-f8dc-44ea-8b1a-bc08364950f1"
}
application/xml, text/xml
Sample:
<ArrayOfKeyValueOfguidguid xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<KeyValueOfguidguid>
<Key>4033047a-8bfc-44ad-b5d4-a855b9c9c580</Key>
<Value>b3c7ef0b-a816-4704-8a5d-e8c67663c5eb</Value>
</KeyValueOfguidguid>
<KeyValueOfguidguid>
<Key>ad03643c-b51c-4b08-9762-d3b6bce8e396</Key>
<Value>7c8f143c-f8dc-44ea-8b1a-bc08364950f1</Value>
</KeyValueOfguidguid>
</ArrayOfKeyValueOfguidguid>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.