Entry Model

Represents a note or email or completed party task that is stored in Capsule. Entries can be linked to a party, opportunity or case.

Name Type Description
id Long Read only

The unique id of this note, email or completed party task activity.

type String Read only

The type of entry, a note, a recorded email or a completed task for a party. Once set the type cannot be changed.

Accepted values are: note, email, task

createdAt Date Read only

The date and time this entry was created. This field is automatically set by Capsule and cannot be edited.

updatedAt Date Read only

The ISO DateTime when this entry was updated last time. This field is automatically set by Capsule and cannot be edited.

entryAt Date

The ISO DateTime this entry should appear in the users activity timeline. This date is note necessarily the same as the createdAt date which is generated by the systems.

subject String

Subject line of the email

content String

Body of the entry

attachments Attachment

An array of files associated with this Note or Email. You can use Upload Attachment to upload a new attachment ready to include in this array.

creator Nested User

The user that created this entry

activityType Nested Activity Type

The activity type for this entry. If one isn't supplied when creating a new entry the activity type will default to being a Note -1.

kase Nested Case

The kase associated with this note or email

opportunity Nested Opportunity

The opportunity associated with the note or email

party Nested Party

The party associated with this note or completed task detail

parties Array of Nested Party

Array of parties associated with this email

participants Array of Participant

Array of email addresses on this email