Diary API
Fetch
Fetches the latest revision of a single diary entry
GET /auxdata/{tenantLocator}/diary/{locator}/latest
Request Parameters:
Name | Position | Type | Required |
---|---|---|---|
tenantLocator | path | uuid | required |
locator | path | string | required |
Response:DiaryEntryResponse
Security Group:diary  Permission:read
Fetches all of the the latest revisions for a given entity
GET /auxdata/{tenantLocator}/diary/{referenceType}/{referenceLocator}
Request Parameters:
Name | Position | Type | Required |
---|---|---|---|
tenantLocator | path | uuid | required |
referenceType | path | Enum policies | quotes | transactions | required |
referenceLocator | path | string | required |
includeDiscarded | query | boolean? | optional |
Response:DiaryEntryResponse[]
Security Group:diary  Permission:read
Fetches all revisions of a single diary entry
GET /auxdata/{tenantLocator}/diary/{locator}
Request Parameters:
Name | Position | Type | Required |
---|---|---|---|
tenantLocator | path | uuid | required |
locator | path | string | required |
offset | query | int? | optional |
count | query | int? | optional |
Response:DiaryEntryResponse[]
Security Group:diary  Permissions:read,list
DiaryEntryResponse
¶requiredlocator stringreferenceLocator stringdiaryState Enum active | discardedcontents stringreferenceType Enum quote | policy | transaction | activity | fnolupdatedAt datetimeupdatedBy uuidcreatedAt datetimecreatedBy uuidoptionalcategory string?
Creation
POST /auxdata/{tenantLocator}/diary/{referenceType}/{referenceLocator}
Request Parameters:
Name | Position | Type | Required |
---|---|---|---|
tenantLocator | path | uuid | required |
referenceType | path | Enum policies | quotes | transactions | required |
referenceLocator | path | string | required |
Request:DiaryEntryCreateRequest
Response:DiaryEntryResponse
Security Group:diary  Permission:write
DiaryEntryCreateRequest
¶requiredcontents stringoptionalcategory string?
Revisioning
PATCH /auxdata/{tenantLocator}/diary/{locator}
Request Parameters:
Name | Position | Type | Required |
---|---|---|---|
tenantLocator | path | uuid | required |
locator | path | string | required |
Request:DiaryEntryUpdateRequest
Response:DiaryEntryResponse
Security Group:diary  Permission:write
DiaryEntryUpdateRequest
¶requiredcontents stringoptionalcategory string?
Discard
PATCH /auxdata/{tenantLocator}/diary/{locator}/discard
Request Parameters:
Name | Position | Type | Required |
---|---|---|---|
tenantLocator | path | uuid | required |
locator | path | string | required |
Response:DiaryEntryResponse
Security Group:diary  Permission:write