Skip to content
Gallery
API Documentation Admin Webapp
Share
Explore
VISIT

VISIT CREATE

POST /visit/create

Request
{

"to": "<<contact_id>>",
"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>>",
"created_by":{
"id":"<<employee_id>>",
"name":"<<string>>",
}

}
Response (Success)
{
"status":true,
"code":"VISIT_CREATE_SUCCESS",
"payload":{
"id":"<<visit_id>>",
"created_at":"<<date>>",
}

}

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