Skip to content
Gallery
API Documentation Admin Webapp
Share
Explore
EXPENSE

EXPENSE LIST

GET /expense

Request
{}
Response (Success)
{
"status":true,
"code":"EXPENSE_LIST_FETCH_SUCCESS",
"payload":[
{
"id":"<<string>>",
"bill_no":"<<string>>",
"image": "<<url>>",
"date":"<<date>>",
"expense_type":"doctor",
"total_cost":"<<number>>",
"status":"pending",
"created_by": {
"id": "<<string>>",
"name": "<<string>>",
},
"contact":"<<object>>",
},
{
"id":"<<string>>",
"bill_no":"<<string>>",
"image": "<<url>>",
"date":"<<date>>",
"reimbursed":"<<number>>",
"expense_type":"visit",
"total_cost":"<<number>>",
"status":"approved",
"created_by": {
"id": "<<string>>",
"name": "<<string>>",
},
"visit":"<<object>>",
},
{
"id":"<<string>>",
"bill_no":"<<string>>",
"image": "<<url>>",
"date":"<<date>>",
"reimbursed":"<<number>>",
"expense_type":"visit",
"total_cost":"<<number>>",
"status":"rejected",
"created_by": {
"id": "<<string>>",
"name": "<<string>>",
},
"visit":"<<object>>",
},

]

}

Response (Error)
{
"status": false,
"code": "EXPENSE_LIST_FETCH_FAILED",
"message": "Bad request"
}

Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.