POST api/Product/UpdateProductPrice

Request Information

URI Parameters

None.

Body Parameters

MorePrice
NameDescriptionTypeAdditional information
Itemcode

string

None.

id

string

None.

MarkPrice

decimal number

None.

SellingPrice

decimal number

None.

WholeSalePrice

decimal number

None.

Message

string

None.

Loca

string

None.

ActiveStatus

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Itemcode": "sample string 1",
  "id": "sample string 2",
  "MarkPrice": 3.0,
  "SellingPrice": 4.0,
  "WholeSalePrice": 5.0,
  "Message": "sample string 6",
  "Loca": "sample string 7",
  "ActiveStatus": true
}

application/xml, text/xml

Sample:
<MorePrice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SOFTO.POS.Sync.Models">
  <ActiveStatus>true</ActiveStatus>
  <Itemcode>sample string 1</Itemcode>
  <Loca>sample string 7</Loca>
  <MarkPrice>3</MarkPrice>
  <Message>sample string 6</Message>
  <SellingPrice>4</SellingPrice>
  <WholeSalePrice>5</WholeSalePrice>
  <id>sample string 2</id>
</MorePrice>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.