POST jxc_api/ProductPriceStrategy/NewUpdatePurchaseStrategy

Request Information

URI Parameters

None.

Body Parameters

UpdateStrategyModel
NameDescriptionTypeAdditional information
Status

string

None.

soPriceSources

Collection of ProductPriceSource

None.

poPriceSources

Collection of PurchasePriceSource

None.

Request Formats

application/json, text/json

Sample:
{
  "Status": "sample string 1",
  "soPriceSources": [
    1010,
    1010
  ],
  "poPriceSources": [
    1010,
    1010
  ]
}

application/xml, text/xml

Sample:
<UpdateStrategyModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.NewApi.Setting">
  <Status>sample string 1</Status>
  <poPriceSources xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonScm.Model.Setting.Product">
    <d2p1:PurchasePriceSource>PurchasePriceLevel</d2p1:PurchasePriceSource>
    <d2p1:PurchasePriceSource>PurchasePriceLevel</d2p1:PurchasePriceSource>
  </poPriceSources>
  <soPriceSources xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonScm.Model.Setting.Product">
    <d2p1:ProductPriceSource>CustLevel</d2p1:ProductPriceSource>
    <d2p1:ProductPriceSource>CustLevel</d2p1:ProductPriceSource>
  </soPriceSources>
</UpdateStrategyModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

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>