POST api/Admin/CreateCategory
Request Information
URI Parameters
None.
Body Parameters
CategoryCreateModelName | Description | Type | Additional information |
---|---|---|---|
CreatedBy | integer |
None. |
|
IsActive | boolean |
Required |
|
Name | string |
None. |
|
LanguageId | integer |
None. |
|
IsDisplayOnHome | boolean |
None. |
|
CategoryLogo | string |
None. |
|
IsApproved | boolean |
None. |
|
OrderBy | integer |
None. |
|
IsCategorySubcategorysame | boolean |
None. |
|
ParentCategory | integer |
None. |
|
CategoryType | integer |
None. |
|
ShortDescription | string |
None. |
|
UrlCategory | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "CreatedBy": 1, "IsActive": true, "Name": "sample string 2", "LanguageId": 1, "IsDisplayOnHome": true, "CategoryLogo": "sample string 3", "IsApproved": true, "OrderBy": 1, "IsCategorySubcategorysame": true, "ParentCategory": 6, "CategoryType": 7, "ShortDescription": "sample string 8", "UrlCategory": "sample string 9" }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
JsonName | Description | Type | Additional information |
---|---|---|---|
status | string |
None. |
|
message | string |
None. |
|
data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "status": "sample string 1", "message": "sample string 2", "data": { "$id": "2" } }