GET api/Lead/GetLeadComments?leadId={leadId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
leadId

integer

Required

Body Parameters

None.

Response Information

Resource Description

LeadCommentDTO
NameDescriptionTypeAdditional 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": "2025-10-14T00:43:18.4048745-07:00",
      "ManagerAssociateId": 1,
      "AgentName": "sample string 3"
    },
    {
      "LeadId": 1,
      "CandidateId": 1,
      "CommentId": 1,
      "Comment": "sample string 2",
      "CommentDate": "2025-10-14T00:43:18.4048745-07:00",
      "ManagerAssociateId": 1,
      "AgentName": "sample string 3"
    }
  ],
  "LeadPastComments": [
    {
      "LeadId": 1,
      "CandidateId": 1,
      "CommentId": 1,
      "Comment": "sample string 2",
      "CommentDate": "2025-10-14T00:43:18.4048745-07:00",
      "ManagerAssociateId": 1,
      "AgentName": "sample string 3"
    },
    {
      "LeadId": 1,
      "CandidateId": 1,
      "CommentId": 1,
      "Comment": "sample string 2",
      "CommentDate": "2025-10-14T00:43:18.4048745-07:00",
      "ManagerAssociateId": 1,
      "AgentName": "sample string 3"
    }
  ]
}