POST api/Shop/Products/Search
Request Information
URI Parameters
None.
Body Parameters
SearchDTO| Name | Description | Type | Additional 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": "e057d318-609b-4f6d-b575-9ef37cee1914",
"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>e057d318-609b-4f6d-b575-9ef37cee1914</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
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.