PUT api/OrderCancellation/PurchaseOrderCancellationCinfirm/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

PurchaseOrderCancellationModels
NameDescriptionTypeAdditional information
POR_Id

integer

None.

POR_Cancelled

character

None.

POR_Cancellation

string

None.

UserId

integer

None.

POR_CancellationDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "POR_Id": 1,
  "POR_Cancelled": "A",
  "POR_Cancellation": "sample string 3",
  "UserId": 4,
  "POR_CancellationDate": "2019-12-10T13:56:10.1768386+05:30"
}

application/xml, text/xml

Sample:
<PurchaseOrderCancellationModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models">
  <POR_Cancellation>sample string 3</POR_Cancellation>
  <POR_CancellationDate>2019-12-10T13:56:10.1768386+05:30</POR_CancellationDate>
  <POR_Cancelled>65</POR_Cancelled>
  <POR_Id>1</POR_Id>
  <UserId>4</UserId>
</PurchaseOrderCancellationModels>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.