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:
{ "85a5d8ee-60ae-4e07-8540-6787921c1771": "009b62f2-74e2-4ef9-9ccf-edf28e2b57da", "b34139e6-4ac1-4ecb-8ecb-a877bc12e584": "488cfbb8-d29b-44ef-a98f-11ac1c9fdc82" }
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>85a5d8ee-60ae-4e07-8540-6787921c1771</Key> <Value>009b62f2-74e2-4ef9-9ccf-edf28e2b57da</Value> </KeyValueOfguidguid> <KeyValueOfguidguid> <Key>b34139e6-4ac1-4ecb-8ecb-a877bc12e584</Key> <Value>488cfbb8-d29b-44ef-a98f-11ac1c9fdc82</Value> </KeyValueOfguidguid> </ArrayOfKeyValueOfguidguid>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.