PUT api/notes

Request Information

URI Parameters

None.

Body Parameters

NotesQuery
NameDescriptionTypeAdditional information
notesId

integer

None.

membershipId

integer

None.

addedBy

integer

None.

note

string

None.

fromDate

date

None.

toDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "notesId": 1,
  "membershipId": 2,
  "addedBy": 3,
  "note": "sample string 4",
  "fromDate": "2021-07-31T06:51:01.604308+00:00",
  "toDate": "2021-07-31T06:51:01.604308+00:00"
}

text/html

Sample:
{"notesId":1,"membershipId":2,"addedBy":3,"note":"sample string 4","fromDate":"2021-07-31T06:51:01.604308+00:00","toDate":"2021-07-31T06:51:01.604308+00:00"}

application/xml, text/xml

Sample:
<NotesQuery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models.Services">
  <AddedBy>3</AddedBy>
  <FromDate>2021-07-31T06:51:01.604308+00:00</FromDate>
  <MembershipId>2</MembershipId>
  <Note>sample string 4</Note>
  <NotesId>1</NotesId>
  <ToDate>2021-07-31T06:51:01.604308+00:00</ToDate>
</NotesQuery>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.