Update note

Update an existing note. This is a full update: fields omitted from the body are cleared. The note stays attached to its record; for a person note, set family to move it between the person and their household's family. First retrieve the current note from /api/notes/{id}, apply your changes, then send back the full object. The required permission depends on the note's link type: people notes require Write Notes at the person's campuses while multi-campus is on (on your own and your household's profiles your main permissions decide, whatever their campuses; with campus overrides that is the default set capped by what you hold anywhere), and family notes require Write Notes at a campus of one of the family's members while multi-campus is on (on your own family your main permissions decide); connection notes require Full Write Connections, the connection inside your campus access and within your connection type limits, unless you are the connection's assignee; batches notes require Limited Write Contributions and the batch inside your campus access for it; business notes require Limited Write Contributions or Full Write Accounting, and the business inside your campus access; groups notes require group admin access with note permissions (Limited Write Groups); plan and plan_item notes require Full Write Service Plans, checked on the plan's campuses when you hold a campus limit or campus overrides; reconciliations notes require Bank Reconciliations, and Full Write Accounting at every campus while multi-campus is on (at every campus of the reconciliation's bank account's organization while multi-org is on); and workflow_people notes require Full Write Workflows, or being a manager of the workflow or holding an open assignment in it. Moving a person note to the person's family (family true) needs Write Notes on that family as for a family note, with the edited note type within your note type limits there. Moving a family note back to a person (family false) needs that person to be a member of the note's family who is not archived, Write Notes on them, and the edited note type within your note type limits for that person. Moving someone else's family note to a person, or changing its privacy or its groups, also needs Write Notes at every member's campuses and organizations (a member with neither does not block it; on your own family your main permissions decide), else a 403 with family_note_change_outside_access_desc; changing only its text, date or type does not. A note on a connection, group, batch, plan or plan item an archived organization keeps as read-only history is refused with a 400. Any other link type is refused.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int32
required
≥ 1

The id of the note

Body Params

The details of the new note

date | null
required

The date of the note as a calendar date (yyyy-MM-dd), with no time component. When omitted on create, the server stores the current date in the tenant's time zone.

string | null
required

The note's text.

string | null

The note's privacy level: limited (only users with access to the note's type), private (only the note's creator) or groups (only current members of specific groups).

type
object | null

The note's type, identified by its code. Values come from the matching note-type property values (e.g. person_note_types, batch_note_types, group_note_types). Defaults to the general type when omitted.

boolean | null

Whether the note's contents are hidden by default and only made visible on demand.

boolean | null

Whether the note is attached to the person's family rather than the person. Only applies to people notes. When creating a note, family: true needs what a family note needs: while multi-campus is on, Write Notes at a campus of one of the family's members, not at the person's campuses.

groups
array of objects | null

When privacy is groups, the groups whose members can view the note. Only each group's id is used.

groups
int32 | null

The id of the person the note belongs to; required when switching family back to false. The person must be a member of the note's family who is not archived, and you need Write Notes on them with the edited note type within your note type limits for that person. Otherwise ignored, as the note stays attached to its current record.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses
200

OK

401

Authentication is required, or the Ocs-Api-Key header is missing or invalid.

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json
text/json