-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Milestone
Description
Todo:
- Unit Test for Get History
Make sure to test on approving financial request and approving kas submission.
Make sure to clear the dummy data after test automatically.
-
Get History
- Method:
GET - URI:
/api/balance/history - Filter: sort by date, pagination
Response:
{ "status": true, "status_code": 200, "message": "Success getting balance history", "data": [ { "amount": 10000, "activity": "Add", "note": "[kas pay]", "user": { "npm": "2125240021" }, "created_at": "2024-05-12T10:09:37.88331+08:00" } ] }Possibility Fail:
Balance not initialized yet (500) - Method:
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Pending