PUT api/DeliveryChallanCancellation/DeliveryChallanCancellationForSM/DC_Id/{dc_id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
dc_id

integer

Required

Body Parameters

DelivaryChallanCancellationModel
NameDescriptionTypeAdditional information
DC_CancellationDate

date

None.

DC_CancellationNote

string

None.

Request Formats

application/json, text/json

Sample:
{
  "DC_CancellationDate": "2019-05-22T06:27:15.7628817+05:30",
  "DC_CancellationNote": "sample string 2"
}

application/xml, text/xml

Sample:
<DelivaryChallanCancellationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models">
  <DC_CancellationDate>2019-05-22T06:27:15.7628817+05:30</DC_CancellationDate>
  <DC_CancellationNote>sample string 2</DC_CancellationNote>
</DelivaryChallanCancellationModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.