GET api/inboundlead/getlead/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

InboundLeadDataContract
NameDescriptionTypeAdditional information
People

Collection of LeadPersonDataContract

None.

Email

string

None.

DateSubmitted

date

None.

Address

string

None.

Postcode

string

None.

Country

string

None.

PhonePrimary

string

None.

PhoneMobile

string

None.

PhoneOther

string

None.

DPAFlag

boolean

None.

PropertyToSell

boolean

None.

PropertyToRent

boolean

None.

Comment

string

None.

FinancialAdvice

boolean

None.

PartExchange

boolean

None.

SourceType

EnumDataContract

None.

RequestType

EnumDataContract

None.

PropertyMarketingRoleIds

Collection of integer

None.

PropertyDetails

Collection of LeadPropertyDetailDataContract

None.

Id

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "People": [
    {
      "Title": "sample string 1",
      "FirstName": "sample string 2",
      "LastName": "sample string 3"
    },
    {
      "Title": "sample string 1",
      "FirstName": "sample string 2",
      "LastName": "sample string 3"
    }
  ],
  "Email": "sample string 1",
  "DateSubmitted": "2018-11-16T14:07:34.8640901Z",
  "Address": "sample string 3",
  "Postcode": "sample string 4",
  "Country": "sample string 5",
  "PhonePrimary": "sample string 6",
  "PhoneMobile": "sample string 7",
  "PhoneOther": "sample string 8",
  "DPAFlag": true,
  "PropertyToSell": true,
  "PropertyToRent": true,
  "Comment": "sample string 9",
  "FinancialAdvice": true,
  "PartExchange": true,
  "SourceType": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "RequestType": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "PropertyMarketingRoleIds": [
    1,
    2
  ],
  "PropertyDetails": [
    {
      "PropertyId": 1,
      "Price": {
        "PriceValue": 1.1,
        "CurrencyCode": "sample string 2",
        "PriceText": "sample string 3",
        "PriceType": {
          "Id": 1,
          "Name": "sample string 2",
          "SystemName": "sample string 3"
        },
        "PriceQualifierType": {
          "Id": 1,
          "Name": "sample string 2",
          "SystemName": "sample string 3"
        },
        "Id": 4
      },
      "RoleStatus": "sample string 2",
      "UnderOffer": true,
      "OrganizationName": "sample string 4",
      "Number": "sample string 5",
      "BuildingName": "sample string 6",
      "Street": "sample string 7",
      "Town": "sample string 8",
      "Locality": "sample string 9",
      "County": "sample string 10",
      "Postcode": "sample string 11",
      "Id": 12
    },
    {
      "PropertyId": 1,
      "Price": {
        "PriceValue": 1.1,
        "CurrencyCode": "sample string 2",
        "PriceText": "sample string 3",
        "PriceType": {
          "Id": 1,
          "Name": "sample string 2",
          "SystemName": "sample string 3"
        },
        "PriceQualifierType": {
          "Id": 1,
          "Name": "sample string 2",
          "SystemName": "sample string 3"
        },
        "Id": 4
      },
      "RoleStatus": "sample string 2",
      "UnderOffer": true,
      "OrganizationName": "sample string 4",
      "Number": "sample string 5",
      "BuildingName": "sample string 6",
      "Street": "sample string 7",
      "Town": "sample string 8",
      "Locality": "sample string 9",
      "County": "sample string 10",
      "Postcode": "sample string 11",
      "Id": 12
    }
  ],
  "Id": 10
}