POST api/PriceListUpdation

Request Information

URI Parameters

None.

Body Parameters

PriceList
NameDescriptionTypeAdditional information
CardCode

string

None.

CardName

string

None.

PriceListNum

string

None.

Items

Collection of PriceItems

None.

Request Formats

application/json, text/json

Sample:
{
  "CardCode": "sample string 1",
  "CardName": "sample string 2",
  "PriceListNum": "sample string 3",
  "Items": [
    {
      "ItemCode": "sample string 1",
      "Price": 2.1
    },
    {
      "ItemCode": "sample string 1",
      "Price": 2.1
    }
  ]
}

text/html

Sample:
{"CardCode":"sample string 1","CardName":"sample string 2","PriceListNum":"sample string 3","Items":[{"ItemCode":"sample string 1","Price":2.1},{"ItemCode":"sample string 1","Price":2.1}]}

application/xml, text/xml

Sample:
<PriceList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/mfgProj.Models">
  <CardCode>sample string 1</CardCode>
  <CardName>sample string 2</CardName>
  <Items>
    <PriceItems>
      <ItemCode>sample string 1</ItemCode>
      <Price>2.1</Price>
    </PriceItems>
    <PriceItems>
      <ItemCode>sample string 1</ItemCode>
      <Price>2.1</Price>
    </PriceItems>
  </Items>
  <PriceListNum>sample string 3</PriceListNum>
</PriceList>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.