POST api/notes

Request Information

URI Parameters

None.

Body Parameters

Notes
NameDescriptionTypeAdditional information
MembershipId

integer

None.

AddedBy

integer

None.

Note

string

None.

DateCreated

date

None.

Request Formats

application/json, text/json

Sample:
{
  "MembershipId": 1,
  "AddedBy": 2,
  "Note": "sample string 3",
  "DateCreated": "2024-12-21T15:48:20.2072136+00:00"
}

text/html

Sample:
{"MembershipId":1,"AddedBy":2,"Note":"sample string 3","DateCreated":"2024-12-21T15:48:20.2072136+00:00"}

application/xml, text/xml

Sample:
<Notes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models">
  <AddedBy>2</AddedBy>
  <DateCreated>2024-12-21T15:48:20.2072136+00:00</DateCreated>
  <MembershipId>1</MembershipId>
  <Note>sample string 3</Note>
</Notes>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.