POST api/SKU/SaveSKUReference

Request Information

URI Parameters

None.

Body Parameters

PromoSKUReference
NameDescriptionTypeAdditional information
id

integer

None.

skuId

integer

None.

promoSkuId

integer

None.

PromoFormat

integer

None.

VPCostPerUnit

decimal number

None.

skuReferencePromoDepthPercentages

Collection of EffectiveDateValue

None.

skuReferenceTransportNDutiesPercentages

Collection of EffectiveDateValue

None.

skuReferenceOtherCostsPercentages

Collection of EffectiveDateValue

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "skuId": 2,
  "promoSkuId": 3,
  "promoFormat": 4,
  "vpCostPerUnit": 5.0,
  "skuReferencePromoDepthPercentages": [
    {
      "id": 1,
      "value": 2.0,
      "effectiveDate": "2026-02-25T11:08:19.5927643+00:00"
    },
    {
      "id": 1,
      "value": 2.0,
      "effectiveDate": "2026-02-25T11:08:19.5927643+00:00"
    }
  ],
  "skuReferenceTransportNDutiesPercentages": [
    {
      "id": 1,
      "value": 2.0,
      "effectiveDate": "2026-02-25T11:08:19.5927643+00:00"
    },
    {
      "id": 1,
      "value": 2.0,
      "effectiveDate": "2026-02-25T11:08:19.5927643+00:00"
    }
  ],
  "skuReferenceOtherCostsPercentages": [
    {
      "id": 1,
      "value": 2.0,
      "effectiveDate": "2026-02-25T11:08:19.5927643+00:00"
    },
    {
      "id": 1,
      "value": 2.0,
      "effectiveDate": "2026-02-25T11:08:19.5927643+00:00"
    }
  ]
}

application/xml, text/xml

Sample:
<PromoSKUReference xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ICE.WebApi.Models">
  <PromoFormat>4</PromoFormat>
  <VPCostPerUnit>5</VPCostPerUnit>
  <id>1</id>
  <promoSkuId>3</promoSkuId>
  <skuId>2</skuId>
  <skuReferenceOtherCostsPercentages>
    <EffectiveDateValue>
      <effectiveDate>2026-02-25T11:08:19.5927643+00:00</effectiveDate>
      <id>1</id>
      <value>2</value>
    </EffectiveDateValue>
    <EffectiveDateValue>
      <effectiveDate>2026-02-25T11:08:19.5927643+00:00</effectiveDate>
      <id>1</id>
      <value>2</value>
    </EffectiveDateValue>
  </skuReferenceOtherCostsPercentages>
  <skuReferencePromoDepthPercentages>
    <EffectiveDateValue>
      <effectiveDate>2026-02-25T11:08:19.5927643+00:00</effectiveDate>
      <id>1</id>
      <value>2</value>
    </EffectiveDateValue>
    <EffectiveDateValue>
      <effectiveDate>2026-02-25T11:08:19.5927643+00:00</effectiveDate>
      <id>1</id>
      <value>2</value>
    </EffectiveDateValue>
  </skuReferencePromoDepthPercentages>
  <skuReferenceTransportNDutiesPercentages>
    <EffectiveDateValue>
      <effectiveDate>2026-02-25T11:08:19.5927643+00:00</effectiveDate>
      <id>1</id>
      <value>2</value>
    </EffectiveDateValue>
    <EffectiveDateValue>
      <effectiveDate>2026-02-25T11:08:19.5927643+00:00</effectiveDate>
      <id>1</id>
      <value>2</value>
    </EffectiveDateValue>
  </skuReferenceTransportNDutiesPercentages>
</PromoSKUReference>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.