POST api/product/search

Request Information

URI Parameters

None.

Body Parameters

ProductSearchViewModel
NameDescriptionTypeAdditional information
SearchText

string

None.

pageNumber

integer

None.

_pageSize

integer

None.

pageSize

integer

None.

UserId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SearchText": "sample string 1",
  "pageNumber": 2,
  "_pageSize": 4,
  "pageSize": 4,
  "UserId": "sample string 5"
}

text/html

Sample:
{"SearchText":"sample string 1","pageNumber":2,"_pageSize":4,"pageSize":4,"UserId":"sample string 5"}

application/xml, text/xml

Sample:
<ProductSearchViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SingersBabel.BAL.ViewModel">
  <SearchText>sample string 1</SearchText>
  <UserId>sample string 5</UserId>
  <_pageSize>4</_pageSize>
  <pageNumber>2</pageNumber>
  <pageSize>4</pageSize>
</ProductSearchViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.