POST api/Canteen/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
CateringReservationRequestDTO| Name | Description | Type | Additional 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. |
|
| Comment | string |
None. |
|
| CommentHtml | string |
None. |
|
| InternalComment | string |
None. |
|
| InternalCommentHtml | string |
None. |
|
| DeliveryMethod | string |
None. |
|
| OrderStatusId | integer |
None. |
|
| OrderedByName | string |
None. |
|
| OrderedByEmail | string |
None. |
|
| DeliveryDate | date |
None. |
|
| DeliveryHour | integer |
None. |
|
| DeliveryMinute | integer |
None. |
|
| FieldValues | Collection of FieldResponseItemDTO |
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
}
],
"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:21:50.2552674+00:00",
"DeliveryHour": 1,
"DeliveryMinute": 1,
"FieldValues": [
{
"FieldId": 1,
"Value": "sample string 2"
},
{
"FieldId": 1,
"Value": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<CateringReservationRequestDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bluedock.Booking.Rest.Models.Catering">
<Comment>sample string 4</Comment>
<CommentHtml>sample string 5</CommentHtml>
<DeliveryDate>2025-12-05T10:21:50.2552674+00:00</DeliveryDate>
<DeliveryHour>1</DeliveryHour>
<DeliveryMethod>sample string 8</DeliveryMethod>
<DeliveryMinute>1</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>
<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:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</Responsible>
</CateringReservationRequestDTO>
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.