GET api/Lead/GetLeadComments?leadId={leadId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| leadId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
LeadCommentDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| LeadId | integer |
None. |
|
| LeadName | string |
None. |
|
| ContactNumber | string |
None. |
|
| IsPrimaryDNC | boolean |
None. |
|
| LeadComments | Collection of CommentDTO |
None. |
|
| LeadPastComments | Collection of CommentDTO |
None. |
Response Formats
application/json, text/json
Sample:
{
"LeadId": 1,
"LeadName": "sample string 2",
"ContactNumber": "sample string 3",
"IsPrimaryDNC": true,
"LeadComments": [
{
"LeadId": 1,
"CandidateId": 1,
"CommentId": 1,
"Comment": "sample string 2",
"CommentDate": "2026-02-03T18:29:42.1208731-08:00",
"ManagerAssociateId": 1,
"AgentName": "sample string 3"
},
{
"LeadId": 1,
"CandidateId": 1,
"CommentId": 1,
"Comment": "sample string 2",
"CommentDate": "2026-02-03T18:29:42.1208731-08:00",
"ManagerAssociateId": 1,
"AgentName": "sample string 3"
}
],
"LeadPastComments": [
{
"LeadId": 1,
"CandidateId": 1,
"CommentId": 1,
"Comment": "sample string 2",
"CommentDate": "2026-02-03T18:29:42.1208731-08:00",
"ManagerAssociateId": 1,
"AgentName": "sample string 3"
},
{
"LeadId": 1,
"CandidateId": 1,
"CommentId": 1,
"Comment": "sample string 2",
"CommentDate": "2026-02-03T18:29:42.1208731-08:00",
"ManagerAssociateId": 1,
"AgentName": "sample string 3"
}
]
}