Expense Notes
List Expense Notes
List all expense notes
get/expenses/{expense_id}/notes
Path parameters
expense_idinteger required
Expense Id
Query parameters
idinteger
Search expense notes by note Id
transitionstring
Search expense notes by transition
filtersobject
Filter expense notes by the above query parameters. <br /> <b>Example:</b> { "transition[eq]" : "comment" } which will search for expense notes with transition = "comment".
sort[asc]'id' | 'transition' | 'created_date' | 'modified_date'
Sort expense notes in ascending order
sort[desc]'id' | 'transition' | 'created_date' | 'modified_date'
Sort expense notes in descending order
pageinteger
The particular page to return
per_pageinteger
The number of items to return per page Default: 50 Limit: 200
Response
Resources have been retrieved successfully.
Example response
{
"message": "success.",
"notes": [
{
"id": 1,
"expense_id": "00000006",
"is_comment": false,
"note": null,
"full_note": "Expense created by John Doe on 2024-09-09 10:30",
"transition": "create",
"transition_message": "Expense created by John Doe on 2024-09-09 10:30",
"profile_picture_url": "http://localhost/lexzur/api/v2/core/user/profile-pic/2?expires=1732536771&signature=212e41935c577d34011b9a5dfb9fd041359255115230259b001b2eb9168554c5",
"created_by": 2,
"created_by_name": "John Doe",
"created_on": "2024-09-09T10:30:02.000000Z",
"modified_by": 2,
"modified_on": "2024-09-10T11:31:02.000000Z"
},
{
"id": 2,
"expense_id": "00000006",
"is_comment": true,
"note": "Expense Comment/Note Content.",
"full_note": "Expense Comment/Note Content",
"transition": "comment",
"transition_message": null,
"profile_picture_url": "http://localhost/lexzur/api/v2/core/user/profile-pic/3?expires=1732536771&signature=2d1c3f78e5b7d85a9d346e0b543f7f09b765b734b45e228674a92f9ad98b7e53",
"created_by": 3,
"created_by_name": "Jane Smith",
"created_on": "2024-09-09T11:30:02.000000Z",
"modified_by": 3,
"modified_on": "2024-09-10T12:31:02.000000Z"
}
]
}