GET api/GetLeadCountReport?jsonData={jsonData}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| jsonData | string |
Required |
Body Parameters
None.
Response Information
Resource Description
GetLeadCountReportDataVm| Name | Description | Type | Additional information |
|---|---|---|---|
| TotalLeadCount | GetAllLeadCountDataVm |
None. |
|
| LeadCount | GetAllLeadCountDataVm |
None. |
|
| LeadCountBySource | Collection of GetLeadCountBySourceVm |
None. |
|
| LeadCountByUser | Collection of GetLeadCountByUserVm |
None. |
Response Formats
application/json, text/json
Sample:
{
"TotalLeadCount": {
"TotalLeads": 1,
"FreshLeads": 2,
"ReturningLeads": 3,
"UnAssignedLeads": 4,
"UnTouchedLeads": 5
},
"LeadCount": {
"TotalLeads": 1,
"FreshLeads": 2,
"ReturningLeads": 3,
"UnAssignedLeads": 4,
"UnTouchedLeads": 5
},
"LeadCountBySource": [
{
"Source": "sample string 1",
"Counts": 2
},
{
"Source": "sample string 1",
"Counts": 2
}
],
"LeadCountByUser": [
{
"Users": "sample string 1",
"Counts": 2
},
{
"Users": "sample string 1",
"Counts": 2
}
]
}
application/xml, text/xml
Sample:
<GetLeadCountReportDataVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Services.Lead">
<LeadCount>
<FreshLeads>2</FreshLeads>
<ReturningLeads>3</ReturningLeads>
<TotalLeads>1</TotalLeads>
<UnAssignedLeads>4</UnAssignedLeads>
<UnTouchedLeads>5</UnTouchedLeads>
</LeadCount>
<LeadCountBySource>
<GetLeadCountBySourceVm>
<Counts>2</Counts>
<Source>sample string 1</Source>
</GetLeadCountBySourceVm>
<GetLeadCountBySourceVm>
<Counts>2</Counts>
<Source>sample string 1</Source>
</GetLeadCountBySourceVm>
</LeadCountBySource>
<LeadCountByUser>
<GetLeadCountByUserVm>
<Counts>2</Counts>
<Users>sample string 1</Users>
</GetLeadCountByUserVm>
<GetLeadCountByUserVm>
<Counts>2</Counts>
<Users>sample string 1</Users>
</GetLeadCountByUserVm>
</LeadCountByUser>
<TotalLeadCount>
<FreshLeads>2</FreshLeads>
<ReturningLeads>3</ReturningLeads>
<TotalLeads>1</TotalLeads>
<UnAssignedLeads>4</UnAssignedLeads>
<UnTouchedLeads>5</UnTouchedLeads>
</TotalLeadCount>
</GetLeadCountReportDataVm>