POST api/ProductMaster/Get_Greenproducts

Request Information

URI Parameters

None.

Body Parameters

Product
NameDescriptionTypeAdditional information
Condition

string

None.

Subid

string

None.

Subscription_Types

string

None.

TotalWeight

string

None.

Frequency

string

None.

Duration

string

None.

Price

string

None.

Discount

string

None.

Total_price

string

None.

Product_Type

string

None.

Imageurl

string

None.

Quantity

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Condition": "sample string 1",
  "Subid": "sample string 2",
  "Subscription_Types": "sample string 3",
  "TotalWeight": "sample string 4",
  "Frequency": "sample string 5",
  "Duration": "sample string 6",
  "Price": "sample string 7",
  "Discount": "sample string 8",
  "Total_price": "sample string 9",
  "Product_Type": "sample string 10",
  "Imageurl": "sample string 11",
  "Quantity": "sample string 12"
}

application/xml, text/xml

Sample:
<Product xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLL.ProductMaster">
  <Condition>sample string 1</Condition>
  <Discount>sample string 8</Discount>
  <Duration>sample string 6</Duration>
  <Frequency>sample string 5</Frequency>
  <Imageurl>sample string 11</Imageurl>
  <Price>sample string 7</Price>
  <Product_Type>sample string 10</Product_Type>
  <Quantity>sample string 12</Quantity>
  <Subid>sample string 2</Subid>
  <Subscription_Types>sample string 3</Subscription_Types>
  <TotalWeight>sample string 4</TotalWeight>
  <Total_price>sample string 9</Total_price>
</Product>

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

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.