Admin
Notes
Companies
Create a new company note
Changed onCreate a public or private company note with optional pinning, attributed to the authenticated user. Visibility defaults to public. Requires company_note_create. Machine tokens require X-M2M-USER-ID and can create public notes only.
post/admin/companies/{company_id}/notes/{company_note_id}
Request
- Base URLhttps://api.equipmentshare.com (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
Path parameters
company_id, integer required
company_note_id, integer required
Request body
Company Note Create required
company_note_type_id, integer required
is_pinned, boolean
note_description, string nullable
note_text, string nullable
visibility, 'public' | 'private'
Public or private visibility. Defaults to public.
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
- info
added the new
privateenum value to the request propertyvisibility
- info
- info
added the new optional request property
visibility - info
added the non-success response with the status
2 more changes in this revision
- info