POST api/UserApi/ProductDetail

Request Information

URI Parameters

None.

Body Parameters

BOProductRequest
NameDescriptionTypeAdditional information
CategoryIDs

string

None.

ColorIDs

string

None.

SizeIDs

string

None.

MinPrice

decimal number

None.

MaxPrice

decimal number

None.

SubCategoryID

integer

None.

ProductID

integer

None.

Status

integer

None.

Page

integer

None.

PageSize

integer

None.

CategoryID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CategoryIDs": "sample string 1",
  "ColorIDs": "sample string 2",
  "SizeIDs": "sample string 3",
  "MinPrice": 4.0,
  "MaxPrice": 5.0,
  "SubCategoryID": 6,
  "ProductID": 7,
  "Status": 8,
  "Page": 9,
  "PageSize": 10,
  "CategoryID": 11
}

application/xml, text/xml

Sample:
<BOProductRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BO.Product">
  <CategoryID>11</CategoryID>
  <CategoryIDs>sample string 1</CategoryIDs>
  <ColorIDs>sample string 2</ColorIDs>
  <MaxPrice>5</MaxPrice>
  <MinPrice>4</MinPrice>
  <Page>9</Page>
  <PageSize>10</PageSize>
  <ProductID>7</ProductID>
  <SizeIDs>sample string 3</SizeIDs>
  <Status>8</Status>
  <SubCategoryID>6</SubCategoryID>
</BOProductRequest>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.