curl "https://connect.maklare.vitec.net/CRM/Contact/StringValue/SearchProfile/StringValue/StringValue" -X GET -H "Authorization: basic {Base64 kodad användarnamn och lösenord}"
Dokumentation för API-funktioner
GET CRM/Contact/{customerId}/SearchProfile/{contactId}/{searchprofileId}
Hämtar en kontakts sökprofiler
Request Information
URI Parameters
Response Information
Resource Description
Hämtar en kontakts sökprofiler
SearchProfiles
Kodexempel
Testformulär
Text input
Response Formats
Namn | Beskrivning | Typ | Information |
customerId | Kundid | string |
Krävs |
contactId | Kriterie | string |
Krävs |
searchprofileId | Sökprofilens id. Utelämna för att få kontaktens samtliga profiler. | string |
Namn | Beskrivning | Typ | Information |
ResidentialProfiles | Sökprofiler för boende | Collection of SearchProfileResidential | |
FarmProfiles | Sökprofiler för gårdar | Collection of SearchProfileFarm | |
CommercialProfiles | Sökprofiler för kommersiella fastigheter | Collection of SearchProfileCommercial | |
ForeignProfiles | Sökprofiler för utländska boenden | Collection of SearchProfileForeign | |
PremiseProfiles | Sökprofiler för lokaler | Collection of SearchProfilePremises |
$URL = "https://connect.maklare.vitec.net/CRM/Contact/StringValue/SearchProfile/StringValue/StringValue"
Invoke-WebRequest -Uri $URL -Method GET -Headers @{"authorization" = "basic {Base64 kodad användarnamn och lösenord}"}
// HttpClientInstance ska deklareras som en singleton
// public static readonly HttpClient HttpClientInstance = new HttpClient {
// BaseAddress = new Uri("https://connect.maklare.vitec.net"),
// DefaultRequestHeaders = {
// Authorization = new AuthenticationHeaderValue("Basic", "{Base64 kodad användarnamn och lösenord}")
// }
// }
using (var response = await HttpClientInstance.GetAsync("CRM/Contact/StringValue/SearchProfile/StringValue/StringValue")) {
if (response.StatusCode == HttpStatusCode.Unauthorized) {
// Authorization headern är inte korrekt
}
if (response.StatusCode == HttpStatusCode.Forbidden) {
// Begärt data som det saknas åtkomst till
}
if (response.StatusCode == HttpStatusCode.InternalServerError) {
// Oväntat fel, kontakta Vitec
}
if (response.StatusCode == HttpStatusCode.BadRequest) {
var json = await response.Content.ReadAsStringAsync();
var result = JsonConvert.DeserializeObject<dynamic>(json);
// Hantera valideringsfel, presenteras i resultatet
}
var json = await response.Content.ReadAsStringAsync();
// JsonConvert finns i biblioteket Newtonsoft.Json
var result = JsonConvert.DeserializeObject<dynamic>(json);
var residentialProfiles = result.residentialProfiles.Value ;
// TODO: Gör något med resultatet
}
$URL = "https://connect.maklare.vitec.net/CRM/Contact/StringValue/SearchProfile/StringValue/StringValue";
$ch = curl_init();
curl_setopt($ch, CURLOPT_USERNAME, "{Användarnamn}");
curl_setopt($ch, CURLOPT_PASSWORD, "{Lösenord}");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_URL, $URL);
$result = curl_exec($ch);
if (curl_errno($ch)) {
die(curl_getinfo($ch));
}
$info = curl_getinfo($ch);
curl_close($ch);
$http_code = $info["http_code"];
if ($http_code == 401) {
// Användarnamnet eller lösenordet är felaktigt
}
if ($http_code == 403) {
// Begärt data som det saknas åtkomst till
}
if ($http_code == 500) {
// Oväntat fel, kontakta Vitec
}
if ($http_code == 400) {
$json = json_decode($result, true);
// Hantera valideringsfel, presenteras i $json
}
$field_on_result = $result["residentialProfiles"];
// TODO: Gör något med resultatet
Resultat av begäran
{ "residentialProfiles": [ { "id": "sample string 1", "dateCreated": "2024-11-21T10:33:54.311377+01:00", "validTo": "2024-11-21T10:33:54.311377+01:00", "subtypes": [ "Apartment", "Apartment" ], "areaIds": [ "sample string 1", "sample string 2" ], "municipalityCodes": [ "sample string 1", "sample string 2" ], "livingSpace": { "maxValue": 1, "minValue": 1 }, "numberOfRooms": { "maxValue": 1, "minValue": 1 }, "bedrooms": 1, "plotArea": { "maxValue": 1, "minValue": 1 }, "monthlyFee": 1, "isAutomaticProfile": true, "price": { "maxValue": 1, "minValue": 1 }, "drawnAreas": [ { "coordinates": [ { "longitud": 1.1, "latitud": 2.1 }, { "longitud": 1.1, "latitud": 2.1 } ] }, { "coordinates": [ { "longitud": 1.1, "latitud": 2.1 }, { "longitud": 1.1, "latitud": 2.1 } ] } ], "drawnAreasName": "sample string 5", "increasedRequirementIds": [ "sample string 1", "sample string 2" ] }, { "id": "sample string 1", "dateCreated": "2024-11-21T10:33:54.311377+01:00", "validTo": "2024-11-21T10:33:54.311377+01:00", "subtypes": [ "Apartment", "Apartment" ], "areaIds": [ "sample string 1", "sample string 2" ], "municipalityCodes": [ "sample string 1", "sample string 2" ], "livingSpace": { "maxValue": 1, "minValue": 1 }, "numberOfRooms": { "maxValue": 1, "minValue": 1 }, "bedrooms": 1, "plotArea": { "maxValue": 1, "minValue": 1 }, "monthlyFee": 1, "isAutomaticProfile": true, "price": { "maxValue": 1, "minValue": 1 }, "drawnAreas": [ { "coordinates": [ { "longitud": 1.1, "latitud": 2.1 }, { "longitud": 1.1, "latitud": 2.1 } ] }, { "coordinates": [ { "longitud": 1.1, "latitud": 2.1 }, { "longitud": 1.1, "latitud": 2.1 } ] } ], "drawnAreasName": "sample string 5", "increasedRequirementIds": [ "sample string 1", "sample string 2" ] } ], "farmProfiles": [ { "id": "sample string 1", "dateCreated": "2024-11-21T10:33:54.311377+01:00", "validTo": "2024-11-21T10:33:54.311377+01:00", "subtypes": [ "Agriculture", "Agriculture" ], "areaIds": [ "sample string 1", "sample string 2" ], "municipalityCodes": [ "sample string 1", "sample string 2" ], "livingSpace": { "maxValue": 1, "minValue": 1 }, "numberOfRooms": { "maxValue": 1, "minValue": 1 }, "bedrooms": 1, "plotArea": { "maxValue": 1, "minValue": 1 }, "monthlyFee": 1, "isAutomaticProfile": true, "price": { "maxValue": 1, "minValue": 1 }, "drawnAreas": [ { "coordinates": [ { "longitud": 1.1, "latitud": 2.1 }, { "longitud": 1.1, "latitud": 2.1 } ] }, { "coordinates": [ { "longitud": 1.1, "latitud": 2.1 }, { "longitud": 1.1, "latitud": 2.1 } ] } ], "drawnAreasName": "sample string 5", "increasedRequirementIds": [ "sample string 1", "sample string 2" ] }, { "id": "sample string 1", "dateCreated": "2024-11-21T10:33:54.311377+01:00", "validTo": "2024-11-21T10:33:54.311377+01:00", "subtypes": [ "Agriculture", "Agriculture" ], "areaIds": [ "sample string 1", "sample string 2" ], "municipalityCodes": [ "sample string 1", "sample string 2" ], "livingSpace": { "maxValue": 1, "minValue": 1 }, "numberOfRooms": { "maxValue": 1, "minValue": 1 }, "bedrooms": 1, "plotArea": { "maxValue": 1, "minValue": 1 }, "monthlyFee": 1, "isAutomaticProfile": true, "price": { "maxValue": 1, "minValue": 1 }, "drawnAreas": [ { "coordinates": [ { "longitud": 1.1, "latitud": 2.1 }, { "longitud": 1.1, "latitud": 2.1 } ] }, { "coordinates": [ { "longitud": 1.1, "latitud": 2.1 }, { "longitud": 1.1, "latitud": 2.1 } ] } ], "drawnAreasName": "sample string 5", "increasedRequirementIds": [ "sample string 1", "sample string 2" ] } ], "commercialProfiles": [ { "id": "sample string 1", "dateCreated": "2024-11-21T10:33:54.311377+01:00", "validTo": "2024-11-21T10:33:54.311377+01:00", "plotArea": { "maxValue": 1, "minValue": 1 }, "sumArea": { "maxValue": 1, "minValue": 1 }, "subtypes": [ "Residential", "Residential" ], "areaIds": [ "sample string 1", "sample string 2" ], "municipalityCodes": [ "sample string 1", "sample string 2" ], "isAutomaticProfile": true, "price": { "maxValue": 1, "minValue": 1 }, "drawnAreas": [ { "coordinates": [ { "longitud": 1.1, "latitud": 2.1 }, { "longitud": 1.1, "latitud": 2.1 } ] }, { "coordinates": [ { "longitud": 1.1, "latitud": 2.1 }, { "longitud": 1.1, "latitud": 2.1 } ] } ], "drawnAreasName": "sample string 5", "increasedRequirementIds": [ "sample string 1", "sample string 2" ] }, { "id": "sample string 1", "dateCreated": "2024-11-21T10:33:54.311377+01:00", "validTo": "2024-11-21T10:33:54.311377+01:00", "plotArea": { "maxValue": 1, "minValue": 1 }, "sumArea": { "maxValue": 1, "minValue": 1 }, "subtypes": [ "Residential", "Residential" ], "areaIds": [ "sample string 1", "sample string 2" ], "municipalityCodes": [ "sample string 1", "sample string 2" ], "isAutomaticProfile": true, "price": { "maxValue": 1, "minValue": 1 }, "drawnAreas": [ { "coordinates": [ { "longitud": 1.1, "latitud": 2.1 }, { "longitud": 1.1, "latitud": 2.1 } ] }, { "coordinates": [ { "longitud": 1.1, "latitud": 2.1 }, { "longitud": 1.1, "latitud": 2.1 } ] } ], "drawnAreasName": "sample string 5", "increasedRequirementIds": [ "sample string 1", "sample string 2" ] } ], "foreignProfiles": [ { "id": "sample string 1", "dateCreated": "2024-11-21T10:33:54.311377+01:00", "validTo": "2024-11-21T10:33:54.311377+01:00", "countryCode": "sample string 4", "areaIds": [ "sample string 1", "sample string 2" ], "subtypes": [ "Apartment", "Apartment" ], "features": [ "Balcony", "Balcony" ], "shoppingCentreMaxDist": 1, "centreMaxDist": 1, "airportMaxDist": 1, "golfCourceMaxDist": 1, "seaMaxDist": 1, "supermarketMaxDist": 1, "poolMaxDist": 1, "hospitalMaxDist": 1, "beachMaxDist": 1, "livingSpace": { "maxValue": 1, "minValue": 1 }, "numberOfRooms": { "maxValue": 1, "minValue": 1 }, "bedrooms": 1, "plotArea": { "maxValue": 1, "minValue": 1 }, "monthlyFee": 1, "isAutomaticProfile": true, "price": { "maxValue": 1, "minValue": 1 }, "drawnAreas": [ { "coordinates": [ { "longitud": 1.1, "latitud": 2.1 }, { "longitud": 1.1, "latitud": 2.1 } ] }, { "coordinates": [ { "longitud": 1.1, "latitud": 2.1 }, { "longitud": 1.1, "latitud": 2.1 } ] } ], "drawnAreasName": "sample string 6", "increasedRequirementIds": [ "sample string 1", "sample string 2" ] }, { "id": "sample string 1", "dateCreated": "2024-11-21T10:33:54.311377+01:00", "validTo": "2024-11-21T10:33:54.311377+01:00", "countryCode": "sample string 4", "areaIds": [ "sample string 1", "sample string 2" ], "subtypes": [ "Apartment", "Apartment" ], "features": [ "Balcony", "Balcony" ], "shoppingCentreMaxDist": 1, "centreMaxDist": 1, "airportMaxDist": 1, "golfCourceMaxDist": 1, "seaMaxDist": 1, "supermarketMaxDist": 1, "poolMaxDist": 1, "hospitalMaxDist": 1, "beachMaxDist": 1, "livingSpace": { "maxValue": 1, "minValue": 1 }, "numberOfRooms": { "maxValue": 1, "minValue": 1 }, "bedrooms": 1, "plotArea": { "maxValue": 1, "minValue": 1 }, "monthlyFee": 1, "isAutomaticProfile": true, "price": { "maxValue": 1, "minValue": 1 }, "drawnAreas": [ { "coordinates": [ { "longitud": 1.1, "latitud": 2.1 }, { "longitud": 1.1, "latitud": 2.1 } ] }, { "coordinates": [ { "longitud": 1.1, "latitud": 2.1 }, { "longitud": 1.1, "latitud": 2.1 } ] } ], "drawnAreasName": "sample string 6", "increasedRequirementIds": [ "sample string 1", "sample string 2" ] } ], "premiseProfiles": [ { "id": "sample string 1", "dateCreated": "2024-11-21T10:33:54.311377+01:00", "validTo": "2024-11-21T10:33:54.311377+01:00", "sumArea": { "maxValue": 1, "minValue": 1 }, "subtypes": [ "Retail", "Retail" ], "areaIds": [ "sample string 1", "sample string 2" ], "municipalityCodes": [ "sample string 1", "sample string 2" ], "isAutomaticProfile": true, "price": { "maxValue": 1, "minValue": 1 }, "drawnAreas": [ { "coordinates": [ { "longitud": 1.1, "latitud": 2.1 }, { "longitud": 1.1, "latitud": 2.1 } ] }, { "coordinates": [ { "longitud": 1.1, "latitud": 2.1 }, { "longitud": 1.1, "latitud": 2.1 } ] } ], "drawnAreasName": "sample string 5", "increasedRequirementIds": [ "sample string 1", "sample string 2" ] }, { "id": "sample string 1", "dateCreated": "2024-11-21T10:33:54.311377+01:00", "validTo": "2024-11-21T10:33:54.311377+01:00", "sumArea": { "maxValue": 1, "minValue": 1 }, "subtypes": [ "Retail", "Retail" ], "areaIds": [ "sample string 1", "sample string 2" ], "municipalityCodes": [ "sample string 1", "sample string 2" ], "isAutomaticProfile": true, "price": { "maxValue": 1, "minValue": 1 }, "drawnAreas": [ { "coordinates": [ { "longitud": 1.1, "latitud": 2.1 }, { "longitud": 1.1, "latitud": 2.1 } ] }, { "coordinates": [ { "longitud": 1.1, "latitud": 2.1 }, { "longitud": 1.1, "latitud": 2.1 } ] } ], "drawnAreasName": "sample string 5", "increasedRequirementIds": [ "sample string 1", "sample string 2" ] } ] }
<SearchProfiles xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Express.Connect.Api.Models.SearchProfileV2"> <CommercialProfiles> <SearchProfileCommercial> <DrawnAreas xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d4p1:Polygon> <d4p1:Coordinates> <d4p1:Coordinate> <d4p1:Latitud>2.1</d4p1:Latitud> <d4p1:Longitud>1.1</d4p1:Longitud> </d4p1:Coordinate> <d4p1:Coordinate> <d4p1:Latitud>2.1</d4p1:Latitud> <d4p1:Longitud>1.1</d4p1:Longitud> </d4p1:Coordinate> </d4p1:Coordinates> </d4p1:Polygon> <d4p1:Polygon> <d4p1:Coordinates> <d4p1:Coordinate> <d4p1:Latitud>2.1</d4p1:Latitud> <d4p1:Longitud>1.1</d4p1:Longitud> </d4p1:Coordinate> <d4p1:Coordinate> <d4p1:Latitud>2.1</d4p1:Latitud> <d4p1:Longitud>1.1</d4p1:Longitud> </d4p1:Coordinate> </d4p1:Coordinates> </d4p1:Polygon> </DrawnAreas> <DrawnAreasName>sample string 5</DrawnAreasName> <IncreasedRequirementIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </IncreasedRequirementIds> <IsAutomaticProfile>true</IsAutomaticProfile> <Price xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d4p1:MaxValue>1</d4p1:MaxValue> <d4p1:MinValue>1</d4p1:MinValue> </Price> <AreaIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </AreaIds> <MunicipalityCodes xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </MunicipalityCodes> <PlotArea xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d4p1:MaxValue>1</d4p1:MaxValue> <d4p1:MinValue>1</d4p1:MinValue> </PlotArea> <Subtypes> <SubtypeCommercial>Residential</SubtypeCommercial> <SubtypeCommercial>Residential</SubtypeCommercial> </Subtypes> <SumArea xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d4p1:MaxValue>1</d4p1:MaxValue> <d4p1:MinValue>1</d4p1:MinValue> </SumArea> <DateCreated>2024-11-21T10:33:54.311377+01:00</DateCreated> <Id>sample string 1</Id> <ValidTo>2024-11-21T10:33:54.311377+01:00</ValidTo> </SearchProfileCommercial> <SearchProfileCommercial> <DrawnAreas xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d4p1:Polygon> <d4p1:Coordinates> <d4p1:Coordinate> <d4p1:Latitud>2.1</d4p1:Latitud> <d4p1:Longitud>1.1</d4p1:Longitud> </d4p1:Coordinate> <d4p1:Coordinate> <d4p1:Latitud>2.1</d4p1:Latitud> <d4p1:Longitud>1.1</d4p1:Longitud> </d4p1:Coordinate> </d4p1:Coordinates> </d4p1:Polygon> <d4p1:Polygon> <d4p1:Coordinates> <d4p1:Coordinate> <d4p1:Latitud>2.1</d4p1:Latitud> <d4p1:Longitud>1.1</d4p1:Longitud> </d4p1:Coordinate> <d4p1:Coordinate> <d4p1:Latitud>2.1</d4p1:Latitud> <d4p1:Longitud>1.1</d4p1:Longitud> </d4p1:Coordinate> </d4p1:Coordinates> </d4p1:Polygon> </DrawnAreas> <DrawnAreasName>sample string 5</DrawnAreasName> <IncreasedRequirementIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </IncreasedRequirementIds> <IsAutomaticProfile>true</IsAutomaticProfile> <Price xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d4p1:MaxValue>1</d4p1:MaxValue> <d4p1:MinValue>1</d4p1:MinValue> </Price> <AreaIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </AreaIds> <MunicipalityCodes xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </MunicipalityCodes> <PlotArea xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d4p1:MaxValue>1</d4p1:MaxValue> <d4p1:MinValue>1</d4p1:MinValue> </PlotArea> <Subtypes> <SubtypeCommercial>Residential</SubtypeCommercial> <SubtypeCommercial>Residential</SubtypeCommercial> </Subtypes> <SumArea xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d4p1:MaxValue>1</d4p1:MaxValue> <d4p1:MinValue>1</d4p1:MinValue> </SumArea> <DateCreated>2024-11-21T10:33:54.311377+01:00</DateCreated> <Id>sample string 1</Id> <ValidTo>2024-11-21T10:33:54.311377+01:00</ValidTo> </SearchProfileCommercial> </CommercialProfiles> <FarmProfiles> <SearchProfileFarm> <DrawnAreas xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d4p1:Polygon> <d4p1:Coordinates> <d4p1:Coordinate> <d4p1:Latitud>2.1</d4p1:Latitud> <d4p1:Longitud>1.1</d4p1:Longitud> </d4p1:Coordinate> <d4p1:Coordinate> <d4p1:Latitud>2.1</d4p1:Latitud> <d4p1:Longitud>1.1</d4p1:Longitud> </d4p1:Coordinate> </d4p1:Coordinates> </d4p1:Polygon> <d4p1:Polygon> <d4p1:Coordinates> <d4p1:Coordinate> <d4p1:Latitud>2.1</d4p1:Latitud> <d4p1:Longitud>1.1</d4p1:Longitud> </d4p1:Coordinate> <d4p1:Coordinate> <d4p1:Latitud>2.1</d4p1:Latitud> <d4p1:Longitud>1.1</d4p1:Longitud> </d4p1:Coordinate> </d4p1:Coordinates> </d4p1:Polygon> </DrawnAreas> <DrawnAreasName>sample string 5</DrawnAreasName> <IncreasedRequirementIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </IncreasedRequirementIds> <IsAutomaticProfile>true</IsAutomaticProfile> <Price xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d4p1:MaxValue>1</d4p1:MaxValue> <d4p1:MinValue>1</d4p1:MinValue> </Price> <Bedrooms>1</Bedrooms> <LivingSpace xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d4p1:MaxValue>1</d4p1:MaxValue> <d4p1:MinValue>1</d4p1:MinValue> </LivingSpace> <MonthlyFee>1</MonthlyFee> <NumberOfRooms xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d4p1:MaxValue>1</d4p1:MaxValue> <d4p1:MinValue>1</d4p1:MinValue> </NumberOfRooms> <PlotArea xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d4p1:MaxValue>1</d4p1:MaxValue> <d4p1:MinValue>1</d4p1:MinValue> </PlotArea> <AreaIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </AreaIds> <MunicipalityCodes xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </MunicipalityCodes> <Subtypes> <SubtypeFarm>Agriculture</SubtypeFarm> <SubtypeFarm>Agriculture</SubtypeFarm> </Subtypes> <DateCreated>2024-11-21T10:33:54.311377+01:00</DateCreated> <Id>sample string 1</Id> <ValidTo>2024-11-21T10:33:54.311377+01:00</ValidTo> </SearchProfileFarm> <SearchProfileFarm> <DrawnAreas xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d4p1:Polygon> <d4p1:Coordinates> <d4p1:Coordinate> <d4p1:Latitud>2.1</d4p1:Latitud> <d4p1:Longitud>1.1</d4p1:Longitud> </d4p1:Coordinate> <d4p1:Coordinate> <d4p1:Latitud>2.1</d4p1:Latitud> <d4p1:Longitud>1.1</d4p1:Longitud> </d4p1:Coordinate> </d4p1:Coordinates> </d4p1:Polygon> <d4p1:Polygon> <d4p1:Coordinates> <d4p1:Coordinate> <d4p1:Latitud>2.1</d4p1:Latitud> <d4p1:Longitud>1.1</d4p1:Longitud> </d4p1:Coordinate> <d4p1:Coordinate> <d4p1:Latitud>2.1</d4p1:Latitud> <d4p1:Longitud>1.1</d4p1:Longitud> </d4p1:Coordinate> </d4p1:Coordinates> </d4p1:Polygon> </DrawnAreas> <DrawnAreasName>sample string 5</DrawnAreasName> <IncreasedRequirementIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </IncreasedRequirementIds> <IsAutomaticProfile>true</IsAutomaticProfile> <Price xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d4p1:MaxValue>1</d4p1:MaxValue> <d4p1:MinValue>1</d4p1:MinValue> </Price> <Bedrooms>1</Bedrooms> <LivingSpace xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d4p1:MaxValue>1</d4p1:MaxValue> <d4p1:MinValue>1</d4p1:MinValue> </LivingSpace> <MonthlyFee>1</MonthlyFee> <NumberOfRooms xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d4p1:MaxValue>1</d4p1:MaxValue> <d4p1:MinValue>1</d4p1:MinValue> </NumberOfRooms> <PlotArea xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d4p1:MaxValue>1</d4p1:MaxValue> <d4p1:MinValue>1</d4p1:MinValue> </PlotArea> <AreaIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </AreaIds> <MunicipalityCodes xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </MunicipalityCodes> <Subtypes> <SubtypeFarm>Agriculture</SubtypeFarm> <SubtypeFarm>Agriculture</SubtypeFarm> </Subtypes> <DateCreated>2024-11-21T10:33:54.311377+01:00</DateCreated> <Id>sample string 1</Id> <ValidTo>2024-11-21T10:33:54.311377+01:00</ValidTo> </SearchProfileFarm> </FarmProfiles> <ForeignProfiles> <SearchProfileForeign> <DrawnAreas xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d4p1:Polygon> <d4p1:Coordinates> <d4p1:Coordinate> <d4p1:Latitud>2.1</d4p1:Latitud> <d4p1:Longitud>1.1</d4p1:Longitud> </d4p1:Coordinate> <d4p1:Coordinate> <d4p1:Latitud>2.1</d4p1:Latitud> <d4p1:Longitud>1.1</d4p1:Longitud> </d4p1:Coordinate> </d4p1:Coordinates> </d4p1:Polygon> <d4p1:Polygon> <d4p1:Coordinates> <d4p1:Coordinate> <d4p1:Latitud>2.1</d4p1:Latitud> <d4p1:Longitud>1.1</d4p1:Longitud> </d4p1:Coordinate> <d4p1:Coordinate> <d4p1:Latitud>2.1</d4p1:Latitud> <d4p1:Longitud>1.1</d4p1:Longitud> </d4p1:Coordinate> </d4p1:Coordinates> </d4p1:Polygon> </DrawnAreas> <DrawnAreasName>sample string 6</DrawnAreasName> <IncreasedRequirementIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </IncreasedRequirementIds> <IsAutomaticProfile>true</IsAutomaticProfile> <Price xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d4p1:MaxValue>1</d4p1:MaxValue> <d4p1:MinValue>1</d4p1:MinValue> </Price> <Bedrooms>1</Bedrooms> <LivingSpace xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d4p1:MaxValue>1</d4p1:MaxValue> <d4p1:MinValue>1</d4p1:MinValue> </LivingSpace> <MonthlyFee>1</MonthlyFee> <NumberOfRooms xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d4p1:MaxValue>1</d4p1:MaxValue> <d4p1:MinValue>1</d4p1:MinValue> </NumberOfRooms> <PlotArea xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d4p1:MaxValue>1</d4p1:MaxValue> <d4p1:MinValue>1</d4p1:MinValue> </PlotArea> <AirportMaxDist>1</AirportMaxDist> <AreaIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </AreaIds> <BeachMaxDist>1</BeachMaxDist> <CentreMaxDist>1</CentreMaxDist> <CountryCode>sample string 4</CountryCode> <Features> <ForeignFeature>Balcony</ForeignFeature> <ForeignFeature>Balcony</ForeignFeature> </Features> <GolfCourceMaxDist>1</GolfCourceMaxDist> <HospitalMaxDist>1</HospitalMaxDist> <PoolMaxDist>1</PoolMaxDist> <SeaMaxDist>1</SeaMaxDist> <ShoppingCentreMaxDist>1</ShoppingCentreMaxDist> <Subtypes> <SubtypeForeign>Apartment</SubtypeForeign> <SubtypeForeign>Apartment</SubtypeForeign> </Subtypes> <SupermarketMaxDist>1</SupermarketMaxDist> <DateCreated>2024-11-21T10:33:54.311377+01:00</DateCreated> <Id>sample string 1</Id> <ValidTo>2024-11-21T10:33:54.311377+01:00</ValidTo> </SearchProfileForeign> <SearchProfileForeign> <DrawnAreas xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d4p1:Polygon> <d4p1:Coordinates> <d4p1:Coordinate> <d4p1:Latitud>2.1</d4p1:Latitud> <d4p1:Longitud>1.1</d4p1:Longitud> </d4p1:Coordinate> <d4p1:Coordinate> <d4p1:Latitud>2.1</d4p1:Latitud> <d4p1:Longitud>1.1</d4p1:Longitud> </d4p1:Coordinate> </d4p1:Coordinates> </d4p1:Polygon> <d4p1:Polygon> <d4p1:Coordinates> <d4p1:Coordinate> <d4p1:Latitud>2.1</d4p1:Latitud> <d4p1:Longitud>1.1</d4p1:Longitud> </d4p1:Coordinate> <d4p1:Coordinate> <d4p1:Latitud>2.1</d4p1:Latitud> <d4p1:Longitud>1.1</d4p1:Longitud> </d4p1:Coordinate> </d4p1:Coordinates> </d4p1:Polygon> </DrawnAreas> <DrawnAreasName>sample string 6</DrawnAreasName> <IncreasedRequirementIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </IncreasedRequirementIds> <IsAutomaticProfile>true</IsAutomaticProfile> <Price xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d4p1:MaxValue>1</d4p1:MaxValue> <d4p1:MinValue>1</d4p1:MinValue> </Price> <Bedrooms>1</Bedrooms> <LivingSpace xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d4p1:MaxValue>1</d4p1:MaxValue> <d4p1:MinValue>1</d4p1:MinValue> </LivingSpace> <MonthlyFee>1</MonthlyFee> <NumberOfRooms xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d4p1:MaxValue>1</d4p1:MaxValue> <d4p1:MinValue>1</d4p1:MinValue> </NumberOfRooms> <PlotArea xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d4p1:MaxValue>1</d4p1:MaxValue> <d4p1:MinValue>1</d4p1:MinValue> </PlotArea> <AirportMaxDist>1</AirportMaxDist> <AreaIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </AreaIds> <BeachMaxDist>1</BeachMaxDist> <CentreMaxDist>1</CentreMaxDist> <CountryCode>sample string 4</CountryCode> <Features> <ForeignFeature>Balcony</ForeignFeature> <ForeignFeature>Balcony</ForeignFeature> </Features> <GolfCourceMaxDist>1</GolfCourceMaxDist> <HospitalMaxDist>1</HospitalMaxDist> <PoolMaxDist>1</PoolMaxDist> <SeaMaxDist>1</SeaMaxDist> <ShoppingCentreMaxDist>1</ShoppingCentreMaxDist> <Subtypes> <SubtypeForeign>Apartment</SubtypeForeign> <SubtypeForeign>Apartment</SubtypeForeign> </Subtypes> <SupermarketMaxDist>1</SupermarketMaxDist> <DateCreated>2024-11-21T10:33:54.311377+01:00</DateCreated> <Id>sample string 1</Id> <ValidTo>2024-11-21T10:33:54.311377+01:00</ValidTo> </SearchProfileForeign> </ForeignProfiles> <PremiseProfiles> <SearchProfilePremises> <DrawnAreas xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d4p1:Polygon> <d4p1:Coordinates> <d4p1:Coordinate> <d4p1:Latitud>2.1</d4p1:Latitud> <d4p1:Longitud>1.1</d4p1:Longitud> </d4p1:Coordinate> <d4p1:Coordinate> <d4p1:Latitud>2.1</d4p1:Latitud> <d4p1:Longitud>1.1</d4p1:Longitud> </d4p1:Coordinate> </d4p1:Coordinates> </d4p1:Polygon> <d4p1:Polygon> <d4p1:Coordinates> <d4p1:Coordinate> <d4p1:Latitud>2.1</d4p1:Latitud> <d4p1:Longitud>1.1</d4p1:Longitud> </d4p1:Coordinate> <d4p1:Coordinate> <d4p1:Latitud>2.1</d4p1:Latitud> <d4p1:Longitud>1.1</d4p1:Longitud> </d4p1:Coordinate> </d4p1:Coordinates> </d4p1:Polygon> </DrawnAreas> <DrawnAreasName>sample string 5</DrawnAreasName> <IncreasedRequirementIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </IncreasedRequirementIds> <IsAutomaticProfile>true</IsAutomaticProfile> <Price xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d4p1:MaxValue>1</d4p1:MaxValue> <d4p1:MinValue>1</d4p1:MinValue> </Price> <AreaIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </AreaIds> <MunicipalityCodes xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </MunicipalityCodes> <Subtypes> <SubtypePremises>Retail</SubtypePremises> <SubtypePremises>Retail</SubtypePremises> </Subtypes> <SumArea xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d4p1:MaxValue>1</d4p1:MaxValue> <d4p1:MinValue>1</d4p1:MinValue> </SumArea> <DateCreated>2024-11-21T10:33:54.311377+01:00</DateCreated> <Id>sample string 1</Id> <ValidTo>2024-11-21T10:33:54.311377+01:00</ValidTo> </SearchProfilePremises> <SearchProfilePremises> <DrawnAreas xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d4p1:Polygon> <d4p1:Coordinates> <d4p1:Coordinate> <d4p1:Latitud>2.1</d4p1:Latitud> <d4p1:Longitud>1.1</d4p1:Longitud> </d4p1:Coordinate> <d4p1:Coordinate> <d4p1:Latitud>2.1</d4p1:Latitud> <d4p1:Longitud>1.1</d4p1:Longitud> </d4p1:Coordinate> </d4p1:Coordinates> </d4p1:Polygon> <d4p1:Polygon> <d4p1:Coordinates> <d4p1:Coordinate> <d4p1:Latitud>2.1</d4p1:Latitud> <d4p1:Longitud>1.1</d4p1:Longitud> </d4p1:Coordinate> <d4p1:Coordinate> <d4p1:Latitud>2.1</d4p1:Latitud> <d4p1:Longitud>1.1</d4p1:Longitud> </d4p1:Coordinate> </d4p1:Coordinates> </d4p1:Polygon> </DrawnAreas> <DrawnAreasName>sample string 5</DrawnAreasName> <IncreasedRequirementIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </IncreasedRequirementIds> <IsAutomaticProfile>true</IsAutomaticProfile> <Price xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d4p1:MaxValue>1</d4p1:MaxValue> <d4p1:MinValue>1</d4p1:MinValue> </Price> <AreaIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </AreaIds> <MunicipalityCodes xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </MunicipalityCodes> <Subtypes> <SubtypePremises>Retail</SubtypePremises> <SubtypePremises>Retail</SubtypePremises> </Subtypes> <SumArea xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d4p1:MaxValue>1</d4p1:MaxValue> <d4p1:MinValue>1</d4p1:MinValue> </SumArea> <DateCreated>2024-11-21T10:33:54.311377+01:00</DateCreated> <Id>sample string 1</Id> <ValidTo>2024-11-21T10:33:54.311377+01:00</ValidTo> </SearchProfilePremises> </PremiseProfiles> <ResidentialProfiles> <SearchProfileResidential> <DrawnAreas xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d4p1:Polygon> <d4p1:Coordinates> <d4p1:Coordinate> <d4p1:Latitud>2.1</d4p1:Latitud> <d4p1:Longitud>1.1</d4p1:Longitud> </d4p1:Coordinate> <d4p1:Coordinate> <d4p1:Latitud>2.1</d4p1:Latitud> <d4p1:Longitud>1.1</d4p1:Longitud> </d4p1:Coordinate> </d4p1:Coordinates> </d4p1:Polygon> <d4p1:Polygon> <d4p1:Coordinates> <d4p1:Coordinate> <d4p1:Latitud>2.1</d4p1:Latitud> <d4p1:Longitud>1.1</d4p1:Longitud> </d4p1:Coordinate> <d4p1:Coordinate> <d4p1:Latitud>2.1</d4p1:Latitud> <d4p1:Longitud>1.1</d4p1:Longitud> </d4p1:Coordinate> </d4p1:Coordinates> </d4p1:Polygon> </DrawnAreas> <DrawnAreasName>sample string 5</DrawnAreasName> <IncreasedRequirementIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </IncreasedRequirementIds> <IsAutomaticProfile>true</IsAutomaticProfile> <Price xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d4p1:MaxValue>1</d4p1:MaxValue> <d4p1:MinValue>1</d4p1:MinValue> </Price> <Bedrooms>1</Bedrooms> <LivingSpace xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d4p1:MaxValue>1</d4p1:MaxValue> <d4p1:MinValue>1</d4p1:MinValue> </LivingSpace> <MonthlyFee>1</MonthlyFee> <NumberOfRooms xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d4p1:MaxValue>1</d4p1:MaxValue> <d4p1:MinValue>1</d4p1:MinValue> </NumberOfRooms> <PlotArea xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d4p1:MaxValue>1</d4p1:MaxValue> <d4p1:MinValue>1</d4p1:MinValue> </PlotArea> <AreaIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </AreaIds> <MunicipalityCodes xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </MunicipalityCodes> <Subtypes> <SubtypeResidential>Apartment</SubtypeResidential> <SubtypeResidential>Apartment</SubtypeResidential> </Subtypes> <DateCreated>2024-11-21T10:33:54.311377+01:00</DateCreated> <Id>sample string 1</Id> <ValidTo>2024-11-21T10:33:54.311377+01:00</ValidTo> </SearchProfileResidential> <SearchProfileResidential> <DrawnAreas xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d4p1:Polygon> <d4p1:Coordinates> <d4p1:Coordinate> <d4p1:Latitud>2.1</d4p1:Latitud> <d4p1:Longitud>1.1</d4p1:Longitud> </d4p1:Coordinate> <d4p1:Coordinate> <d4p1:Latitud>2.1</d4p1:Latitud> <d4p1:Longitud>1.1</d4p1:Longitud> </d4p1:Coordinate> </d4p1:Coordinates> </d4p1:Polygon> <d4p1:Polygon> <d4p1:Coordinates> <d4p1:Coordinate> <d4p1:Latitud>2.1</d4p1:Latitud> <d4p1:Longitud>1.1</d4p1:Longitud> </d4p1:Coordinate> <d4p1:Coordinate> <d4p1:Latitud>2.1</d4p1:Latitud> <d4p1:Longitud>1.1</d4p1:Longitud> </d4p1:Coordinate> </d4p1:Coordinates> </d4p1:Polygon> </DrawnAreas> <DrawnAreasName>sample string 5</DrawnAreasName> <IncreasedRequirementIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </IncreasedRequirementIds> <IsAutomaticProfile>true</IsAutomaticProfile> <Price xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d4p1:MaxValue>1</d4p1:MaxValue> <d4p1:MinValue>1</d4p1:MinValue> </Price> <Bedrooms>1</Bedrooms> <LivingSpace xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d4p1:MaxValue>1</d4p1:MaxValue> <d4p1:MinValue>1</d4p1:MinValue> </LivingSpace> <MonthlyFee>1</MonthlyFee> <NumberOfRooms xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d4p1:MaxValue>1</d4p1:MaxValue> <d4p1:MinValue>1</d4p1:MinValue> </NumberOfRooms> <PlotArea xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d4p1:MaxValue>1</d4p1:MaxValue> <d4p1:MinValue>1</d4p1:MinValue> </PlotArea> <AreaIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </AreaIds> <MunicipalityCodes xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </MunicipalityCodes> <Subtypes> <SubtypeResidential>Apartment</SubtypeResidential> <SubtypeResidential>Apartment</SubtypeResidential> </Subtypes> <DateCreated>2024-11-21T10:33:54.311377+01:00</DateCreated> <Id>sample string 1</Id> <ValidTo>2024-11-21T10:33:54.311377+01:00</ValidTo> </SearchProfileResidential> </ResidentialProfiles> </SearchProfiles>