POST notes/addnotesubreasons

Request Information

URI Parameters

None.

Body Parameters

NoteSubReasonEntity
NameDescriptionTypeAdditional information
SubReasonId

integer

None.

SubReason

string

None.

OutcomeId

integer

None.

Outcome

string

None.

Active

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "SubReasonId": 1,
  "SubReason": "sample string 2",
  "OutcomeId": 3,
  "Outcome": "sample string 4",
  "Active": true
}

text/html

Sample:
{"SubReasonId":1,"SubReason":"sample string 2","OutcomeId":3,"Outcome":"sample string 4","Active":true}

application/xml, text/xml

Sample:
<NoteSubReasonEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Notes">
  <Active>true</Active>
  <Outcome>sample string 4</Outcome>
  <OutcomeId>3</OutcomeId>
  <SubReason>sample string 2</SubReason>
  <SubReasonId>1</SubReasonId>
</NoteSubReasonEntity>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.