POST api/Products
دریافت محصولات
Request Information
URI Parameters
None.
Body Parameters
ProductSearch| Name | Description | Type | Additional information |
|---|---|---|---|
| Title | string |
None. |
|
| CatId | integer |
None. |
|
| Sort | Sort |
None. |
|
| Page | integer |
None. |
|
| Count | integer |
None. |
|
| Special | boolean |
None. |
|
| FilterCat | FilterCat |
None. |
Request Formats
application/json, text/json
Sample:
{
"Title": "sample string 1",
"CatId": 1,
"Sort": 0,
"Page": 1,
"Count": 1,
"Special": true,
"FilterCat": {
"Items": [
1,
2
],
"MoneyAz": 1,
"MoneyTa": 1,
"Avaliable": true
}
}
application/xml, text/xml
Sample:
<ProductSearch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MohtashamApi.ModelView">
<CatId>1</CatId>
<Count>1</Count>
<FilterCat>
<Avaliable>true</Avaliable>
<Items xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:int>1</d3p1:int>
<d3p1:int>2</d3p1:int>
</Items>
<MoneyAz>1</MoneyAz>
<MoneyTa>1</MoneyTa>
</FilterCat>
<Page>1</Page>
<Sort>Newest</Sort>
<Special>true</Special>
<Title>sample string 1</Title>
</ProductSearch>
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.