PUT api/Admin/Catering/Order/{orderId}/Products/{productOrderId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
orderId

integer

Required

productOrderId

integer

Required

Body Parameters

CateringOrderProductPutDTO
NameDescriptionTypeAdditional information
ProductId

integer

None.

NumberOfItems

integer

None.

DeliveryHour

integer

None.

DeliveryMinute

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ProductId": 1,
  "NumberOfItems": 2,
  "DeliveryHour": 1,
  "DeliveryMinute": 1
}

application/xml, text/xml

Sample:
<CateringOrderProductPutDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bluedock.Booking.Rest.Models.Catering">
  <DeliveryHour>1</DeliveryHour>
  <DeliveryMinute>1</DeliveryMinute>
  <NumberOfItems>2</NumberOfItems>
  <ProductId>1</ProductId>
</CateringOrderProductPutDTO>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.