POST api/MenuItemAPI/NewSaveEditMenuItem
Request Information
URI Parameters
None.
Body Parameters
MenuItemDTOName | Description | Type | Additional information |
---|---|---|---|
ItemId | integer |
None. |
|
MainCategoryId | integer |
None. |
|
TempMainCategoryId | integer |
None. |
|
MainCategoryName | string |
None. |
|
MainCategoryNameAr | string |
None. |
|
SubCategoryId | integer |
None. |
|
TempSubCategoryId | integer |
None. |
|
SubCateName | string |
None. |
|
SubCateNameAr | string |
None. |
|
SectionId | integer |
None. |
|
TempSectionId | integer |
None. |
|
sectionName | string |
None. |
|
sectionNameAr | string |
None. |
|
NameEn | string |
None. |
|
NameAr | string |
None. |
|
ItemImage | string |
None. |
|
ItemSizeImagesName | string |
None. |
|
ItemImageUpload | boolean |
None. |
|
ItemSizeImageUpload | boolean |
None. |
|
ItemName | string |
None. |
|
ItemNameAr | string |
None. |
|
ItemDesc | string |
None. |
|
ItemDescAr | string |
None. |
|
status | boolean |
None. |
|
ItemInsertJson | string |
None. |
|
ItemDeleteJson | string |
None. |
|
ItemIds | string |
None. |
|
NoOfItems | integer |
None. |
|
BoxSize | integer |
None. |
|
CustomCakeJson | string |
None. |
|
CakeSizeItemIds | string |
None. |
|
AvgPreparationTime | integer |
None. |
|
Calories | decimal number |
None. |
|
FlagId | integer |
None. |
|
availability | string |
None. |
|
availabilityId | boolean |
None. |
|
ReMessageEn | string |
None. |
|
ReMessageAr | string |
None. |
|
ActiveId | boolean |
None. |
|
OnlySaleInBox | boolean |
None. |
|
Shapes | string |
None. |
|
ReferenceImage | boolean |
None. |
|
ImageOnCake | boolean |
None. |
|
PriceId | integer |
None. |
|
Base64FileName | string |
None. |
|
IsActive | boolean |
None. |
|
CreatedBy | integer |
None. |
|
IsDeleted | boolean |
None. |
|
Message | string |
None. |
|
MessageAr | string |
None. |
|
UserId | integer |
None. |
|
AdminId | integer |
None. |
|
UserBrandId | integer |
None. |
|
RoleId | integer |
None. |
|
Status | boolean |
None. |
|
datasetxml | string |
None. |
|
StatusCode | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "ItemId": 1, "MainCategoryId": 2, "TempMainCategoryId": 3, "MainCategoryName": "sample string 4", "MainCategoryNameAr": "sample string 5", "SubCategoryId": 6, "TempSubCategoryId": 7, "SubCateName": "sample string 8", "SubCateNameAr": "sample string 9", "SectionId": 10, "TempSectionId": 11, "sectionName": "sample string 12", "sectionNameAr": "sample string 13", "NameEn": "sample string 14", "NameAr": "sample string 15", "ItemImage": "sample string 16", "ItemSizeImagesName": "sample string 17", "ItemImageUpload": true, "ItemSizeImageUpload": true, "ItemName": "sample string 20", "ItemNameAr": "sample string 21", "ItemDesc": "sample string 22", "ItemDescAr": "sample string 23", "status": true, "ItemInsertJson": "sample string 25", "ItemDeleteJson": "sample string 26", "ItemIds": "sample string 27", "NoOfItems": 28, "BoxSize": 29, "CustomCakeJson": "sample string 30", "CakeSizeItemIds": "sample string 31", "AvgPreparationTime": 1, "Calories": 1.0, "FlagId": 32, "availability": "sample string 33", "availabilityId": true, "ReMessageEn": "sample string 35", "ReMessageAr": "sample string 36", "ActiveId": true, "OnlySaleInBox": true, "Shapes": "sample string 39", "ReferenceImage": true, "ImageOnCake": true, "PriceId": 40, "Base64FileName": "sample string 41", "IsActive": true, "CreatedBy": 42, "IsDeleted": true, "Message": "sample string 44", "MessageAr": "sample string 45", "UserId": 46, "AdminId": 47, "UserBrandId": 48, "RoleId": 49, "Status": true, "datasetxml": "sample string 51", "StatusCode": 52 }
application/xml, text/xml
Sample:
<MenuItemDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BNC.POS.API.DTO_s"> <AdminId>47</AdminId> <CreatedBy>42</CreatedBy> <IsActive>true</IsActive> <IsDeleted>true</IsDeleted> <Message>sample string 44</Message> <MessageAr>sample string 45</MessageAr> <RoleId>49</RoleId> <Status>true</Status> <StatusCode>52</StatusCode> <UserBrandId>48</UserBrandId> <UserId>46</UserId> <datasetxml>sample string 51</datasetxml> <ActiveId>true</ActiveId> <AvgPreparationTime>1</AvgPreparationTime> <Base64FileName>sample string 41</Base64FileName> <BoxSize>29</BoxSize> <CakeSizeItemIds>sample string 31</CakeSizeItemIds> <Calories>1</Calories> <CustomCakeJson>sample string 30</CustomCakeJson> <FlagId>32</FlagId> <ImageOnCake>true</ImageOnCake> <ItemDeleteJson>sample string 26</ItemDeleteJson> <ItemDesc>sample string 22</ItemDesc> <ItemDescAr>sample string 23</ItemDescAr> <ItemId>1</ItemId> <ItemIds>sample string 27</ItemIds> <ItemImage>sample string 16</ItemImage> <ItemImageUpload>true</ItemImageUpload> <ItemInsertJson>sample string 25</ItemInsertJson> <ItemName>sample string 20</ItemName> <ItemNameAr>sample string 21</ItemNameAr> <ItemSizeImageUpload>true</ItemSizeImageUpload> <ItemSizeImagesName>sample string 17</ItemSizeImagesName> <MainCategoryId>2</MainCategoryId> <MainCategoryName>sample string 4</MainCategoryName> <MainCategoryNameAr>sample string 5</MainCategoryNameAr> <NameAr>sample string 15</NameAr> <NameEn>sample string 14</NameEn> <NoOfItems>28</NoOfItems> <OnlySaleInBox>true</OnlySaleInBox> <PriceId>40</PriceId> <ReMessageAr>sample string 36</ReMessageAr> <ReMessageEn>sample string 35</ReMessageEn> <ReferenceImage>true</ReferenceImage> <SectionId>10</SectionId> <Shapes>sample string 39</Shapes> <SubCateName>sample string 8</SubCateName> <SubCateNameAr>sample string 9</SubCateNameAr> <SubCategoryId>6</SubCategoryId> <TempMainCategoryId>3</TempMainCategoryId> <TempSectionId>11</TempSectionId> <TempSubCategoryId>7</TempSubCategoryId> <availability>sample string 33</availability> <availabilityId>true</availabilityId> <sectionName>sample string 12</sectionName> <sectionNameAr>sample string 13</sectionNameAr> <status>true</status> </MenuItemDTO>
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.