PUT api/{database}/SpecPrice/{specPriceId}

No Documentation Found.



Request Information

Parameters

NameDescriptionAdditional information
specPriceId No Documentation Found.

Define this parameter in the request URI.

value No Documentation Found.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "messages": [],
  "canChange": true,
  "cannotChangeReason": "sample string 2",
  "currencyId": "sample string 3",
  "customerId": "sample string 4",
  "dateEnd": "sample string 5",
  "dateStart": "sample string 6",
  "description": "sample string 7",
  "discountGroupId": "sample string 8",
  "isPromotion": true,
  "pricelistId": "sample string 10",
  "productId": "sample string 11",
  "specPriceId": 12,
  "specPriceLines": null
}

application/xml, text/xml

Sample:
<SpecPrice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Sales.Edit">
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 2</CannotChangeReason>
  <CurrencyId>sample string 3</CurrencyId>
  <CustomerId>sample string 4</CustomerId>
  <DateEnd>sample string 5</DateEnd>
  <DateStart>sample string 6</DateStart>
  <Description>sample string 7</Description>
  <DiscountGroupId>sample string 8</DiscountGroupId>
  <IsPromotion>true</IsPromotion>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <PricelistId>sample string 10</PricelistId>
  <ProductId>sample string 11</ProductId>
  <SpecPriceId>12</SpecPriceId>
  <SpecPriceLines xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Sales.Lists" i:nil="true" />
</SpecPrice>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "messages": [],
  "canChange": true,
  "cannotChangeReason": "sample string 2",
  "currencyId": "sample string 3",
  "customerId": "sample string 4",
  "dateEnd": "sample string 5",
  "dateStart": "sample string 6",
  "description": "sample string 7",
  "discountGroupId": "sample string 8",
  "isPromotion": true,
  "pricelistId": "sample string 10",
  "productId": "sample string 11",
  "specPriceId": 12,
  "specPriceLines": null
}

application/xml, text/xml

Sample:
<SpecPrice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Sales.Edit">
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 2</CannotChangeReason>
  <CurrencyId>sample string 3</CurrencyId>
  <CustomerId>sample string 4</CustomerId>
  <DateEnd>sample string 5</DateEnd>
  <DateStart>sample string 6</DateStart>
  <Description>sample string 7</Description>
  <DiscountGroupId>sample string 8</DiscountGroupId>
  <IsPromotion>true</IsPromotion>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <PricelistId>sample string 10</PricelistId>
  <ProductId>sample string 11</ProductId>
  <SpecPriceId>12</SpecPriceId>
  <SpecPriceLines xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Sales.Lists" i:nil="true" />
</SpecPrice>