POST api/Product/GetProducts
Request Information
URI Parameters
None.
Body Parameters
GetProductsRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CategoryId | integer |
None. |
|
| CategoryIds | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CategoryId": 1,
"CategoryIds": [
1,
1
]
}
application/xml, text/xml
Sample:
<GetProductsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TAG.ReqResp">
<CategoryId>1</CategoryId>
<CategoryIds xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:long>1</d2p1:long>
<d2p1:long>1</d2p1:long>
</CategoryIds>
</GetProductsRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
GetProductDataResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| Message | string |
None. |
|
| Token | globally unique identifier |
None. |
|
| BaseObjects | Collection of BaseProductModel |
None. |
Response Formats
application/json
Sample:
text/json
Sample:
application/xml
Sample:
text/xml
Sample: