POST api/values/AddNewItem

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
Data
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Item_id": 1,
  "ItemName": "sample string 2",
  "ItemBrand": "sample string 3",
  "IsThereOffer": "sample string 4",
  "ItemPrice": 1,
  "offer": 1,
  "Description": "sample string 5",
  "ItemCategory": "sample string 6",
  "ItemType": "sample string 7",
  "ItemIMG": "sample string 8",
  "Delivery_time": 1,
  "Stock": 9,
  "IsActive": "sample string 10",
  "Itemcom": 1,
  "item_upc": 1
}

application/xml, text/xml

Sample:
<ProductDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiLinks.Models">
  <Delivery_time>1</Delivery_time>
  <Description>sample string 5</Description>
  <IsActive>sample string 10</IsActive>
  <IsThereOffer>sample string 4</IsThereOffer>
  <ItemBrand>sample string 3</ItemBrand>
  <ItemCategory>sample string 6</ItemCategory>
  <ItemIMG>sample string 8</ItemIMG>
  <ItemName>sample string 2</ItemName>
  <ItemPrice>1</ItemPrice>
  <ItemType>sample string 7</ItemType>
  <Item_id>1</Item_id>
  <Itemcom>1</Itemcom>
  <Stock>9</Stock>
  <item_upc>1</item_upc>
  <offer>1</offer>
</ProductDetail>

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

Response Information

No documentation available.

Response body formats

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

Sample:

Sample not available.