POST api/Shop/Products/Search

Request Information

URI Parameters

None.

Body Parameters

SearchDTO
NameDescriptionTypeAdditional information
keyword

string

None.

species

string

None.

categoryId

globally unique identifier

None.

top

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "keyword": "sample string 1",
  "species": "sample string 2",
  "categoryId": "eb27604f-208a-43a7-8e0c-ba48c230f4ff",
  "top": 3
}

application/xml, text/xml

Sample:
<ShopController.SearchDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PetShop.API.Controllers">
  <categoryId>eb27604f-208a-43a7-8e0c-ba48c230f4ff</categoryId>
  <keyword>sample string 1</keyword>
  <species>sample string 2</species>
  <top>3</top>
</ShopController.SearchDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.