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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

CateringOrderAdminRejectDTO
NameDescriptionTypeAdditional information
Comment

string

None.

RejectReasonId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Comment": "sample string 1",
  "RejectReasonId": 2
}

application/xml, text/xml

Sample:
<CateringOrderAdminRejectDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bluedock.Booking.Rest.Models.Catering">
  <Comment>sample string 1</Comment>
  <RejectReasonId>2</RejectReasonId>
</CateringOrderAdminRejectDTO>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.