PUT api/entitynotes/{id}

Update note

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Note Id

integer

Required

Body Parameters

UpdateNoteEntityViewModel
NameDescriptionTypeAdditional information
ReferenceId

Reference Id (GL Entity Id)

integer

Required

NoteTitle

Note Title

string

None.

Note

Note

string

Required

String length: inclusive between 0 and 500

IsPinned

IsPinned

boolean

None.

EffectiveDate

Effective Date

date

Required

TerminationDate

Termination Date

date

Required

DisplayInRSM

Display In RSM

boolean

None.

NoteType

NoteType

integer

Required

Range: inclusive between 1 and 2

Order

Note Order

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "referenceId": 1,
  "noteTitle": "sample string 2",
  "note": "sample string 3",
  "isPinned": true,
  "effectiveDate": "2024-10-14T08:23:14.3203083-04:00",
  "terminationDate": "2024-10-14T08:23:14.3203083-04:00",
  "displayInRSM": true,
  "noteType": 8,
  "order": 1
}

application/xml, text/xml

Sample:
<UpdateNoteEntityViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.Notes">
  <DisplayInRSM>true</DisplayInRSM>
  <EffectiveDate>2024-10-14T08:23:14.3203083-04:00</EffectiveDate>
  <IsPinned>true</IsPinned>
  <Note>sample string 3</Note>
  <NoteTitle>sample string 2</NoteTitle>
  <NoteType>8</NoteType>
  <Order>1</Order>
  <TerminationDate>2024-10-14T08:23:14.3203083-04:00</TerminationDate>
  <ReferenceId>1</ReferenceId>
</UpdateNoteEntityViewModel>

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

Response Information

Resource Description

NoteEntityViewModel

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.