Browse the help center

Change a note for a user

Replaces the fields sent and keeps the others: {"text": "…"} leaves the title as it is, {"title": null} removes it.

Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/system-users/{userId}/notes/{noteId}.do

Replaces the fields sent and keeps the others: {"text": "…"} leaves the title as it is, {"title": null} removes it. Limits as on add. The user keeps seeing the date the note was written; updatedAt and updatedBy record the change for the operator. A change of the title or the text makes the note unread again (readAt null), so the user sees it anew; a save that changes neither keeps it read. Requires the right to edit the user: a role the caller may create users in (the bar the console's user page uses).

Path Params

userId integer required

Numeric id of the user, as /rest-api/system-users/search.do reports it

42

noteId integer required

Numeric id of the note, as the list of the user's notes reports it

7

Body

A JSON body. An example, built from the field definitions:

{
  "title": "Payment schedule",
  "text": "Payments go out on the 15th of each month."
}

Responses

200

{success, note, ignoredFields}

400

Invalid body, each problem named in errors by field

401

Unauthorized — authentication error

403

The caller may not edit users of the target's role

404

No user with this id, or no note with this id for that user

Please disable Adblock
Are you using adblock? Disable it and reload the page to proceed to the destination page.

A registration has already been submitted from this page. Please try again in 10 minutes.