POST api/SerachInProducts
Request Information
URI Parameters
None.
Body Parameters
Par_Serach| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderByPrice | integer |
None. |
|
| lang_id | integer |
None. |
|
| c | integer |
None. |
|
| OrderByDatein | integer |
None. |
|
| OrderByCategory | integer |
None. |
|
| ByMinPrice | decimal number |
None. |
|
| ByMaxPrice | decimal number |
None. |
|
| ByName | string |
None. |
|
| page_number | integer |
None. |
|
| isoffer | integer |
None. |
|
| pro_type | integer |
None. |
|
| page_count_row | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"OrderByPrice": 1,
"lang_id": 2,
"c": 3,
"OrderByDatein": 4,
"OrderByCategory": 5,
"ByMinPrice": 6.1,
"ByMaxPrice": 7.1,
"ByName": "sample string 8",
"page_number": 9,
"isoffer": 10,
"pro_type": 11,
"page_count_row": 12
}
text/xml
Sample:
<Par_Serach xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/smart_weber"> <ByMaxPrice>7.1</ByMaxPrice> <ByMinPrice>6.1</ByMinPrice> <ByName>sample string 8</ByName> <OrderByCategory>5</OrderByCategory> <OrderByDatein>4</OrderByDatein> <OrderByPrice>1</OrderByPrice> <c>3</c> <isoffer>10</isoffer> <lang_id>2</lang_id> <page_count_row>12</page_count_row> <page_number>9</page_number> <pro_type>11</pro_type> </Par_Serach>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
outdata| Name | Description | Type | Additional information |
|---|---|---|---|
| data | DataTable |
None. |
|
| rowcount |
if get data then return count row else return the id row affected |
integer |
None. |
| status | boolean |
None. |
|
| msg_error | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"data": null,
"rowcount": 1,
"status": true,
"msg_error": "sample string 3"
}
text/xml
Sample:
<outdata xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/smart_weber"> <data i:nil="true" /> <msg_error>sample string 3</msg_error> <rowcount>1</rowcount> <status>true</status> </outdata>