LeadGen Property V2:Response

From Melissa Data Wiki
Revision as of 23:31, 30 September 2019 by Admin (talk | contribs) (Created page with "{{LGXPropertyV2Nav}} {{CustomTOC}} ==JSON (Default)== An example: <pre> { "options": { "propertyOptions": ["Property Type: Single Family Residence;Condominium(Residen...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

← LeadGen Cloud API

LeadGen Property V2 Navigation
Introduction
Request Parameters
Response
Property Result Codes



JSON (Default)

An example:

{
  "options": {
    "propertyOptions": ["Property Type: Single Family Residence;Condominium(Residential);Apartment;", "Bedrooms: at least 1"],
    "mortgageOptions": ["All Mortgages Term (Years): between 10 and 30"],
    "occupantOptions": ["Absentee/Owner Occupied: AbsenteeOwner"],
    "demographicOptions": ["Household Income: $65,000 - $69,999;$70,000 - $99,999;$100,000 - $149,999;$150,000 - $174,999;$175,000 - $199,999;"],
    "listOptions": ["One property per owner."]
  },
  "areas": [{
    "geo": "22382 Avenida Empresa, Rancho Santa Margarita, CA 92688",
    "count": 14,
    "message": ""
  }],
  "summary": {
    "geoType": "Address",
    "totalCount": 14,
    "orderId": 1234567,
    "fileUrl": "ftp://w10.melissadata.com/ListOrderFiles/1234567.csv",
    "status": [{
      "statusCode": 1,
      "statusDetail": "Approved."
    }]
  }
}


XML

<Response_Property xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <areas>
    <CountByArea>
      <Geo>
        22382 Avenida Empresa, Rancho Santa Margarita, CA 92688
      </Geo>
      <Count>14</Count>
      <Message/>
    </CountByArea>
  </areas>
  <summary>
    <GeoType>Address</GeoType>
    <TotalCount>14</TotalCount>
    <OrderId>1234567</OrderId>
    <FileUrl>
      ftp://w10.melissadata.com/ListOrderFiles/1234567.csv
    </FileUrl>
    <Status>
      <Status>
        <StatusCode>1</StatusCode>
        <StatusDetail>Approved.</StatusDetail>
      </Status>
    </Status>
  </summary>
  <Options>
    <ListOptions>
      <string>One property per owner.</string>
    </ListOptions>
    <PropertyOptions>
      <string>
        Property Type: Single Family Residence;Condominium(Residential);Apartment;
      </string>
      <string>Bedrooms: at least 1</string>
    </PropertyOptions>
    <MortgageOptions>
      <string>All Mortgages Term (Years): between 10 and 30</string>
    </MortgageOptions>
    <OccupantOptions>
      <string>Absentee/Owner Occupied: AbsenteeOwner</string>
    </OccupantOptions>
    <DemographicOptions>
      <string>
        Household Income: $65,000 - $69,999;$70,000 - $99,999;$100,000 - $149,999;$150,000 - $174,999;$175,000 - $199,999;
      </string>
    </DemographicOptions>
  </Options>
</Response_Property>