POST api/ProductMaster/ProductCategory

Request Information

URI Parameters

None.

Body Parameters

Product_Category
NameDescriptionTypeAdditional information
Sno

string

None.

CategoryId

string

None.

CategoryName

string

None.

Status

string

None.

Createddate

string

None.

CreatedBy

string

None.

Condition

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Sno": "sample string 1",
  "CategoryId": "sample string 2",
  "CategoryName": "sample string 3",
  "Status": "sample string 4",
  "Createddate": "sample string 5",
  "CreatedBy": "sample string 6",
  "Condition": "sample string 7"
}

application/xml, text/xml

Sample:
<Product_Category xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Types.ProductMaster">
  <CategoryId>sample string 2</CategoryId>
  <CategoryName>sample string 3</CategoryName>
  <Condition>sample string 7</Condition>
  <CreatedBy>sample string 6</CreatedBy>
  <Createddate>sample string 5</Createddate>
  <Sno>sample string 1</Sno>
  <Status>sample string 4</Status>
</Product_Category>

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

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.