PUT api/MedicationFrequencies/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

MedicationFrequency
NameDescriptionTypeAdditional information
FREQUENCY

string

None.

SEQ

integer

None.

DESCRIPTION

string

None.

MULTIPLIER

integer

None.

MULTIPLIER2

decimal number

None.

INTERVAL

string

None.

OLD

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "FREQUENCY": "sample string 1",
  "SEQ": 2,
  "DESCRIPTION": "sample string 3",
  "MULTIPLIER": 4,
  "MULTIPLIER2": 1.0,
  "INTERVAL": "sample string 5",
  "OLD": 1
}

application/octet-stream

Sample:
{"FREQUENCY":"sample string 1","SEQ":2,"DESCRIPTION":"sample string 3","MULTIPLIER":4,"MULTIPLIER2":1.0,"INTERVAL":"sample string 5","OLD":1}

application/xml, text/xml

Sample:
<MedicationFrequency xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <FREQUENCY>sample string 1</FREQUENCY>
  <SEQ>2</SEQ>
  <DESCRIPTION>sample string 3</DESCRIPTION>
  <MULTIPLIER>4</MULTIPLIER>
  <MULTIPLIER2>1</MULTIPLIER2>
  <INTERVAL>sample string 5</INTERVAL>
  <OLD>1</OLD>
</MedicationFrequency>

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

Response Information

Resource Description

None.