POST pricelist/Update

Request Information

URI Parameters

None.

Body Parameters

PriceListEntity
NameDescriptionTypeAdditional information
TenantId

integer

None.

PriceListId

integer

None.

PriceListName

string

None.

Version

decimal number

None.

DivisionId

integer

None.

KitVersion

decimal number

None.

isDefault

boolean

None.

IsActive

boolean

None.

Division

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TenantId": 1,
  "PriceListId": 2,
  "PriceListName": "sample string 3",
  "Version": 4.0,
  "DivisionId": 5,
  "KitVersion": 1.0,
  "isDefault": true,
  "IsActive": true,
  "Division": "sample string 7"
}

text/html

Sample:
{"TenantId":1,"PriceListId":2,"PriceListName":"sample string 3","Version":4.0,"DivisionId":5,"KitVersion":1.0,"isDefault":true,"IsActive":true,"Division":"sample string 7"}

application/xml, text/xml

Sample:
<PriceListEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.PriceList">
  <Division>sample string 7</Division>
  <DivisionId>5</DivisionId>
  <IsActive>true</IsActive>
  <KitVersion>1</KitVersion>
  <PriceListId>2</PriceListId>
  <PriceListName>sample string 3</PriceListName>
  <TenantId>1</TenantId>
  <Version>4</Version>
  <isDefault>true</isDefault>
</PriceListEntity>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.