POST pricelist/UpdateVersion

Request Information

URI Parameters

None.

Body Parameters

PricelistVersionEntity
NameDescriptionTypeAdditional information
TenantId

integer

None.

PriceVersionId

integer

None.

PricelistId

integer

None.

Version

integer

None.

StartDate

date

None.

EndDate

date

None.

IsDefault

boolean

None.

Active

boolean

None.

VersionName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TenantId": 1,
  "PriceVersionId": 2,
  "PricelistId": 3,
  "Version": 4,
  "StartDate": "2026-04-17T11:33:32.8489361+00:00",
  "EndDate": "2026-04-17T11:33:32.8489361+00:00",
  "IsDefault": true,
  "Active": true,
  "VersionName": "sample string 7"
}

text/html

Sample:
{"TenantId":1,"PriceVersionId":2,"PricelistId":3,"Version":4,"StartDate":"2026-04-17T11:33:32.8489361+00:00","EndDate":"2026-04-17T11:33:32.8489361+00:00","IsDefault":true,"Active":true,"VersionName":"sample string 7"}

application/xml, text/xml

Sample:
<PricelistVersionEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.PriceList">
  <Active>true</Active>
  <EndDate>2026-04-17T11:33:32.8489361+00:00</EndDate>
  <IsDefault>true</IsDefault>
  <PriceVersionId>2</PriceVersionId>
  <PricelistId>3</PricelistId>
  <StartDate>2026-04-17T11:33:32.8489361+00:00</StartDate>
  <TenantId>1</TenantId>
  <Version>4</Version>
  <VersionName>sample string 7</VersionName>
</PricelistVersionEntity>

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 'PricelistVersionEntity'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.