POST api/lead/status/pending?pageNo={pageNo}&pageSize={pageSize}

Appointment's List where appointment status match "pending" and appointment date is between the start and the end date provided

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pageNo

integer

Default value is 1

pageSize

integer

Default value is 25

Body Parameters

Start date and End Date to use in the Search

RangeDateRequest
NameDescriptionTypeAdditional information
StartDate

date

None.

EndDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "startDate": "2025-04-28T08:15:11.0602111-04:00",
  "endDate": "2025-04-28T08:15:11.0602111-04:00"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

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:15:11.0602111-04:00"
}