Webhook response
Twib Support team
Last Update för 3 år sedan
For Check-in's:
{
"location": "T2 Link Road, Andheri Kurla Road, Mumbai, Maharashtra, 400072, India",
"mode": "1",
"longitude": "87.8638344",
"latitude": "23.2412445",
"name": "Sample Check-in Name",
"phone_status": "{\"battery_status\":\"18\",\"gps_status\":\"true\",\"mobile_data_status\":true,\"wifi_status\":false,\"app_version\":\"2.6\",\"android_version\":\"7.0\",\"android_sdk_version\":24,\"manufacturer\":\"GIONEE\",\"model\":\"GIONEE X1\"}",
"checkin_date": "1559819901",
"details": "visited",
"status": "value\r\n2",
"photo": "https://s3.ap-south-1.amazonaws.com/twib.online/Checkin_Big_38104.jpg",
"employee_name": "Sam",
"secret": ""
}
For Expense Add:
{
"name": "Sample Expense Name",
"amount": "231",
"expense_date": "1559759400",
"details": "Travel Expense",
"employee_name": "Sam",
"secret": ""
}
Client Add:
{
"first_name": "John",
"last_name": "Smith",
"title": "CEO",
"organization": "Pheonex World",
"phone1": "836786672188",
"phone2": "",
"email": "[email protected]",
"map_link": "30.119175322302787,33.09620141817277",
"address": "T2 Link Road, Andheri Kurla Road, Mumbai, Maharashtra, 400072, India",
"city": "Mumbai",
"state": "Maharashtra",
"pincode": "6366436",
"country": "India",
"map_address": "India",
"website": "",
"details": "",
"customer_status": "New",
"prospecting": "No",
"secret": ""
}
Note: The date values are in timesamp