POST API/Product/ProductCategory?action={action}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
action | string |
Required |
Body Parameters
ProductCategoryName | Description | Type | Additional information |
---|---|---|---|
CategoryId | integer |
None. |
|
CategoryName | string |
None. |
|
CategoryDescription | string |
None. |
|
CategoryImage | string |
None. |
|
CategoryImageId | integer |
None. |
|
CreatedBy | string |
None. |
|
StartTime | string |
None. |
|
EndTime | string |
None. |
|
SubscriptionRequired | boolean |
None. |
|
HarvestDay | boolean |
None. |
|
ProductStatus | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "categoryId": 1, "categoryName": "sample string 1", "categoryDescription": "sample string 2", "categoryImage": "sample string 3", "categoryImageId": 4, "createdBy": "sample string 5", "startTime": "sample string 6", "endTime": "sample string 7", "subscriptionRequired": true, "harvestDay": true, "productStatus": true }
application/xml, text/xml
Sample:
<ProductCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrownCow.Customer.EntityLayer"> <CategoryDescription>sample string 2</CategoryDescription> <CategoryId>1</CategoryId> <CategoryImage>sample string 3</CategoryImage> <CategoryImageId>4</CategoryImageId> <CategoryName>sample string 1</CategoryName> <CreatedBy>sample string 5</CreatedBy> <EndTime>sample string 7</EndTime> <HarvestDay>true</HarvestDay> <ProductStatus>true</ProductStatus> <StartTime>sample string 6</StartTime> <SubscriptionRequired>true</SubscriptionRequired> </ProductCategory>
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.