GET api/leads/find?PageSize={PageSize}&Page={Page}&AssignedReziNegIds={AssignedReziNegIds}&GroupId={GroupId}&LeadTypes={LeadTypes}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
PageSize

integer

None.

Page

integer

None.

AssignedReziNegIds

string

None.

GroupId

integer

None.

LeadTypes

string

None.

Body Parameters

None.

Response Information

Resource Description

PagedLeadDataContractOfDezrez.Core.DataContracts.External.Api.Leads.LeadDataContract
NameDescriptionTypeAdditional information
TotalCount

integer

None.

CurrentCount

integer

None.

PageSize

integer

None.

Page

integer

None.

Data

Collection of Dezrez.Core.DataContracts.External.Api.Leads.LeadDataContract

None.

Response Formats

application/json, text/json

Sample:
{
  "TotalCount": 1,
  "CurrentCount": 2,
  "PageSize": 1,
  "Page": 1,
  "Data": [
    {
      "GroupId": 1,
      "Status": "sample string 1",
      "LeadType": "sample string 2",
      "Address": "sample string 3",
      "CreatedDateUtc": "2024-10-08T09:41:23.4160604Z",
      "PropertyRoleId": 1,
      "PropertyToSell": true,
      "PropertyToRent": true,
      "PropertyRole": {
        "PropertyType": "sample string 1",
        "Address": {
          "BuildingName": "sample string 1",
          "AddressNumber": "sample string 2",
          "Street": "sample string 3",
          "Town": "sample string 4",
          "Postcode": "sample string 5"
        },
        "RoleType": "sample string 2",
        "RoleStatus": "sample string 3",
        "BedroomCount": "sample string 4",
        "Price": 1.1,
        "Vendor": "sample string 5",
        "PropertyId": 6,
        "Id": 7
      },
      "PropertyId": 1,
      "AppointmentReference": "sample string 7",
      "AppointmentStart": "2024-10-08T09:41:23.4160604Z",
      "AppointmentEnd": "2024-10-08T09:41:23.4160604Z",
      "Id": 8
    },
    {
      "GroupId": 1,
      "Status": "sample string 1",
      "LeadType": "sample string 2",
      "Address": "sample string 3",
      "CreatedDateUtc": "2024-10-08T09:41:23.4160604Z",
      "PropertyRoleId": 1,
      "PropertyToSell": true,
      "PropertyToRent": true,
      "PropertyRole": {
        "PropertyType": "sample string 1",
        "Address": {
          "BuildingName": "sample string 1",
          "AddressNumber": "sample string 2",
          "Street": "sample string 3",
          "Town": "sample string 4",
          "Postcode": "sample string 5"
        },
        "RoleType": "sample string 2",
        "RoleStatus": "sample string 3",
        "BedroomCount": "sample string 4",
        "Price": 1.1,
        "Vendor": "sample string 5",
        "PropertyId": 6,
        "Id": 7
      },
      "PropertyId": 1,
      "AppointmentReference": "sample string 7",
      "AppointmentStart": "2024-10-08T09:41:23.4160604Z",
      "AppointmentEnd": "2024-10-08T09:41:23.4160604Z",
      "Id": 8
    }
  ]
}