PUT pricatSupplierSubGroups

Request Information

URI Parameters

None.

Body Parameters

SetPricatSupplierSubGroup
NameDescriptionTypeAdditional information
SupplierId

globally unique identifier

None.

SubGroupMappings

Collection of SetPricatSupplierSubGroupRequest

None.

Remarks

None.

Example

None.

Request Formats

application/json, text/json

Sample:
{
  "SupplierId": "f9240d0d-fbdc-40e4-8f13-e6df48c5ed14",
  "SubGroupMappings": [
    {
      "PricatSupplierSubGroupId": 1,
      "SubGroupId": 2
    },
    {
      "PricatSupplierSubGroupId": 1,
      "SubGroupId": 2
    }
  ]
}

application/xml, text/xml

Sample:
<SetPricatSupplierSubGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Compilator.DDAPI.DTO.Pricat">
  <SubGroupMappings>
    <SetPricatSupplierSubGroupRequest>
      <PricatSupplierSubGroupId>1</PricatSupplierSubGroupId>
      <SubGroupId>2</SubGroupId>
    </SetPricatSupplierSubGroupRequest>
    <SetPricatSupplierSubGroupRequest>
      <PricatSupplierSubGroupId>1</PricatSupplierSubGroupId>
      <SubGroupId>2</SubGroupId>
    </SetPricatSupplierSubGroupRequest>
  </SubGroupMappings>
  <SupplierId>f9240d0d-fbdc-40e4-8f13-e6df48c5ed14</SupplierId>
</SetPricatSupplierSubGroup>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SetPricatSupplierSubGroup'.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>