JavaScript required
We’re sorry, but Coda doesn’t work properly without JavaScript enabled.
Skip to content
Gallery
API Documentation Admin Webapp
API Documentation
MEDPULSE DATABASE [DRAFT]
More
Share
Explore
STATS
EXPENSE
GET /stats/expense
Request
{
}
Response (Success)
{
"status"
:
true
,
"code"
:
"EXPENSE_STATS_SUCCESS"
,
"payload"
:
{
"total_expense_cost"
:
"<<number>>"
,
"pending_expense_cost"
:
"<<number>>"
,
"approved_expense_cost"
:
"<<number>>"
,
}
}
Response (Error)
{
"status"
:
false
,
"code"
:
"EXPENSE_STATS_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 (
Ctrl
P
) instead.