POST api/Ecommerce/GetCategoryByVendorId
Request Information
URI Parameters
None.
Body Parameters
CategoryReq| Name | Description | Type | Additional information |
|---|---|---|---|
| VendorId | integer |
None. |
|
| MainCategoryId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"VendorId": 1,
"MainCategoryId": 1
}
application/xml, text/xml
Sample:
<ECommerceController.CategoryReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AirTripAPIs.Controllers"> <MainCategoryId>1</MainCategoryId> <VendorId>1</VendorId> </ECommerceController.CategoryReq>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AddUpdatedDeleteResponce| Name | Description | Type | Additional information |
|---|---|---|---|
| status | boolean |
None. |
|
| Message | string |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": true,
"Message": "sample string 2",
"Data": {}
}
application/xml, text/xml
Sample:
<AddUpdatedDeleteResponce xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FriendsMantra.ViewModels"> <Data /> <Message>sample string 2</Message> <status>true</status> </AddUpdatedDeleteResponce>