Diary API

Fetch

Fetch Latest Diary Entry By Locator
fetchLatestDiaryEntryByLocator
Fetches the latest revision of a single diary entry
GET /auxdata/{tenantLocator}/diary/{locator}/latest
    Request Parameters:
    NamePositionTypeRequired
    tenantLocatorpathuuidrequired
    locatorpathlocatorrequired
    Security Group:diary   Permission:read
Fetch Latest Diary Entries By Reference
fetchLatestDiaryEntriesByReference
Fetches all of the the latest revisions for a given entity
GET /auxdata/{tenantLocator}/diary/{referenceType}/{referenceLocator}
    Request Parameters:
    NamePositionTypeRequired
    tenantLocatorpathuuidrequired
    referenceTypepathEnum policies | quotes | transactionsrequired
    referenceLocatorpathlocatorrequired
    includeDiscardedqueryboolean?optional
    Security Group:diary   Permission:read
Fetch All Diary Entries By Locator
fetchAllDiaryEntriesByLocator
Fetches all revisions of a single diary entry
GET /auxdata/{tenantLocator}/diary/{locator}
    Request Parameters:
    NamePositionTypeRequired
    tenantLocatorpathuuidrequired
    locatorpathlocatorrequired
    offsetqueryint?optional
    countqueryint?optional
    Security Group:diary   Permissions:read,list
DiaryEntryResponse
required
locator locator
referenceLocator locator
diaryState Enum active | discarded
contents string
referenceType Enum quote | policy | transaction | activity
updatedAt datetime
updatedBy uuid
createdAt datetime
createdBy uuid

optional
category string?

Creation

Create Diary
createDiary
POST /auxdata/{tenantLocator}/diary/{referenceType}/{referenceLocator}
    Request Parameters:
    NamePositionTypeRequired
    tenantLocatorpathuuidrequired
    referenceTypepathEnum policies | quotes | transactionsrequired
    referenceLocatorpathlocatorrequired
    Security Group:diary   Permission:write
DiaryEntryCreateRequest
required
contents string

optional
category string?

Revisioning

Update Diary
updateDiary
PATCH /auxdata/{tenantLocator}/diary/{locator}
DiaryEntryUpdateRequest
required
contents string

optional
category string?

Discard

Discard Diary
discardDiary
PATCH /auxdata/{tenantLocator}/diary/{locator}/discard
    Request Parameters:
    NamePositionTypeRequired
    tenantLocatorpathuuidrequired
    locatorpathlocatorrequired
    Security Group:diary   Permission:write

See Also