PUT api/MedicationRoutes/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

MedicationRoute
NameDescriptionTypeAdditional information
MED_ROUTE1

string

None.

OLD

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "MED_ROUTE1": "sample string 1",
  "OLD": 1
}

application/octet-stream

Sample:
{"MED_ROUTE1":"sample string 1","OLD":1}

application/xml, text/xml

Sample:
<MedicationRoute xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <MED_ROUTE1>sample string 1</MED_ROUTE1>
  <OLD>1</OLD>
</MedicationRoute>

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

Response Information

Resource Description

None.