POST api/Catering/UpdateMenu

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of RestaurantMenuView
NameDescriptionTypeAdditional 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-29T01:11:37.5998523+00:00",
      "creatorFullName": "sample string 10",
      "updated": "2025-08-29T01:11:37.5998523+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-29T01:11:37.5998523+00:00",
      "creatorFullName": "sample string 10",
      "updated": "2025-08-29T01:11:37.5998523+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-29T01:11:37.5998523+00:00","creatorFullName":"sample string 10","updated":"2025-08-29T01:11:37.5998523+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-29T01:11:37.5998523+00:00","creatorFullName":"sample string 10","updated":"2025-08-29T01:11:37.5998523+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-29T01:11:37.5998523+00:00</Created>
      <CreatorFullName>sample string 10</CreatorFullName>
      <CreatorId>sample string 8</CreatorId>
      <Disabled>true</Disabled>
      <Updated>2025-08-29T01:11:37.5998523+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-29T01:11:37.5998523+00:00</Created>
      <CreatorFullName>sample string 10</CreatorFullName>
      <CreatorId>sample string 8</CreatorId>
      <Disabled>true</Disabled>
      <Updated>2025-08-29T01:11:37.5998523+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>