POST api/CategoryAPI/NewAddCategoryData
Request Information
URI Parameters
None.
Body Parameters
CategoryDTOName | Description | Type | Additional information |
---|---|---|---|
CategoryId | integer |
None. |
|
CategoryName_En | string |
None. |
|
CategoryName | string |
None. |
|
DescriptionEn | string |
None. |
|
Description | string |
None. |
|
CategoryName_Ar | string |
None. |
|
Description_Ar | string |
None. |
|
CategoryImage | string |
None. |
|
Status | boolean |
None. |
|
message | string |
None. |
|
image | string |
None. |
|
StatusCode | string |
None. |
|
OrderDate | date |
None. |
|
MainCategoryId | integer |
None. |
|
SubCategoryId | integer |
None. |
|
SectionId | integer |
None. |
|
FlagId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "CategoryId": 1, "CategoryName_En": "sample string 2", "CategoryName": "sample string 3", "DescriptionEn": "sample string 4", "Description": "sample string 5", "CategoryName_Ar": "sample string 6", "Description_Ar": "sample string 7", "CategoryImage": "sample string 8", "Status": true, "message": "sample string 10", "image": "sample string 11", "StatusCode": "sample string 12", "OrderDate": "2024-10-31T09:19:26.3047848+00:00", "MainCategoryId": 14, "SubCategoryId": 15, "SectionId": 16, "FlagId": 17 }
application/xml, text/xml
Sample:
<CategoryDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BNC.POS.API.DTO_s"> <CategoryId>1</CategoryId> <CategoryImage>sample string 8</CategoryImage> <CategoryName>sample string 3</CategoryName> <CategoryName_Ar>sample string 6</CategoryName_Ar> <CategoryName_En>sample string 2</CategoryName_En> <Description>sample string 5</Description> <DescriptionEn>sample string 4</DescriptionEn> <Description_Ar>sample string 7</Description_Ar> <FlagId>17</FlagId> <MainCategoryId>14</MainCategoryId> <OrderDate>2024-10-31T09:19:26.3047848+00:00</OrderDate> <SectionId>16</SectionId> <Status>true</Status> <StatusCode>sample string 12</StatusCode> <SubCategoryId>15</SubCategoryId> <image>sample string 11</image> <message>sample string 10</message> </CategoryDTO>
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.