Par email
Vous pouvez décider de recevoir un mail dès qu'un prospect a été enregistré dans notre
base via votre widget.
Par API
Pour s'intégrer parfaitement à votre applicatif, vous pouvez nous fournir un URL sur
laquelle nous effectuerons un appel POST avec les informations suivantes :
curl --location -g --request POST 'https://www.agence-integratrice.com/api/callbackProspect' \
--header 'Content-Type: application/json' \
--data-raw '{
"clientKey":"LA_CLIENT_KEY",
"subscriber":null,
"prospect":{
"id":101,
"firstName":"Jane",
"lastName":"Grey",
"email":"doc@cityscan.fr",
"phone":"0123456789",
"company":null,
"pro":false,
"proActivity":null,
"prospectType":2,
"habitationType":null,
"projectType":1,
"address":null,
"typeId":null,
"created":"2022-01-07 11:11:15"
},
"evaluation":{
"id":35168468,
"apiKeyId":54874,
"address":{
"id":294478,
"route":"73 rue lecourbe",
"postalCode":"75015",
"city":"Paris",
"geoloc":{
"id":151837,
"lat":"48.843353",
"lon":"2.305336",
"source":"API"
},
"parcel":null
},
"extAddressId":null,
"expirationDate":"2022-04-06 20:14:24",
"status":1,
"activation":"2022-01-06 20:14:24",
"deactivation":null,
"lastSeen":null,
"metadata":null,
"realty":{
"id":332,
"evaluationId":124857,
"name":null,
"data":{
"floor":4,
"elevator":true,
"areaGardenPrivate":null,
"areaGardenShared":null,
"areaBalcony":null,
"areaLoggia":null,
"areaCellar":null,
"parkingOpen":null,
"areaParkingOpen":null,
"parkingBoxed":1,
"areaParkingBoxed":15,
"buildingFloors":null,
"condominiumLots":null,
"condominiumStanding":null,
"condominiumCondition":null,
"condominiumFacade":null,
"pool":null,
"walls":null,
"dualAspect":null,
"typeId":2,
"lastSaleDate":null,
"area":50,
"areaOther":0,
"areaTerrace":null,
"rooms":2,
"bedrooms":null,
"bathrooms":null,
"buildingConstruction":6,
"condition":3,
"buildingDpe":null,
"noise":null,
"light":4,
"orientation":2,
"vista":null,
"amenityProximity":null,
"chargesPropertyTax":null,
"chargesMaintenance":null,
"occupation":null,
"detaxation":null,
"easement":null,
"owner":null,
"residence":null,
"ponderations":[
{
"field":"rooms",
"ponderation":"building",
"weight":1.06
},
{
"field":"buildingConstruction",
"ponderation":"surroundings",
"weight":1.02
},
{
"field":"condition",
"ponderation":"building",
"weight":0.98
}
],
"areaPonderations":[
{
"field":"areaParkingBoxed",
"ponderation":"other_surface",
"weight":30,
"value":15,
"computed":4.5
},
{
"field":"area",
"ponderation":"surface",
"weight":100,
"value":50,
"computed":50
},
{
"field":"totalSurface",
"computed":54
}
]
},
"description":null,
"price":null,
"priceStandard":585000,
"priceLow":562000,
"priceHigh":603000,
"confidence":1,
"realtyImages":[
],
"created":"2022-01-27 10:14:24",
"surfacePrice":11700
}
}
}'
Notez bien le format data-raw en json et reportez-vous aux annexes de documentation pour connaître le détail des propriétés
des objets realty (bien immobilier)
ou évaluation