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
CONTACT
CONTACT FETCH
GET /contact/fetch/:id
Request
{
}
Response (Success)
{
"status"
:
true
,
"code"
:
"CONTACT_FETCH_SUCCESS"
,
"payload"
:
{
"id"
:
"<<contact_id>>"
,
"name"
:
"<<contact_name_string>>"
,
"email"
:
"<<email>>"
,
"mobile"
:
"<<phone>>"
,
"type"
:
"doctor"
,
"registration"
:
"<<registration_number>>"
,
"image"
:
"<<base64_string>>"
,
"about"
:
"<<desc_contact_string>>"
,
"address"
:
{
"street"
:
"<<address_street>>"
,
"locality"
:
"<<address_locality>"
,
"city"
:
"<<address_city>"
,
"pincode"
:
"<<pincode>>"
,
"latitude"
:
"<<map_pin_latitude>>"
,
"longitude"
:
"<<map_pin_longitude>>"
}
"created_at"
:
"date_time_string"
,
"updated_at"
:
"date_time_string"
,
"created_by"
:
{
"id"
:
"<<employee_id>>"
"name"
:
"<<employee_name_string>>"
}
}
}
Response (Error)
{
"status"
:
false
,
"code"
:
"CONTACT_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 (
Ctrl
P
) instead.