POST api/MACToolESQuery/SeachLeads
Request Information
URI Parameters
None.
Body Parameters
MACToolSearchDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| leadArea | string |
None. |
|
| agentIds | string |
None. |
|
| isAgentSearch | boolean |
None. |
|
| groupCode | string |
None. |
|
| groupIds | Collection of integer |
None. |
|
| hideUnmapped | boolean |
None. |
|
| polygonBounds | string |
None. |
|
| polygonBoundsArray | Collection of GeoLocation |
None. |
|
| leadStatusId | Collection of string |
None. |
|
| selectedGroups | Collection of GroupMinDTO |
None. |
|
| leadStatusIdsArray | Collection of string |
None. |
|
| IsAssigned | boolean |
None. |
|
| leadOriginIdsArray | Collection of string |
None. |
|
| agentIdsArray | Collection of string |
None. |
|
| ContractIds | Collection of integer |
None. |
|
| AssociateIds | Collection of integer |
None. |
|
| leadBankIdsArray | Collection of string |
None. |
|
| leadBankIds | Collection of integer |
None. |
|
| minLat | decimal number |
None. |
|
| minLng | decimal number |
None. |
|
| maxLat | decimal number |
None. |
|
| maxLng | decimal number |
None. |
|
| HideUnmappedLeads | boolean |
None. |
|
| HideMappedLeads | boolean |
None. |
|
| retainGroups | string |
None. |
|
| leadStatusTypeId | Collection of integer |
None. |
|
| leadPool | Collection of integer |
None. |
|
| leadType | Collection of integer |
None. |
|
| leadAreaTypeId | integer |
None. |
|
| zoom | integer |
None. |
|
| currentPage | integer |
None. |
|
| totalCount | integer |
None. |
|
| sortReverse | boolean |
None. |
|
| pageSize | integer |
None. |
|
| pageNumber | integer |
None. |
|
| sortColumn | string |
None. |
|
| sortOrder | string |
None. |
|
| isPagingCall | boolean |
None. |
|
| associateOfficeNames | Collection of string |
None. |
|
| associateOfficesIds | Collection of integer |
None. |
|
| states | Collection of string |
None. |
|
| defaultOfficeId | integer |
None. |
|
| lposGroupId | integer |
None. |
|
| OfficeMapping | Dictionary of integer [key] and string [value] |
None. |
|
| userContext | integer |
None. |
|
| MACOfficeId | integer |
None. |
|
| locationContextCode | string |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ESAllLeadsInfoModelDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| lstLeadDetail | Collection of ESLeadsInfoModelDTO |
None. |
|
| Total | integer |
None. |
|
| lstCustmClustr | Collection of CustomClusterModelDTO |
None. |
|
| lstZip | Collection of AggZipModelDTO |
None. |
|
| objLOH | AggLOHModelDTO |
None. |
|
| objAvaiable | AggAvailableModelDTO |
None. |
|
| objAssign | AggAssignModelDTO |
None. |
Response Formats
application/json, text/json
Sample:
{
"lstLeadDetail": [
{
"Reserved": true,
"LeadId": 2,
"LeadStatusTypeId": 1,
"GroupId": 1,
"AssociateId": 1,
"AssociateContractId": 1,
"LeadTypeId": 1,
"AltId": "sample string 3",
"LeadType": "sample string 4",
"Pool": "sample string 5",
"City": "sample string 6",
"State": "sample string 7",
"Zip": "sample string 8",
"FullName": "sample string 9",
"AgentName": "sample string 10",
"GroupCode": "sample string 11",
"GroupName": "sample string 12",
"Lat": "sample string 13",
"Lng": "sample string 14",
"CreateDate": "2025-10-14T05:11:56.8588649-07:00",
"LastAssignDate": "sample string 15",
"AssignDate": "sample string 16",
"ExpirationDays": "729 Days",
"IsChargeable": true,
"Held": true,
"IsChecked": true,
"IsNotGeoCode": true,
"LeadBank": "sample string 20",
"OfficeName": "sample string 21",
"HasFutureAppointment": true
},
{
"Reserved": true,
"LeadId": 2,
"LeadStatusTypeId": 1,
"GroupId": 1,
"AssociateId": 1,
"AssociateContractId": 1,
"LeadTypeId": 1,
"AltId": "sample string 3",
"LeadType": "sample string 4",
"Pool": "sample string 5",
"City": "sample string 6",
"State": "sample string 7",
"Zip": "sample string 8",
"FullName": "sample string 9",
"AgentName": "sample string 10",
"GroupCode": "sample string 11",
"GroupName": "sample string 12",
"Lat": "sample string 13",
"Lng": "sample string 14",
"CreateDate": "2025-10-14T05:11:56.8588649-07:00",
"LastAssignDate": "sample string 15",
"AssignDate": "sample string 16",
"ExpirationDays": "729 Days",
"IsChargeable": true,
"Held": true,
"IsChecked": true,
"IsNotGeoCode": true,
"LeadBank": "sample string 20",
"OfficeName": "sample string 21",
"HasFutureAppointment": true
}
],
"Total": 1,
"lstCustmClustr": [
{
"Lat": "sample string 1",
"Lng": "sample string 2",
"LeadCount": 1,
"IsNotGeoCode": true,
"objLoH": {
"AggLOHCount": 1,
"PosCount": 2,
"RefferalCount": 3,
"LPOSCount": 4,
"SRCCount": 5,
"RCCount": 6,
"LeadListCount": 7,
"ResverCount": 8,
"ProPOSCount": 9
},
"objAvail": {
"AggAvailableCount": 1,
"PosCount": 2,
"RefferalCount": 3,
"LPOSCount": 4,
"SRCCount": 5,
"RCCount": 6,
"LeadListCount": 7,
"ResverCount": 8,
"ProPOSCount": 9
},
"objAssign": {
"AggAssignCount": 1,
"AssignPosCount": 2,
"AssignRefferalCount": 3,
"AssignLPOSCount": 4,
"AssignRCCount": 5,
"AssignSRCCount": 6,
"AssignLeadListCount": 7,
"AssignReservedCount": 8,
"AssignProPOSCount": 9
}
},
{
"Lat": "sample string 1",
"Lng": "sample string 2",
"LeadCount": 1,
"IsNotGeoCode": true,
"objLoH": {
"AggLOHCount": 1,
"PosCount": 2,
"RefferalCount": 3,
"LPOSCount": 4,
"SRCCount": 5,
"RCCount": 6,
"LeadListCount": 7,
"ResverCount": 8,
"ProPOSCount": 9
},
"objAvail": {
"AggAvailableCount": 1,
"PosCount": 2,
"RefferalCount": 3,
"LPOSCount": 4,
"SRCCount": 5,
"RCCount": 6,
"LeadListCount": 7,
"ResverCount": 8,
"ProPOSCount": 9
},
"objAssign": {
"AggAssignCount": 1,
"AssignPosCount": 2,
"AssignRefferalCount": 3,
"AssignLPOSCount": 4,
"AssignRCCount": 5,
"AssignSRCCount": 6,
"AssignLeadListCount": 7,
"AssignReservedCount": 8,
"AssignProPOSCount": 9
}
}
],
"lstZip": [
{
"ZipName": "sample string 1",
"TotalZipLeadCount": 1,
"objLoH": {
"AggLOHCount": 1,
"PosCount": 2,
"RefferalCount": 3,
"LPOSCount": 4,
"SRCCount": 5,
"RCCount": 6,
"LeadListCount": 7,
"ResverCount": 8,
"ProPOSCount": 9
},
"objAvail": {
"AggAvailableCount": 1,
"PosCount": 2,
"RefferalCount": 3,
"LPOSCount": 4,
"SRCCount": 5,
"RCCount": 6,
"LeadListCount": 7,
"ResverCount": 8,
"ProPOSCount": 9
},
"objAssignDTO": {
"AggAssignCount": 1,
"AssignPosCount": 2,
"AssignRefferalCount": 3,
"AssignLPOSCount": 4,
"AssignRCCount": 5,
"AssignSRCCount": 6,
"AssignLeadListCount": 7,
"AssignReservedCount": 8,
"AssignProPOSCount": 9
}
},
{
"ZipName": "sample string 1",
"TotalZipLeadCount": 1,
"objLoH": {
"AggLOHCount": 1,
"PosCount": 2,
"RefferalCount": 3,
"LPOSCount": 4,
"SRCCount": 5,
"RCCount": 6,
"LeadListCount": 7,
"ResverCount": 8,
"ProPOSCount": 9
},
"objAvail": {
"AggAvailableCount": 1,
"PosCount": 2,
"RefferalCount": 3,
"LPOSCount": 4,
"SRCCount": 5,
"RCCount": 6,
"LeadListCount": 7,
"ResverCount": 8,
"ProPOSCount": 9
},
"objAssignDTO": {
"AggAssignCount": 1,
"AssignPosCount": 2,
"AssignRefferalCount": 3,
"AssignLPOSCount": 4,
"AssignRCCount": 5,
"AssignSRCCount": 6,
"AssignLeadListCount": 7,
"AssignReservedCount": 8,
"AssignProPOSCount": 9
}
}
],
"objLOH": {
"AggLOHCount": 1,
"PosCount": 2,
"RefferalCount": 3,
"LPOSCount": 4,
"SRCCount": 5,
"RCCount": 6,
"LeadListCount": 7,
"ResverCount": 8,
"ProPOSCount": 9
},
"objAvaiable": {
"AggAvailableCount": 1,
"PosCount": 2,
"RefferalCount": 3,
"LPOSCount": 4,
"SRCCount": 5,
"RCCount": 6,
"LeadListCount": 7,
"ResverCount": 8,
"ProPOSCount": 9
},
"objAssign": {
"AggAssignCount": 1,
"AssignPosCount": 2,
"AssignRefferalCount": 3,
"AssignLPOSCount": 4,
"AssignRCCount": 5,
"AssignSRCCount": 6,
"AssignLeadListCount": 7,
"AssignReservedCount": 8,
"AssignProPOSCount": 9
}
}