PUT api/Peoples/{peopleID}/Notes/Add

Request Information

URI Parameters

NameDescriptionTypeAdditional information
peopleID

integer

Required

Body Parameters

PeopleNoteModel
NameDescriptionTypeAdditional information
note_id

integer

None.

note_personid

integer

None.

note_note

string

None.

note_leftbypersonid

integer

None.

note_date

date

None.

noteByName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "note_id": 1,
  "note_personid": 2,
  "note_note": "sample string 3",
  "note_leftbypersonid": 4,
  "note_date": "2021-09-15T21:44:41.9780918-07:00",
  "noteByName": "sample string 6"
}

application/xml, text/xml

Sample:
<PeopleNoteModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_10RuleAPI.Models.People">
  <noteByName>sample string 6</noteByName>
  <note_date>2021-09-15T21:44:41.9780918-07:00</note_date>
  <note_id>1</note_id>
  <note_leftbypersonid>4</note_leftbypersonid>
  <note_note>sample string 3</note_note>
  <note_personid>2</note_personid>
</PeopleNoteModel>

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

Response Information

Resource Description

None.