PUT api/CounterSalesCancellation/CounterSalesOrderCancellation/CounterSalesid/{countersalesid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
countersalesid

integer

Required

Body Parameters

CounterSalesCancellationModel
NameDescriptionTypeAdditional information
CS_CancellationDate

date

None.

CS_CancellationNote

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CS_CancellationDate": "2019-05-20T10:20:22.7512665+05:30",
  "CS_CancellationNote": "sample string 2"
}

application/xml, text/xml

Sample:
<CounterSalesCancellationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models">
  <CS_CancellationDate>2019-05-20T10:20:22.7512665+05:30</CS_CancellationDate>
  <CS_CancellationNote>sample string 2</CS_CancellationNote>
</CounterSalesCancellationModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.