pub struct Note {
pub comment_viewer_id: Option<i64>,
pub domain_id: i64,
pub domain_type: String,
pub security_level_id: Option<i64>,
pub id: i64,
pub links: NoteLinks,
pub meta: NoteMetadata,
pub text: String,
pub extra: Map<String, Value>,
}Expand description
A note can be linked to multiple business objects. The top-level domainType, domainId, securityLevelId, and commentViewerId come from the first stored link, which may differ from the requested route. The note text is shared by every link.
Fields§
§comment_viewer_id: Option<i64>Person-comment visibility category. Used for person-domain filtering, not for other note domains.
domain_id: i64ID of the linked business object.
domain_type: StringKinds of objects with attached notes. Notes for follow_up can be read here but must be created through the follow-up API.
Allowed values: follow_up, group, person, song_arrangement.
security_level_id: Option<i64>Visibility threshold used for group notes. Other current domains do not filter note lists by this value.
id: i64§links: NoteLinksAll linked domains, including links not independently authorized by the requested route. Only the last link for each domain type is serialized.
meta: NoteMetadata§text: StringShared note content as stored; historical notes may not match current create/update input constraints.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.