POST api/v1/ProductList

Request Information

URI Parameters

None.

Body Parameters

ProductListInput
NameDescriptionTypeAdditional information
Mode

string

None.

ProductID

integer

None.

CategoryID

integer

None.

ProductName

string

None.

TaxonomyID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Mode": "sample string 1",
  "ProductID": 2,
  "CategoryID": 3,
  "ProductName": "sample string 4",
  "TaxonomyID": 5
}

application/xml, text/xml

Sample:
<ProductListInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <CategoryID>3</CategoryID>
  <Mode>sample string 1</Mode>
  <ProductID>2</ProductID>
  <ProductName>sample string 4</ProductName>
  <TaxonomyID>5</TaxonomyID>
</ProductListInput>

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

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.