latestOpenAPI 3.0.0Apache 2.02026-08-06199181.1 MB

e0d144609998

Expense Notes

Create Expense Note

Create Expense Note

post/expenses/{expense_id}/notes

Path parameters

expense_idinteger required

Expense Id

Request body

commentstring required

Expense Comment/Note

Response

Resource has been created successfully.

messagestring

Example response

{
  "message": "expense_note has been created.",
  "expense_note": {
    "id": 1,
    "expense_id": "00000006",
    "is_comment": true,
    "note": "Expense Comment/Note Content",
    "full_note": "Expense Comment/Note Content",
    "transition": "comment",
    "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"
  }
}