POST api/lead/search?value={value}&pageNo={pageNo}&pageSize={pageSize}

Search appointments where first name, last name or phone number contain text provided

Request Information

URI Parameters

NameDescriptionTypeAdditional information
value

Text to use in the search

string

Required

pageNo

integer

Default value is 1

pageSize

integer

Default value is 25

Body Parameters

None.

Response Information

Resource Description

AppointmentResponse
NameDescriptionTypeAdditional information
AppId

integer

None.

LeadId

integer

None.

PhoneNumber

string

None.

FirstName

string

None.

LastName

string

None.

LeadStatusId

integer

None.

LeadStatus

string

None.

LeadTypeId

integer

None.

LeadType

string

None.

AppointmentDate

date

None.

Response Formats

application/json, text/json

Sample:
{
  "appId": 1,
  "leadId": 2,
  "phoneNumber": "sample string 3",
  "firstName": "sample string 4",
  "lastName": "sample string 5",
  "leadStatusId": 1,
  "leadStatus": "sample string 6",
  "leadTypeId": 1,
  "leadType": "sample string 7",
  "appointmentDate": "2025-04-28T08:34:41.1090874-04:00"
}