PUT api/Planner/Catering

Request Information

URI Parameters

None.

Body Parameters

CateringReservationUpdateDTO
NameDescriptionTypeAdditional information
Catering

CateringReservationRequestDTO

None.

MyDeskMeetingId

integer

None.

MeetingroomId

integer

None.

ExchangeMeetingId

string

None.

ExchangeICalUId

string

None.

CalendarEmail

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Catering": {
    "DepartmentId": 1,
    "InvoiceInternal": true,
    "InvoiceExternalDetails": {
      "CompanyName": "sample string 1",
      "Address": "sample string 2",
      "Zip": "sample string 3",
      "CVR": "sample string 4",
      "Att": "sample string 5",
      "Mail": "sample string 6"
    },
    "Responsible": [
      1,
      2
    ],
    "NumberOfPeople": 2,
    "ExternalAttendeesPeoples": 3,
    "Products": [
      {
        "ProductOrderId": 1,
        "ProductId": 2,
        "NumberOfItems": 3,
        "DiscountPercentage": 1.0,
        "DeliveryHour": 1,
        "DeliveryMinute": 1
      },
      {
        "ProductOrderId": 1,
        "ProductId": 2,
        "NumberOfItems": 3,
        "DiscountPercentage": 1.0,
        "DeliveryHour": 1,
        "DeliveryMinute": 1
      }
    ],
    "ProductsOther": [
      {
        "Id": 1,
        "Name": "sample string 2",
        "NumberOfItems": 3,
        "Price": 4.0,
        "DiscountPercentage": 1.0,
        "DeliveryHour": 1,
        "DeliveryMinute": 1
      },
      {
        "Id": 1,
        "Name": "sample string 2",
        "NumberOfItems": 3,
        "Price": 4.0,
        "DiscountPercentage": 1.0,
        "DeliveryHour": 1,
        "DeliveryMinute": 1
      }
    ],
    "Comment": "sample string 4",
    "CommentHtml": "sample string 5",
    "InternalComment": "sample string 6",
    "InternalCommentHtml": "sample string 7",
    "DeliveryMethod": "sample string 8",
    "OrderStatusId": 9,
    "OrderedByName": "sample string 10",
    "OrderedByEmail": "sample string 11",
    "DeliveryDate": "2025-12-05T10:22:39.3361645+00:00",
    "DeliveryHour": 1,
    "DeliveryMinute": 1,
    "FieldValues": [
      {
        "FieldId": 1,
        "Value": "sample string 2"
      },
      {
        "FieldId": 1,
        "Value": "sample string 2"
      }
    ]
  },
  "MyDeskMeetingId": 1,
  "MeetingroomId": 2,
  "ExchangeMeetingId": "sample string 3",
  "ExchangeICalUId": "sample string 4",
  "CalendarEmail": "sample string 5"
}

application/xml, text/xml

Sample:
<CateringReservationUpdateDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bluedock.Booking.Rest.Models.Catering">
  <CalendarEmail>sample string 5</CalendarEmail>
  <Catering>
    <Comment>sample string 4</Comment>
    <CommentHtml>sample string 5</CommentHtml>
    <DeliveryDate>2025-12-05T10:22:39.3361645+00:00</DeliveryDate>
    <DeliveryHour>1</DeliveryHour>
    <DeliveryMethod>sample string 8</DeliveryMethod>
    <DeliveryMinute>1</DeliveryMinute>
    <DepartmentId>1</DepartmentId>
    <ExternalAttendeesPeoples>3</ExternalAttendeesPeoples>
    <FieldValues xmlns:d3p1="http://schemas.datacontract.org/2004/07/Bluedock.Booking.Rest.Models.Fields">
      <d3p1:FieldResponseItemDTO>
        <d3p1:FieldId>1</d3p1:FieldId>
        <d3p1:Value>sample string 2</d3p1:Value>
      </d3p1:FieldResponseItemDTO>
      <d3p1:FieldResponseItemDTO>
        <d3p1:FieldId>1</d3p1:FieldId>
        <d3p1:Value>sample string 2</d3p1:Value>
      </d3p1:FieldResponseItemDTO>
    </FieldValues>
    <InternalComment>sample string 6</InternalComment>
    <InternalCommentHtml>sample string 7</InternalCommentHtml>
    <InvoiceExternalDetails>
      <Address>sample string 2</Address>
      <Att>sample string 5</Att>
      <CVR>sample string 4</CVR>
      <CompanyName>sample string 1</CompanyName>
      <Mail>sample string 6</Mail>
      <Zip>sample string 3</Zip>
    </InvoiceExternalDetails>
    <InvoiceInternal>true</InvoiceInternal>
    <NumberOfPeople>2</NumberOfPeople>
    <OrderStatusId>9</OrderStatusId>
    <OrderedByEmail>sample string 11</OrderedByEmail>
    <OrderedByName>sample string 10</OrderedByName>
    <Products>
      <CateringReservationProductRequestDTO>
        <DeliveryHour>1</DeliveryHour>
        <DeliveryMinute>1</DeliveryMinute>
        <DiscountPercentage>1</DiscountPercentage>
        <NumberOfItems>3</NumberOfItems>
        <ProductId>2</ProductId>
        <ProductOrderId>1</ProductOrderId>
      </CateringReservationProductRequestDTO>
      <CateringReservationProductRequestDTO>
        <DeliveryHour>1</DeliveryHour>
        <DeliveryMinute>1</DeliveryMinute>
        <DiscountPercentage>1</DiscountPercentage>
        <NumberOfItems>3</NumberOfItems>
        <ProductId>2</ProductId>
        <ProductOrderId>1</ProductOrderId>
      </CateringReservationProductRequestDTO>
    </Products>
    <ProductsOther>
      <CateringReservationProductRequestOtherDTO>
        <DeliveryHour>1</DeliveryHour>
        <DeliveryMinute>1</DeliveryMinute>
        <DiscountPercentage>1</DiscountPercentage>
        <Id>1</Id>
        <Name>sample string 2</Name>
        <NumberOfItems>3</NumberOfItems>
        <Price>4</Price>
      </CateringReservationProductRequestOtherDTO>
      <CateringReservationProductRequestOtherDTO>
        <DeliveryHour>1</DeliveryHour>
        <DeliveryMinute>1</DeliveryMinute>
        <DiscountPercentage>1</DiscountPercentage>
        <Id>1</Id>
        <Name>sample string 2</Name>
        <NumberOfItems>3</NumberOfItems>
        <Price>4</Price>
      </CateringReservationProductRequestOtherDTO>
    </ProductsOther>
    <Responsible xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </Responsible>
  </Catering>
  <ExchangeICalUId>sample string 4</ExchangeICalUId>
  <ExchangeMeetingId>sample string 3</ExchangeMeetingId>
  <MeetingroomId>2</MeetingroomId>
  <MyDeskMeetingId>1</MyDeskMeetingId>
</CateringReservationUpdateDTO>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CateringReservationUpdateDTO'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.