PUT api/Notes/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

NoteBindingViewModel
NameDescriptionTypeAdditional information
Body

string

Required

Title

string

None.

CategoryId

integer

None.

AccessLevelId

integer

None.

ExceptionId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Body": "sample string 1",
  "Title": "sample string 2",
  "CategoryId": 1,
  "AccessLevelId": 1,
  "ExceptionId": 1
}

application/xml, text/xml

Sample:
<NoteBindingViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eMpowerCore.ViewModels.Notes">
  <AccessLevelId>1</AccessLevelId>
  <Body>sample string 1</Body>
  <CategoryId>1</CategoryId>
  <ExceptionId>1</ExceptionId>
  <Title>sample string 2</Title>
</NoteBindingViewModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.