Notes
Companies
Update a company note
Changed onUpdates a company note with administrator authorization checks. Only the author may change a private note. Omitted visibility is preserved; public notes cannot become private.
patch/company-notes
Request
- Base URLhttps://api.equipmentshare.com (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
Request body
Company Note Update Validation required
company_id, integer
is_pinned, boolean
note_description, string nullable
note_text, string nullable
note_type_id, integer
user_id, integer
visibility, 'public' | 'private'
Omission preserves visibility. Private is allowed only for an already private note.
Response
Company Note required
company_id, integer
company_note_id, integer
company_note_type, Company Note Type nullable
date_created, string date-time
date_updated, string date-time nullable
is_pinned, boolean
note_description, string nullable
note_text, string nullable
note_type_id, integer
updated_by, integer nullable
user, User Note nullable
user_id, integer
visibility, 'public' | 'private'
Changes
- breaking
added required request body
- info
added the media type
application/jsonfor the response with the status - info
added the non-success response with the status
- breaking