PUT api/Admin/Catering/Order/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

CateringOrderAdminDTO
NameDescriptionTypeAdditional information
DepartmentId

integer

None.

InvoiceInternal

boolean

None.

InvoiceExternalDetails

CateringOrderExternalInvoiceDetailsDTO

None.

Responsible

Collection of integer

None.

NumberOfPeople

integer

None.

ExternalAttendeesPeoples

integer

None.

Products

Collection of CateringReservationProductRequestDTO

None.

ProductsOther

Collection of CateringReservationProductRequestOtherDTO

None.

CommentHtml

string

None.

InternalCommentHtml

string

None.

DeliveryMethod

string

None.

IsDelivery

boolean

None.

OrderStatusId

integer

None.

OrderedByName

string

None.

OrderedByEmail

string

None.

DeliveryDate

date

None.

DeliveryHour

integer

None.

DeliveryMinute

integer

None.

LocationId

integer

None.

Title

string

None.

FieldValues

Collection of FieldResponseItemDTO

None.

PickupLocationId

integer

None.

PickupComment

string

None.

PickupRequestedLocationId

integer

None.

PickupRequestComment

string

None.

Request Formats

application/json, text/json

Sample:
{
  "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
    }
  ],
  "CommentHtml": "sample string 4",
  "InternalCommentHtml": "sample string 5",
  "DeliveryMethod": "sample string 6",
  "IsDelivery": true,
  "OrderStatusId": 8,
  "OrderedByName": "sample string 9",
  "OrderedByEmail": "sample string 10",
  "DeliveryDate": "2026-10-27T08:50:39.0205668+00:00",
  "DeliveryHour": 12,
  "DeliveryMinute": 13,
  "LocationId": 14,
  "Title": "sample string 15",
  "FieldValues": [
    {
      "FieldId": 1,
      "Value": "sample string 2"
    },
    {
      "FieldId": 1,
      "Value": "sample string 2"
    }
  ],
  "PickupLocationId": 1,
  "PickupComment": "sample string 16",
  "PickupRequestedLocationId": 1,
  "PickupRequestComment": "sample string 17"
}

application/xml, text/xml

Sample:
<CateringOrderAdminDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bluedock.Booking.Rest.Models.Catering">
  <CommentHtml>sample string 4</CommentHtml>
  <DeliveryDate>2026-10-27T08:50:39.0205668+00:00</DeliveryDate>
  <DeliveryHour>12</DeliveryHour>
  <DeliveryMethod>sample string 6</DeliveryMethod>
  <DeliveryMinute>13</DeliveryMinute>
  <DepartmentId>1</DepartmentId>
  <ExternalAttendeesPeoples>3</ExternalAttendeesPeoples>
  <FieldValues xmlns:d2p1="http://schemas.datacontract.org/2004/07/Bluedock.Booking.Rest.Models.Fields">
    <d2p1:FieldResponseItemDTO>
      <d2p1:FieldId>1</d2p1:FieldId>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:FieldResponseItemDTO>
    <d2p1:FieldResponseItemDTO>
      <d2p1:FieldId>1</d2p1:FieldId>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:FieldResponseItemDTO>
  </FieldValues>
  <InternalCommentHtml>sample string 5</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>
  <IsDelivery>true</IsDelivery>
  <LocationId>14</LocationId>
  <NumberOfPeople>2</NumberOfPeople>
  <OrderStatusId>8</OrderStatusId>
  <OrderedByEmail>sample string 10</OrderedByEmail>
  <OrderedByName>sample string 9</OrderedByName>
  <PickupComment>sample string 16</PickupComment>
  <PickupLocationId>1</PickupLocationId>
  <PickupRequestComment>sample string 17</PickupRequestComment>
  <PickupRequestedLocationId>1</PickupRequestedLocationId>
  <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:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </Responsible>
  <Title>sample string 15</Title>
</CateringOrderAdminDTO>

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 'CateringOrderAdminDTO'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.