<!DOCTYPE html>
<html>
<head>
<title>
JM Group Properties - From Tranquil</title>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-KYGJLTMXD4"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-KYGJLTMXD4');
</script>
<link rel="icon" href="https://jmgroupproperties.tranquilcrmone.in/attachments/web_images/baa4491343cbd9e620afe6f141ee88dc.jpg"
type="image/x-icon">
<script type="text/javascript">
(function(c,l,a,r,i,t,y){
c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
})(window, document, "clarity", "script", "mg434eskbj");
</script>
<link rel="stylesheet" type="text/css" href="https://jmgroupproperties.tranquilcrmone.in/style/css/new.css">
<link rel="stylesheet" type="text/css" href="https://jmgroupproperties.tranquilcrmone.in/style/css/responsive.css">
<link rel="stylesheet" type="text/css" href="https://jmgroupproperties.tranquilcrmone.in/style/css/font-awesome.min.css">
<link href='https://unpkg.com/boxicons@2.1.2/css/boxicons.min.css' rel='stylesheet'>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
</head>
<style>
.SelectFieldsTable tr:nth-child(even) {
background-color: #f5f5f5;
}
/* tr:nth-child(even) {
background-color: #f5f5f5;
} */
.p {
text-transform: none !important;
}
.table td,
.table th {
padding: 2px 0.75rem;
border-bottom: 1px solid #dedede;
}
.customers {
font-family: calibri;
border-collapse: collapse;
width: 100%;
counter-reset: serial-number;
}
.h1 {
font-family: calibri;
}
.customers td {
border: 1px solid #82828285;
padding: 5px !important;
}
.customers th {
padding-top: 6px;
padding-bottom: 6px;
text-align: center;
border: 1px solid #82828285;
text-align: center;
}
.pl-45 {
padding-left: 20px;
padding-right: 20px;
}
.table-wraps .tab-content input {
color: #474747 !important;
padding: 4px;
}
body {
background: none !important;
}
h5 {
color: #c200ff;
}
p {
margin-left: 25px;
}
</style>
<body>
<h1>Tranquil CRM API Documentation:</h1>
<div class="container ">
<div class="row">
<div class="col">
<h5>Introduction:</h5>
<p>This REST API exclusively utilizes either the GET or POST method.</p>
<h5>Authentication:</h5>
<p>Authentication Not Required</p>
<h5>Base URL:</h5>
<p>
https://jmgroupproperties.tranquilcrmone.in/ </p>
<h5>Endpoints:</h5>
<p>
<p>HTTP methods (GET, POST)</p>
<p>
https://jmgroupproperties.tranquilcrmone.in/mobileapp/mblead?
</p>
</p>
<h5>Response Format:</h5>
<p>
<h6>If Successfully inserted a new lead.</h6>
<code>
{
"status": true,
"msg": "Lead punched in the CRM"
}
</code>
<h6>If a duplicate lead is detected, a message will be generated based on the corresponding schema.</h6>
<code>
{
"status": false,
"msg": "Lead is Dupliclate But Diffrent Requrement, Accepted Assigned to XXXXX--Stored In Data Base As a Fresh / NOt Stored In Data Base"
}
</code>
</p>
<h5>Sample Codes</h5>
<p>
<h5>cURL</h5>
<code>
curl --location "https://jmgroupproperties.tranquilcrmone.in/mobileapp/mblead?api_key=TRANQ12GDFU56KMJKL&country_code=91&mobile_number=7981517240&lead_project_nm=1&campaign_name=entercampaignname&adgroup_name=enteradgroup&ad_name=enteradname&customer_name=Customername&email=source%40gmail.com&source_type=1&sub_source=Portal&remark=testnote&budget=0&spi=projectName"
</code>
<h6>JAVA SCRIPT</h6>
<code>
var requestOptions={
method: 'GET',
redirect: 'follow'
};
fetch("https://jmgroupproperties.tranquilcrmone.in/mobileapp/Mblead?Api_key=TRANQ12GDFU56KMJKL&country_code=91&mobile_number=7981517240&Lead_project_nm=1&Campaign_name=Entercampaignname&Adgroup_name=Enteradgroup&Ad_name=Enteradname&Customer_name=Customername&Email=Source%40gmail.Com&Source_type=1&Sub_source=Portal&Remark=Testnote&Budget=0&spi=projectName", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));
</code>
<h6>jQuery</h6>
<code>
var settings={
"url": "https://jmgroupproperties.tranquilcrmone.in/mobileapp/Mblead?Api_key=TRANQ12GDFU56KMJKL&country_code=91&mobile_number=7981517240&Lead_project_nm=1&Campaign_name=Entercampaignname&Adgroup_name=Enteradgroup&Ad_name=Enteradname&Customer_name=Customername&Email=Source%40gmail.Com&Source_type=1&Sub_source=Portal&Remark=Testnote&Budget=0&spi=projectName",
"method": "GET",
"timeout": 0,
};
$.ajax(settings).done(function (response) {
console.log(response);
});
</code>
<h6>PHP</h6>
<code>
$curl=curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://jmgroupproperties.tranquilcrmone.in/mobileapp/Mblead?Api_key=TRANQ12GDFU56KMJKL&country_code=91&mobile_number=7981517240&Lead_project_nm=1&Campaign_name=Entercampaignname&Adgroup_name=Enteradgroup&Ad_name=Enteradname&Customer_name=Customername&Email=Source%40gmail.Com&Source_type=1&Sub_source=Portal&Remark=Testnote&Budget=0&spi=projectName',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
));
$response=curl_exec($curl);
curl_close($curl);
echo $response;
</code>
<h6>Python</h6>
<code>
import requests
url="https://jmgroupproperties.tranquilcrmone.in/mobileapp/Mblead?Api_key=TRANQ12GDFU56KMJKL&country_code=91&mobile_number=7981517240&Lead_project_nm=1&Campaign_name=Entercampaignname&Adgroup_name=Enteradgroup&Ad_name=Enteradname&Customer_name=Customername&Email=Source%40gmail.Com&Source_type=1&Sub_source=Portal&Remark=Testnote&Budget=0&spi=projectName"
payload={}
headers={}
response=requests.request("GET", url, headers=headers, data=payload)
print(response.text)
</code>
</p>
</div>
</div>
</div>
<br>
<h1>Important Note:</h1>
<br>
<div class="">
<table class="table SelectFieldsTable">
<tr>
<td>Push Integration Type</td>
<td>GET / POST</td>
</tr>
<tr>
<td>API Key (Constant) </td>
<td>
TRNQUILCRMjmgroupproperties </td>
</tr>
<tr>
<td>Parameters to be passed with values</td>
<td>
<p style="word-break: break-all;text-transform: none !important;">api_key=TRNQUILCRMjmgroupproperties&country_code=91&mobile_number=7288888895&lead_project_nm=1&campaign_name=entercampaignname&adgroup_name=enteradgroup&ad_name=enteradname&customer_name=Customername&email=source@gmail.com&source_type=3&sub_source=Portal&remark=testnote&budget=0&spi=projectName
</p>
</td>
</tr>
<tr>
<td>Complete working endpoint URL</td>
<td>
<p style="word-break: break-all;text-transform: none !important;">https://jmgroupproperties.tranquilcrmone.in/mobileapp/mblead?api_key=TRNQUILCRMjmgroupproperties&country_code=91&mobile_number=7288888895&lead_project_nm=1&campaign_name=entercampaignname&adgroup_name=enteradgroup&ad_name=enteradname&customer_name=Customername&email=source@gmail.com&source_type=3&sub_source=Portal&remark=testnote&budget=0&spi=projectName
</p>
</td>
</tr>
</table>
<!-- <table class="table customers" style="margin-top: 20px;">
<thead>
<tr>
<th>Description</th>
<th colspan="2"></th>
</tr>
<tr>
<th>name</th>
<th>variables</th>
<th colspan="2">Details</th>
</tr>
</thead>
<tbody>
<tr>
<td>Api Key</td>
<td>api_key</td>
<td><input type="" name="" id="api" readonly value="TRNQUILCRMjmgroupproperties"> </td>
</tr>
<tr >
<td>mobile number</td>
<td>mobile_number</td>
<td>Mobile number</td>
</tr>
<tr>
<td>Project Name</td>
<td>lead_project_nm</td>
<td>Project Id <a style="color: red;" download href="https://jmgroupproperties.tranquilcrmone.in/leads/downloadprojects">Click</a></td>
</tr>
<tr >
<td>Source type</td>
<td>source_type</td>
<td class="ss"><input type="" readonly value="3" name="" id="sourcename"> </td>
</tr>
<tr >
<td>Customer Name</td>
<td>customer_name</td>
<td>CustomerName</td>
</tr>
<tr >
<td>Email</td>
<td>email</td>
<td>Email@gmail.com</td>
</tr>
</tbody>
</table> -->
<h1 style="color:red;font-size: 20px; font-family: calibri">Please Make Sure lead_project_nm Parameter Used From
The Following Table</h1>
<div class="table-wraps table-tabs customers">
<div class="tab-content" id="myTabContent">
<!-- Dashboard Tab -->
<div class="tab-pane fade show active" id="dashboard" role="tabpanel" aria-labelledby="dashboard-tab">
<div class="row" style="padding: 6px 17px !important; ">
<div class="col-md-4 col first-col">
<table class="table table-bordered customers" style="width: 50%">
<tr>
<th style="text-align: left;">Project ID</th>
<th style="text-align: left;">Project Name</th>
</tr>
<tr>
<td>lead_project_nm=
1 </td>
<td>
Nirmalaa Tranquil Villas - Gowrelly </td>
</tr>
<tr>
<td>lead_project_nm=
2 </td>
<td>
Eastern Meadows - Taramatipet </td>
</tr>
<tr>
<td>lead_project_nm=
3 </td>
<td>
Nature View City - Bandaraviryala </td>
</tr>
<tr>
<td>lead_project_nm=
4 </td>
<td>
Muktha Enclave - Abdullapurmet </td>
</tr>
<tr>
<td>lead_project_nm=
5 </td>
<td>
Highway City - Saddupally </td>
</tr>
<tbody>
</tbody>
</table>
</div>
<div class="col-md-8 second-col col">
<h1 class="title"
style="border-top: none;text-align: center;font-weight: bold;font-size: 15px;">Customer
Details ( You can check the status of your punch-in through the API by viewing the
response contact below. If the response is 'Lead punched in the CRM', it means the
punch-in was successful. You may look at the contact details below.)
</h1>
<table class="table table-bordered customers">
<tr>
<th style="text-align: left">Customer Name</th>
<th style="text-align: left">Email ID</th>
<th style="text-align: left">Contact Number</th>
<th style="text-align: left">Project Name</th>
<th style="text-align: left">Created Date</th>
</tr>
<tbody>
</tbody>
</table>
</div>
<!-- end col -->
</div>
<!-- end row -->
</div>
<!-- end tabpane -->
</div>
</div>
</div>
<div style="margin-top: 100px;"></div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://jmgroupproperties.tranquilcrmone.in/style/js/new.js"></script>
<script src="https://jmgroupproperties.tranquilcrmone.in/style/css/app.js"></script>
</body>
</html>