POST api/CcLead/GetccLeads
Request Information
URI Parameters
None.
Body Parameters
CcLeadSearchDTOName | Description | Type | Additional information |
---|---|---|---|
callerToId | integer |
None. |
|
callerFromId | integer |
None. |
|
callTypeId | integer |
None. |
|
leadsOlderThen | integer |
None. |
|
dateFrom | string |
None. |
|
dateTo | string |
None. |
|
stateIds | Collection of integer |
None. |
|
FilterModel | CcLeadFilterDTO |
None. |
|
ResolutionDateStart | date |
None. |
|
ResolutionDateEnd | date |
None. |
|
IssueDateStart | date |
None. |
|
IssueDateEnd | date |
None. |
|
DispositionFilterWithDays | Dictionary of string [key] and integer [value] |
None. |
|
LeadStatus | Collection of integer |
None. |
|
totalrecordcoun | integer |
None. |
|
pageindex | integer |
None. |
|
pagesize | integer |
None. |
|
sortBy | string |
None. |
|
sortorder | string |
None. |
|
Declines | integer |
None. |
|
TotalResolutions | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "callerToId": 1, "callerFromId": 1, "callTypeId": 1, "leadsOlderThen": 1, "dateFrom": "sample string 1", "dateTo": "sample string 2", "stateIds": [ 1, 1 ], "FilterModel": { "Id": 1, "FilterName": "sample string 2", "LeadCallTypeId": 1, "LeadCallType": "CA-ADB", "AlpMin": 3.0, "AlpMax": 4.0, "LeadAddedWithinDays": 1, "CreateDate": "2025-10-14T00:42:34.5793742-07:00", "CreateDateShortDateString": "10/14/2025", "Disabled": true, "CreatedById": 7, "CreateUserName": "sample string 8" }, "ResolutionDateStart": "2025-10-14T00:42:34.5793742-07:00", "ResolutionDateEnd": "2025-10-14T00:42:34.5793742-07:00", "IssueDateStart": "2025-10-14T00:42:34.5793742-07:00", "IssueDateEnd": "2025-10-14T00:42:34.5793742-07:00", "DispositionFilterWithDays": { "sample string 1": 2, "sample string 3": 4 }, "LeadStatus": [ 1, 2 ], "totalrecordcoun": 3, "pageindex": 4, "pagesize": 5, "sortBy": "sample string 6", "sortorder": "sample string 7", "Declines": 1, "TotalResolutions": 1 }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PagedDTOOfCcLeadDTOName | Description | Type | Additional information |
---|---|---|---|
PagedRecords | Collection of CcLeadDTO |
None. |
|
Data | Collection of CcLeadDTO |
None. |
|
TotalRecords | integer |
None. |
|
TotalAssociateRecords | integer |
None. |
|
CwaTotal | decimal number |
None. |
|
AlpTotal | decimal number |
None. |
|
AnHTotal | decimal number |
None. |
|
SubmittedAgentCount | integer |
None. |
|
TotalNoPrds | integer |
None. |
|
TotalCompletedNoPrds | decimal number |
None. |
|
TotalCancelNoPrds | integer |
None. |
|
TotalAlpNoPrds | decimal number |
None. |
|
FormattedTotalAlpNoPrds | string |
None. |
|
TotalCompletedAlpNoPrds | decimal number |
None. |
|
FormattedTotalCompletedAlpNoPrds | string |
None. |
|
TotalCancelAlpNoPrds | decimal number |
None. |
|
FormattedTotalCancelAlpNoPrds | string |
None. |
|
IsSearchLimitCompleted | boolean |
None. |
|
PolicySearchesLeft | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "PagedRecords": [ { "Age": 1, "AgencyId": 1, "Alp": 1.0, "AnnualPremium": 1.0, "CallerId": 1, "CcLeadStatusTypeId": 2, "ChangedBy": 1, "ChangedDate": "2025-10-14T00:42:34.5793742-07:00", "CreateDate": "2025-10-14T00:42:34.5793742-07:00", "CreatedBy": 4, "DateEntered": "2025-10-14T00:42:34.5793742-07:00", "DateOfBirth": "2025-10-14T00:42:34.5793742-07:00", "Disabled": true, "FirstName": "sample string 5", "Gender": "sample string 6", "HouseHoldId": "sample string 7", "Id": 8, "InUse": "sample string 9", "IssueDate": "2025-10-14T00:42:34.5793742-07:00", "LastName": "sample string 10", "LeadAssignDate": "2025-10-14T00:42:34.5793742-07:00", "LeadAssignmentGuid": "c65bcd28-b385-4f4b-bcd6-9fc9fcbcf3f9", "LeadCallTypeId": 1, "LeadTypeId": 1, "Loc": "sample string 11", "MonthlyPremium": 1.0, "PolicyNumber": "sample string 12", "PrimaryPhone": "sample string 13", "FormattedPrimaryPhone": "sample string 13", "ResolutionComments": "sample string 14", "ResolutionDate": "2025-10-14T00:42:34.5793742-07:00", "ResolutionTypeId": 1, "SecondaryPhone": "sample string 15", "WeeklyPremium": 1.0, "ProductShortName": "sample string 16", "IsEligible": false, "FormattedAnnualPremium": "$1.00", "IssueDateShortDateString": "10/14/2025", "ResolutionShortDateString": "10/14/2025", "ResolutionDateString": "10/14/2025 12:42:34 AM", "ResolutionType": "Sale", "LeadCallType": "CA-ADB", "LeadType": "ADB", "State": "sample string 17", "FormattedSecondaryPhone": "sample string 15", "FullName": "sample string 10, sample string 5", "leadStatus": "Assigned", "LeadAssignDateString": "10/14/2025", "CallerFullName": "sample string 18", "Address1": "sample string 19", "Address2": "sample string 20", "CityId": 1, "StateId": 1, "CountryId": 1, "Country": "sample string 21", "ZipCode": "sample string 22", "CityName": "sample string 23", "NoAns": 1, "TryAgain": 1, "Declined": 1, "DeclinedUnemployment": 1, "DeclinedMedicalHealth": 1, "BadPhone": 1, "IsChangeInPolicyAddress": true, "IsChangeInPolicyPrimaryPhone": true, "IsChangeInPolicySecondaryPhone": true, "IsHouseHold": true, "AddressLastChangeBy": 1, "AddressLastChangeOn": "2025-10-14T00:42:34.5793742-07:00", "AddressDeSyncOn": "2025-10-14T00:42:34.5793742-07:00", "PhoneLastChangeBy": 1, "PhoneLastChangeOn": "2025-10-14T00:42:34.5793742-07:00", "FullAddress": "sample string 19 sample string 20, sample string 23, sample string 17, sample string 22, sample string 21", "IsEditChildPolicy": true, "IsLeadTypeADBAndWP": true, "Note": "sample string 30", "IsAILPolicy": true, "IsEditButtonShow": true, "LeadCallTypeString": "sample string 33" }, { "Age": 1, "AgencyId": 1, "Alp": 1.0, "AnnualPremium": 1.0, "CallerId": 1, "CcLeadStatusTypeId": 2, "ChangedBy": 1, "ChangedDate": "2025-10-14T00:42:34.5793742-07:00", "CreateDate": "2025-10-14T00:42:34.5793742-07:00", "CreatedBy": 4, "DateEntered": "2025-10-14T00:42:34.5793742-07:00", "DateOfBirth": "2025-10-14T00:42:34.5793742-07:00", "Disabled": true, "FirstName": "sample string 5", "Gender": "sample string 6", "HouseHoldId": "sample string 7", "Id": 8, "InUse": "sample string 9", "IssueDate": "2025-10-14T00:42:34.5793742-07:00", "LastName": "sample string 10", "LeadAssignDate": "2025-10-14T00:42:34.5793742-07:00", "LeadAssignmentGuid": "c65bcd28-b385-4f4b-bcd6-9fc9fcbcf3f9", "LeadCallTypeId": 1, "LeadTypeId": 1, "Loc": "sample string 11", "MonthlyPremium": 1.0, "PolicyNumber": "sample string 12", "PrimaryPhone": "sample string 13", "FormattedPrimaryPhone": "sample string 13", "ResolutionComments": "sample string 14", "ResolutionDate": "2025-10-14T00:42:34.5793742-07:00", "ResolutionTypeId": 1, "SecondaryPhone": "sample string 15", "WeeklyPremium": 1.0, "ProductShortName": "sample string 16", "IsEligible": false, "FormattedAnnualPremium": "$1.00", "IssueDateShortDateString": "10/14/2025", "ResolutionShortDateString": "10/14/2025", "ResolutionDateString": "10/14/2025 12:42:34 AM", "ResolutionType": "Sale", "LeadCallType": "CA-ADB", "LeadType": "ADB", "State": "sample string 17", "FormattedSecondaryPhone": "sample string 15", "FullName": "sample string 10, sample string 5", "leadStatus": "Assigned", "LeadAssignDateString": "10/14/2025", "CallerFullName": "sample string 18", "Address1": "sample string 19", "Address2": "sample string 20", "CityId": 1, "StateId": 1, "CountryId": 1, "Country": "sample string 21", "ZipCode": "sample string 22", "CityName": "sample string 23", "NoAns": 1, "TryAgain": 1, "Declined": 1, "DeclinedUnemployment": 1, "DeclinedMedicalHealth": 1, "BadPhone": 1, "IsChangeInPolicyAddress": true, "IsChangeInPolicyPrimaryPhone": true, "IsChangeInPolicySecondaryPhone": true, "IsHouseHold": true, "AddressLastChangeBy": 1, "AddressLastChangeOn": "2025-10-14T00:42:34.5793742-07:00", "AddressDeSyncOn": "2025-10-14T00:42:34.5793742-07:00", "PhoneLastChangeBy": 1, "PhoneLastChangeOn": "2025-10-14T00:42:34.5793742-07:00", "FullAddress": "sample string 19 sample string 20, sample string 23, sample string 17, sample string 22, sample string 21", "IsEditChildPolicy": true, "IsLeadTypeADBAndWP": true, "Note": "sample string 30", "IsAILPolicy": true, "IsEditButtonShow": true, "LeadCallTypeString": "sample string 33" } ], "Data": [ { "Age": 1, "AgencyId": 1, "Alp": 1.0, "AnnualPremium": 1.0, "CallerId": 1, "CcLeadStatusTypeId": 2, "ChangedBy": 1, "ChangedDate": "2025-10-14T00:42:34.5793742-07:00", "CreateDate": "2025-10-14T00:42:34.5793742-07:00", "CreatedBy": 4, "DateEntered": "2025-10-14T00:42:34.5793742-07:00", "DateOfBirth": "2025-10-14T00:42:34.5793742-07:00", "Disabled": true, "FirstName": "sample string 5", "Gender": "sample string 6", "HouseHoldId": "sample string 7", "Id": 8, "InUse": "sample string 9", "IssueDate": "2025-10-14T00:42:34.5793742-07:00", "LastName": "sample string 10", "LeadAssignDate": "2025-10-14T00:42:34.5793742-07:00", "LeadAssignmentGuid": "c65bcd28-b385-4f4b-bcd6-9fc9fcbcf3f9", "LeadCallTypeId": 1, "LeadTypeId": 1, "Loc": "sample string 11", "MonthlyPremium": 1.0, "PolicyNumber": "sample string 12", "PrimaryPhone": "sample string 13", "FormattedPrimaryPhone": "sample string 13", "ResolutionComments": "sample string 14", "ResolutionDate": "2025-10-14T00:42:34.5793742-07:00", "ResolutionTypeId": 1, "SecondaryPhone": "sample string 15", "WeeklyPremium": 1.0, "ProductShortName": "sample string 16", "IsEligible": false, "FormattedAnnualPremium": "$1.00", "IssueDateShortDateString": "10/14/2025", "ResolutionShortDateString": "10/14/2025", "ResolutionDateString": "10/14/2025 12:42:34 AM", "ResolutionType": "Sale", "LeadCallType": "CA-ADB", "LeadType": "ADB", "State": "sample string 17", "FormattedSecondaryPhone": "sample string 15", "FullName": "sample string 10, sample string 5", "leadStatus": "Assigned", "LeadAssignDateString": "10/14/2025", "CallerFullName": "sample string 18", "Address1": "sample string 19", "Address2": "sample string 20", "CityId": 1, "StateId": 1, "CountryId": 1, "Country": "sample string 21", "ZipCode": "sample string 22", "CityName": "sample string 23", "NoAns": 1, "TryAgain": 1, "Declined": 1, "DeclinedUnemployment": 1, "DeclinedMedicalHealth": 1, "BadPhone": 1, "IsChangeInPolicyAddress": true, "IsChangeInPolicyPrimaryPhone": true, "IsChangeInPolicySecondaryPhone": true, "IsHouseHold": true, "AddressLastChangeBy": 1, "AddressLastChangeOn": "2025-10-14T00:42:34.5793742-07:00", "AddressDeSyncOn": "2025-10-14T00:42:34.5793742-07:00", "PhoneLastChangeBy": 1, "PhoneLastChangeOn": "2025-10-14T00:42:34.5793742-07:00", "FullAddress": "sample string 19 sample string 20, sample string 23, sample string 17, sample string 22, sample string 21", "IsEditChildPolicy": true, "IsLeadTypeADBAndWP": true, "Note": "sample string 30", "IsAILPolicy": true, "IsEditButtonShow": true, "LeadCallTypeString": "sample string 33" }, { "Age": 1, "AgencyId": 1, "Alp": 1.0, "AnnualPremium": 1.0, "CallerId": 1, "CcLeadStatusTypeId": 2, "ChangedBy": 1, "ChangedDate": "2025-10-14T00:42:34.5793742-07:00", "CreateDate": "2025-10-14T00:42:34.5793742-07:00", "CreatedBy": 4, "DateEntered": "2025-10-14T00:42:34.5793742-07:00", "DateOfBirth": "2025-10-14T00:42:34.5793742-07:00", "Disabled": true, "FirstName": "sample string 5", "Gender": "sample string 6", "HouseHoldId": "sample string 7", "Id": 8, "InUse": "sample string 9", "IssueDate": "2025-10-14T00:42:34.5793742-07:00", "LastName": "sample string 10", "LeadAssignDate": "2025-10-14T00:42:34.5793742-07:00", "LeadAssignmentGuid": "c65bcd28-b385-4f4b-bcd6-9fc9fcbcf3f9", "LeadCallTypeId": 1, "LeadTypeId": 1, "Loc": "sample string 11", "MonthlyPremium": 1.0, "PolicyNumber": "sample string 12", "PrimaryPhone": "sample string 13", "FormattedPrimaryPhone": "sample string 13", "ResolutionComments": "sample string 14", "ResolutionDate": "2025-10-14T00:42:34.5793742-07:00", "ResolutionTypeId": 1, "SecondaryPhone": "sample string 15", "WeeklyPremium": 1.0, "ProductShortName": "sample string 16", "IsEligible": false, "FormattedAnnualPremium": "$1.00", "IssueDateShortDateString": "10/14/2025", "ResolutionShortDateString": "10/14/2025", "ResolutionDateString": "10/14/2025 12:42:34 AM", "ResolutionType": "Sale", "LeadCallType": "CA-ADB", "LeadType": "ADB", "State": "sample string 17", "FormattedSecondaryPhone": "sample string 15", "FullName": "sample string 10, sample string 5", "leadStatus": "Assigned", "LeadAssignDateString": "10/14/2025", "CallerFullName": "sample string 18", "Address1": "sample string 19", "Address2": "sample string 20", "CityId": 1, "StateId": 1, "CountryId": 1, "Country": "sample string 21", "ZipCode": "sample string 22", "CityName": "sample string 23", "NoAns": 1, "TryAgain": 1, "Declined": 1, "DeclinedUnemployment": 1, "DeclinedMedicalHealth": 1, "BadPhone": 1, "IsChangeInPolicyAddress": true, "IsChangeInPolicyPrimaryPhone": true, "IsChangeInPolicySecondaryPhone": true, "IsHouseHold": true, "AddressLastChangeBy": 1, "AddressLastChangeOn": "2025-10-14T00:42:34.5793742-07:00", "AddressDeSyncOn": "2025-10-14T00:42:34.5793742-07:00", "PhoneLastChangeBy": 1, "PhoneLastChangeOn": "2025-10-14T00:42:34.5793742-07:00", "FullAddress": "sample string 19 sample string 20, sample string 23, sample string 17, sample string 22, sample string 21", "IsEditChildPolicy": true, "IsLeadTypeADBAndWP": true, "Note": "sample string 30", "IsAILPolicy": true, "IsEditButtonShow": true, "LeadCallTypeString": "sample string 33" } ], "TotalRecords": 1, "TotalAssociateRecords": 2, "CwaTotal": 3.1, "AlpTotal": 4.1, "AnHTotal": 5.1, "SubmittedAgentCount": 6, "TotalNoPrds": 7, "TotalCompletedNoPrds": 8.1, "TotalCancelNoPrds": 9, "TotalAlpNoPrds": 10.1, "FormattedTotalAlpNoPrds": "10.10", "TotalCompletedAlpNoPrds": 11.1, "FormattedTotalCompletedAlpNoPrds": "11.10", "TotalCancelAlpNoPrds": 12.1, "FormattedTotalCancelAlpNoPrds": "12.10", "IsSearchLimitCompleted": true, "PolicySearchesLeft": "sample string 14" }