Skip to content
Gallery
API Documentation Admin Webapp
Share
Explore
EXPENSE

EXPENSE UPDATE

PUT /expense/update/:id

Request
{
"image": "<<url>>",
"date":"<<date>>",
"expense_type":enum["doctor","visit"],
"contact_id":"<<string>>",
"total_cost":"<<number>>",
"visit_id":"<<string>>",
}
Response (Success)
{
"status":true,
"code":"EXPENSE_UPDATE_SUCCESS",
"payload":{
"id":"<<string>>",
"created_at":"<<date>>",
"updated_at":"<<date>>"
}

}

Response (Error)
{
"status": false,
"code": "EXPENSE_UPDATE_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.