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:
{
  "6a68e68c-e5eb-4850-a198-bb9484f8e717": "898990fa-155d-4183-81a3-a3b136ae1d9a",
  "1376f807-fea3-4bd3-8ee9-7910c9c66f44": "5700fd6f-5acc-4ae1-bd83-d9cda0cb3c8e"
}

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>6a68e68c-e5eb-4850-a198-bb9484f8e717</Key>
    <Value>898990fa-155d-4183-81a3-a3b136ae1d9a</Value>
  </KeyValueOfguidguid>
  <KeyValueOfguidguid>
    <Key>1376f807-fea3-4bd3-8ee9-7910c9c66f44</Key>
    <Value>5700fd6f-5acc-4ae1-bd83-d9cda0cb3c8e</Value>
  </KeyValueOfguidguid>
</ArrayOfKeyValueOfguidguid>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.