POST api/FeedBack/SubmitFeedBackForOrder

Accepts feedback for given order

Request Information

URI Parameters

None.

Body Parameters

FeedBackBindingModelsWithOrderId
NameDescriptionTypeAdditional information
OrderId

integer

Required

CreatedDate

date

None.

FeedBackType

FeedBackType

Required

Rating

string

Required

Message

string

None.

Subject

string

None.

Read

boolean

None.

AssignTo

string

None.

Request Formats

application/json, text/json

Sample:
{
  "OrderId": 1,
  "CreatedDate": "2026-04-16T05:40:40.5494613",
  "FeedBackType": 0,
  "Rating": "sample string 1",
  "Message": "sample string 2",
  "Subject": "sample string 3",
  "Read": true,
  "AssignTo": "sample string 5"
}

application/xml, text/xml

Sample:
<FeedBackBindingModelsWithOrderId xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Coke.Models.WebApi.BindingModels.FeedBack">
  <AssignTo>sample string 5</AssignTo>
  <FeedBackType>FeedBack</FeedBackType>
  <Message>sample string 2</Message>
  <Rating>sample string 1</Rating>
  <Read>true</Read>
  <Subject>sample string 3</Subject>
  <CreatedDate>2026-04-16T05:40:40.5494613</CreatedDate>
  <OrderId>1</OrderId>
</FeedBackBindingModelsWithOrderId>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.