POST api/product/parents/import

Set PCRs en masse

Request Information

URI Parameters

None.

Body Parameters

Dictionary containing Key (Child Guid), Value (Parent Guid) pairs, if value is null clears PCR

Dictionary of globally unique identifier [key] and globally unique identifier [value]

Request Formats

application/json, text/json

Sample:
{
  "d182c20f-08a7-4465-b3ed-c150bf629793": "f95b1ca7-9603-4a46-95d6-d9d6b36d66c1",
  "dc5f7a9f-41c2-4805-9de5-1080ec6d23c7": "1d58eff2-7893-489a-83e0-e1f94efe64ba"
}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfguidNullableOfguidGOBf0pnW xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfguidNullableOfguidGOBf0pnW>
    <Key>d182c20f-08a7-4465-b3ed-c150bf629793</Key>
    <Value>f95b1ca7-9603-4a46-95d6-d9d6b36d66c1</Value>
  </KeyValueOfguidNullableOfguidGOBf0pnW>
  <KeyValueOfguidNullableOfguidGOBf0pnW>
    <Key>dc5f7a9f-41c2-4805-9de5-1080ec6d23c7</Key>
    <Value>1d58eff2-7893-489a-83e0-e1f94efe64ba</Value>
  </KeyValueOfguidNullableOfguidGOBf0pnW>
</ArrayOfKeyValueOfguidNullableOfguidGOBf0pnW>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.