POST Api/Users/Search

Request Information

URI Parameters

None.

Body Parameters

Search
NameDescriptionTypeAdditional information
searchCriteria

string

None.

searchText

string

None.

itemsPerPage

integer

None.

pageNo

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "searchCriteria": "sample string 1",
  "searchText": "sample string 2",
  "itemsPerPage": 3,
  "pageNo": 4
}

application/xml, text/xml

Sample:
<Search xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KHBWebApi.Models">
  <itemsPerPage>3</itemsPerPage>
  <pageNo>4</pageNo>
  <searchCriteria>sample string 1</searchCriteria>
  <searchText>sample string 2</searchText>
</Search>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.