PUT api/OrderCancellation/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

CustomerOrderCancellationModels
NameDescriptionTypeAdditional information
COR_Id

integer

None.

COR_Cancelled

character

None.

COR_Cancellation

string

None.

UserId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "COR_Id": 1,
  "COR_Cancelled": "A",
  "COR_Cancellation": "sample string 3",
  "UserId": 4
}

application/xml, text/xml

Sample:
<CustomerOrderCancellationModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models">
  <COR_Cancellation>sample string 3</COR_Cancellation>
  <COR_Cancelled>65</COR_Cancelled>
  <COR_Id>1</COR_Id>
  <UserId>4</UserId>
</CustomerOrderCancellationModels>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.