POST api/AllergyReactions

Request Information

URI Parameters

None.

Body Parameters

AllergyReaction
NameDescriptionTypeAdditional information
REACTION

string

None.

OLD

integer

None.

Request Formats

application/json, text/json

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

application/octet-stream

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

application/xml, text/xml

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

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

Response Information

Resource Description

AllergyReaction
NameDescriptionTypeAdditional information
REACTION

string

None.

OLD

integer

None.

Response Formats

application/json, text/json

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

application/octet-stream

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

application/xml, text/xml

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