Skip to content
Gallery
API Documentation Admin Webapp
Share
Explore
VISIT

VISIT APPROVE

PUT /visit/approve/:id

Request
{
"approval": enum["approved","rejected"],
"reason": "<<reason_string>>"
}
Response (Success)
{
"status":true,
"code":"VISIT_STATUS_UPDATE_SUCCESS",
"payload":{
"id":"<<visit_id>>",
"created_at":"<<date_time_string>>",
"updated_at":"<<date_time_string>>"
}

}

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