POST api/Catering/Order
Request Information
URI Parameters
None.
Body Parameters
CateringOrderUpdateDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| DepartmentId | integer |
None. |
|
| NumberOfPeople | integer |
None. |
|
| ExternalAttendeesPeoples | integer |
None. |
|
| Products | Collection of CateringReservationProductRequestDTO |
None. |
|
| ProductsOther | Collection of CateringReservationProductRequestOtherDTO |
None. |
|
| Comment | string |
None. |
|
| CommentHtml | string |
None. |
|
| DeliveryMethod | string |
None. |
|
| DeliveryDate | date |
None. |
|
| DeliveryHour | integer |
None. |
|
| DeliveryMinute | integer |
None. |
|
| LocationId | integer |
None. |
|
| FieldValues | Collection of FieldResponseItemDTO |
None. |
|
| Title | string |
None. |
|
| OrderedByName | string |
None. |
|
| OrderedByEmail | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"DepartmentId": 1,
"NumberOfPeople": 1,
"ExternalAttendeesPeoples": 2,
"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 3",
"CommentHtml": "sample string 4",
"DeliveryMethod": "sample string 5",
"DeliveryDate": "2025-12-06T03:59:33.8238496+00:00",
"DeliveryHour": 7,
"DeliveryMinute": 8,
"LocationId": 9,
"FieldValues": [
{
"FieldId": 1,
"Value": "sample string 2"
},
{
"FieldId": 1,
"Value": "sample string 2"
}
],
"Title": "sample string 10",
"OrderedByName": "sample string 11",
"OrderedByEmail": "sample string 12"
}
application/xml, text/xml
Sample:
<CateringOrderUpdateDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bluedock.Booking.Rest.Models.Catering">
<Comment>sample string 3</Comment>
<CommentHtml>sample string 4</CommentHtml>
<DeliveryDate>2025-12-06T03:59:33.8238496+00:00</DeliveryDate>
<DeliveryHour>7</DeliveryHour>
<DeliveryMethod>sample string 5</DeliveryMethod>
<DeliveryMinute>8</DeliveryMinute>
<DepartmentId>1</DepartmentId>
<ExternalAttendeesPeoples>2</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>
<LocationId>9</LocationId>
<NumberOfPeople>1</NumberOfPeople>
<OrderedByEmail>sample string 12</OrderedByEmail>
<OrderedByName>sample string 11</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>
<Title>sample string 10</Title>
</CateringOrderUpdateDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.