POST api/Catering/DeleteMenu
Request Information
URI Parameters
None.
Body Parameters
RestaurantMenuInputName | Description | Type | Additional information |
---|---|---|---|
MenuId | integer |
None. |
|
Name | string |
None. |
|
Price | decimal number |
None. |
|
OriginalPrice | decimal number |
None. |
|
PaidPrice | decimal number |
None. |
|
Note | string |
None. |
|
SetId | integer |
None. |
|
Ordering | integer |
None. |
|
FileName | string |
None. |
|
UploadFile | Collection of byte |
None. |
|
EditFile | boolean |
None. |
|
GreenPackaging | boolean |
None. |
|
InputItems | Collection of RestaurantMenuItemInput |
None. |
|
RestaurantId | integer |
None. |
|
RestaurantPackageTypeId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "menuId": 1, "name": "sample string 1", "price": 2.0, "originalPrice": 3.0, "paidPrice": 4.0, "note": "sample string 5", "setId": 1, "ordering": 6, "fileName": "sample string 7", "uploadFile": "QEA=", "editFile": true, "greenPackaging": true, "inputItems": [ { "itemId": 1, "name": "sample string 1", "ordering": 2 }, { "itemId": 1, "name": "sample string 1", "ordering": 2 } ], "restaurantId": 10, "restaurantPackageTypeId": 11 }
text/html
Sample:
{"menuId":1,"name":"sample string 1","price":2.0,"originalPrice":3.0,"paidPrice":4.0,"note":"sample string 5","setId":1,"ordering":6,"fileName":"sample string 7","uploadFile":"QEA=","editFile":true,"greenPackaging":true,"inputItems":[{"itemId":1,"name":"sample string 1","ordering":2},{"itemId":1,"name":"sample string 1","ordering":2}],"restaurantId":10,"restaurantPackageTypeId":11}
application/xml, text/xml
Sample:
<RestaurantMenuInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Contracts.Api"> <RestaurantId>10</RestaurantId> <RestaurantPackageTypeId>11</RestaurantPackageTypeId> <EditFile>true</EditFile> <FileName>sample string 7</FileName> <GreenPackaging>true</GreenPackaging> <InputItems> <RestaurantMenuItemInput> <ItemId>1</ItemId> <Name>sample string 1</Name> <Ordering>2</Ordering> </RestaurantMenuItemInput> <RestaurantMenuItemInput> <ItemId>1</ItemId> <Name>sample string 1</Name> <Ordering>2</Ordering> </RestaurantMenuItemInput> </InputItems> <MenuId>1</MenuId> <Name>sample string 1</Name> <Note>sample string 5</Note> <Ordering>6</Ordering> <OriginalPrice>3</OriginalPrice> <PaidPrice>4</PaidPrice> <Price>2</Price> <SetId>1</SetId> <UploadFile>QEA=</UploadFile> </RestaurantMenuInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of RestaurantMenuViewName | Description | Type | Additional information |
---|---|---|---|
Picture | RestaurantPictureView |
None. |
|
Items | Collection of RestaurantMenuItemView |
None. |
|
Id | integer |
None. |
|
Name | string |
None. |
|
Price | decimal number |
None. |
|
OriginalPrice | decimal number |
None. |
|
SetId | integer |
None. |
|
Note | string |
None. |
|
Ordering | integer |
None. |
|
GreenPackaging | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "picture": { "id": 1, "type": 1, "typeName": "sample string 2", "fileName": "sample string 3", "cloudinaryPublicId": "sample string 4", "format": "sample string 5", "cloudinaryUrl": "sample string 6", "isPackageTypeProfile": true, "creatorId": "sample string 8", "created": "2025-08-27T12:53:14.5977654+00:00", "creatorFullName": "sample string 10", "updated": "2025-08-27T12:53:14.5977654+00:00", "updatorId": "sample string 12", "updatorFullName": "sample string 13", "disabled": true }, "items": [ { "id": 1, "name": "sample string 2", "ordering": 3 }, { "id": 1, "name": "sample string 2", "ordering": 3 } ], "id": 1, "name": "sample string 2", "price": 3.0, "originalPrice": 4.0, "setId": 1, "note": "sample string 5", "ordering": 6, "greenPackaging": true }, { "picture": { "id": 1, "type": 1, "typeName": "sample string 2", "fileName": "sample string 3", "cloudinaryPublicId": "sample string 4", "format": "sample string 5", "cloudinaryUrl": "sample string 6", "isPackageTypeProfile": true, "creatorId": "sample string 8", "created": "2025-08-27T12:53:14.5977654+00:00", "creatorFullName": "sample string 10", "updated": "2025-08-27T12:53:14.5977654+00:00", "updatorId": "sample string 12", "updatorFullName": "sample string 13", "disabled": true }, "items": [ { "id": 1, "name": "sample string 2", "ordering": 3 }, { "id": 1, "name": "sample string 2", "ordering": 3 } ], "id": 1, "name": "sample string 2", "price": 3.0, "originalPrice": 4.0, "setId": 1, "note": "sample string 5", "ordering": 6, "greenPackaging": true } ]
text/html
Sample:
[{"picture":{"id":1,"type":1,"typeName":"sample string 2","fileName":"sample string 3","cloudinaryPublicId":"sample string 4","format":"sample string 5","cloudinaryUrl":"sample string 6","isPackageTypeProfile":true,"creatorId":"sample string 8","created":"2025-08-27T12:53:14.5977654+00:00","creatorFullName":"sample string 10","updated":"2025-08-27T12:53:14.5977654+00:00","updatorId":"sample string 12","updatorFullName":"sample string 13","disabled":true},"items":[{"id":1,"name":"sample string 2","ordering":3},{"id":1,"name":"sample string 2","ordering":3}],"id":1,"name":"sample string 2","price":3.0,"originalPrice":4.0,"setId":1,"note":"sample string 5","ordering":6,"greenPackaging":true},{"picture":{"id":1,"type":1,"typeName":"sample string 2","fileName":"sample string 3","cloudinaryPublicId":"sample string 4","format":"sample string 5","cloudinaryUrl":"sample string 6","isPackageTypeProfile":true,"creatorId":"sample string 8","created":"2025-08-27T12:53:14.5977654+00:00","creatorFullName":"sample string 10","updated":"2025-08-27T12:53:14.5977654+00:00","updatorId":"sample string 12","updatorFullName":"sample string 13","disabled":true},"items":[{"id":1,"name":"sample string 2","ordering":3},{"id":1,"name":"sample string 2","ordering":3}],"id":1,"name":"sample string 2","price":3.0,"originalPrice":4.0,"setId":1,"note":"sample string 5","ordering":6,"greenPackaging":true}]
application/xml, text/xml
Sample:
<ArrayOfRestaurantMenuView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Contracts.Api"> <RestaurantMenuView> <GreenPackaging>true</GreenPackaging> <Id>1</Id> <Name>sample string 2</Name> <Note>sample string 5</Note> <Ordering>6</Ordering> <OriginalPrice>4</OriginalPrice> <Price>3</Price> <SetId>1</SetId> <Items> <RestaurantMenuItemView> <Id>1</Id> <Name>sample string 2</Name> <Ordering>3</Ordering> </RestaurantMenuItemView> <RestaurantMenuItemView> <Id>1</Id> <Name>sample string 2</Name> <Ordering>3</Ordering> </RestaurantMenuItemView> </Items> <Picture> <Created>2025-08-27T12:53:14.5977654+00:00</Created> <CreatorFullName>sample string 10</CreatorFullName> <CreatorId>sample string 8</CreatorId> <Disabled>true</Disabled> <Updated>2025-08-27T12:53:14.5977654+00:00</Updated> <UpdatorFullName>sample string 13</UpdatorFullName> <UpdatorId>sample string 12</UpdatorId> <CloudinaryPublicId>sample string 4</CloudinaryPublicId> <CloudinaryUrl>sample string 6</CloudinaryUrl> <FileName>sample string 3</FileName> <Format>sample string 5</Format> <Id>1</Id> <IsPackageTypeProfile>true</IsPackageTypeProfile> <Type>Logo</Type> <TypeName>sample string 2</TypeName> </Picture> </RestaurantMenuView> <RestaurantMenuView> <GreenPackaging>true</GreenPackaging> <Id>1</Id> <Name>sample string 2</Name> <Note>sample string 5</Note> <Ordering>6</Ordering> <OriginalPrice>4</OriginalPrice> <Price>3</Price> <SetId>1</SetId> <Items> <RestaurantMenuItemView> <Id>1</Id> <Name>sample string 2</Name> <Ordering>3</Ordering> </RestaurantMenuItemView> <RestaurantMenuItemView> <Id>1</Id> <Name>sample string 2</Name> <Ordering>3</Ordering> </RestaurantMenuItemView> </Items> <Picture> <Created>2025-08-27T12:53:14.5977654+00:00</Created> <CreatorFullName>sample string 10</CreatorFullName> <CreatorId>sample string 8</CreatorId> <Disabled>true</Disabled> <Updated>2025-08-27T12:53:14.5977654+00:00</Updated> <UpdatorFullName>sample string 13</UpdatorFullName> <UpdatorId>sample string 12</UpdatorId> <CloudinaryPublicId>sample string 4</CloudinaryPublicId> <CloudinaryUrl>sample string 6</CloudinaryUrl> <FileName>sample string 3</FileName> <Format>sample string 5</Format> <Id>1</Id> <IsPackageTypeProfile>true</IsPackageTypeProfile> <Type>Logo</Type> <TypeName>sample string 2</TypeName> </Picture> </RestaurantMenuView> </ArrayOfRestaurantMenuView>