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
VISIT
VISIT UPDATE
PUT /visit/update/:id
Request
{
"datetime"
:
"<<ISO_datetime_string>>"
,
"loc_coordinate"
:
[
20.0024
,
73.7945
]
,
"loc_address"
:
"<<address_line_1>>"
,
"loc_city"
:
"<<address_city>>"
,
"loc_pincode"
:
"<<address_pincode>>"
,
"description"
:
"<<extra_note>>"
}
Response (Success)
{
"status"
:
true
,
"code"
:
"VISIT_UPDATE_SUCCESS"
,
"payload"
:
{
"id"
:
"<<visit_id>>"
,
"created_at"
:
"<<date>>"
,
"updated_at"
:
"<<date>>"
}
}
Response (Error)
{
"status"
:
false
,
"code"
:
"VISIT_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 (
Ctrl
P
) instead.