Skip to navigation

Update Staff Note

Changes the text of the note a staff member already has on a date. Never creates a note: to add one, use Add Staff Note (POST /staff/note). Shared rules: see Writing data.

  • Same body as Add Staff Note. The body is closed: an unknown field is refused with 400. Counts toward your write budget.
  • The note on that date gets the new text. If several exist, the newest is changed. Images and the original creator and created_on are kept.
  • No note on that date: 404.
  • CRM and business-contact notes are never touched.
  • The staff member gets an app notification (“Admin has updated a note.”).
  • Same staff access rules as Add Staff Note. Deleting notes is not available. Use List Staff Notes to read notes back.

Authentication

AuthorizationApi-Key

Format: “Api-Key {api-key}”

Request

This endpoint expects an object.
salarybox_idstringRequired
SalaryBox ID of the staff member the note is for.
notestringRequired1-2000 characters

Note text, 1-2000 characters (extra spaces around it are trimmed).

datedateRequired

The date the note is about, YYYY-MM-DD.

Response

The note on that date was changed (data.action = updated).

messagestring

Note added successfully when created, Note for this date updated successfully when overwritten.

statusboolean
dataobject

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error