POST api/productCategory/add
Request Information
URI Parameters
None.
Body Parameters
ProductCategoryViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Name | string |
Required |
|
| Alias | string |
Required |
|
| Description | string |
None. |
|
| ParentID | integer |
None. |
|
| DisplayOrder | integer |
None. |
|
| Image | string |
None. |
|
| HomeFlag | boolean |
None. |
|
| HomeOrder | integer |
None. |
|
| Posts | Collection of PostViewModel |
None. |
|
| CreatedDate | date |
None. |
|
| CreatedBy | string |
None. |
|
| UpdatedDate | date |
None. |
|
| UpdatedBy | string |
None. |
|
| MetaKeyword | string |
None. |
|
| MetaDescription | string |
None. |
|
| Status | boolean |
Required |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |