Note
Notes represent free-form text records in Lightfield. Each note can be associated with zero or more accounts and opportunities.
Create a note
client.note.create(NoteCreateParams { fields, relationships } body, RequestOptionsoptions?): NoteCreateResponse { id, createdAt, fields, 4 more }
POST/v1/notes
Update a note
client.note.update(stringid, NoteUpdateParams { fields, relationships } body, RequestOptionsoptions?): NoteUpdateResponse { id, createdAt, fields, 4 more }
POST/v1/notes/{id}
Retrieve a note
client.note.retrieve(stringid, RequestOptionsoptions?): NoteRetrieveResponse { id, createdAt, fields, 4 more }
GET/v1/notes/{id}
List notes
client.note.list(NoteListParams { limit, offset } query?, RequestOptionsoptions?): NoteListResponse { data, object, totalCount }
GET/v1/notes
ModelsExpand Collapse
NoteCreateResponse { id, createdAt, fields, 4 more }
NoteCreateResponse { id, createdAt, fields, 4 more }
fields: Record<string, Fields>Map of field names to their typed values. System fields are prefixed with $ (e.g. $name, $email); custom attributes use their bare slug.
fields: Record<string, Fields>
Map of field names to their typed values. System fields are prefixed with $ (e.g. $name, $email); custom attributes use their bare slug.
NoteListResponse { data, object, totalCount }
NoteListResponse { data, object, totalCount }
data: Array<Data>Array of entity objects for the current page.
data: Array<Data>
Array of entity objects for the current page.
fields: Record<string, Fields>Map of field names to their typed values. System fields are prefixed with $ (e.g. $name, $email); custom attributes use their bare slug.
fields: Record<string, Fields>
Map of field names to their typed values. System fields are prefixed with $ (e.g. $name, $email); custom attributes use their bare slug.
NoteRetrieveResponse { id, createdAt, fields, 4 more }
NoteRetrieveResponse { id, createdAt, fields, 4 more }
fields: Record<string, Fields>Map of field names to their typed values. System fields are prefixed with $ (e.g. $name, $email); custom attributes use their bare slug.
fields: Record<string, Fields>
Map of field names to their typed values. System fields are prefixed with $ (e.g. $name, $email); custom attributes use their bare slug.
NoteUpdateResponse { id, createdAt, fields, 4 more }
NoteUpdateResponse { id, createdAt, fields, 4 more }
fields: Record<string, Fields>Map of field names to their typed values. System fields are prefixed with $ (e.g. $name, $email); custom attributes use their bare slug.
fields: Record<string, Fields>
Map of field names to their typed values. System fields are prefixed with $ (e.g. $name, $email); custom attributes use their bare slug.