curl "https://connect.maklare.vitec.net/Advertising/Project/StringValue/StringValue?extend=StringValue" -X GET -H "Authorization: basic {Base64 kodad användarnamn och lösenord}"
Dokumentation för API-funktioner
GET Advertising/Project/{customerId}/{projectId}
Response Information
Resource Description
Kodexempel
Testformulär
Text input
Response Formats
Hämta projekt för hemsida.
Request Information URI ParametersNamn | Beskrivning | Typ | Information |
customerId | Kund-id | string |
Krävs |
projectId | projektid | string |
Krävs |
extend | Utöka hämtningen, "extensions" i svaret. | string |
Hämta projekt för hemsida.
AdvertisingProjectNamn | Beskrivning | Typ | Information |
Id | Projektets id | string | |
Name | Name of project | string | |
Status | Status på projektet. | AdvertisingProjectStatus | |
Office | Kontor | AdvertisingOfficeReference | |
PrimaryAgentId | Id på huvudhandläggare | string | |
SecondaryAgentId | Id på andrahandläggare | string | |
Address | Adress och geografiska uppgifter | AdvertisingProjectAddress | |
Surroundings | Närområde | AdvertisingSurroundings | |
ChangedAt | När projektet senast ändrades | date | |
Files | Filer | Collection of AdvertisingFile | |
Viewings | Visningar | Collection of AdvertisingViewing | |
Images | Bilder | Collection of AdvertisingImage | |
Links | Länkar | Collection of AdvertisingLink | |
Marketing | Marknadsföring | AdvertisingMarketing | |
Extensions | Utöka hämtningen via inparametrar | AdvertisingProjectExtensions | |
Currency | Valutan för alla avgifter, priser etc. | string | |
Estates | Uppgifter om bostäderna i projektet | AdvertisingProjectEstates | |
Sale | Uppgifter kring försäljningen av bostäderna i projektet | AdvertisingProjectSale | |
Producer | Producent | AdvertisingProjectProducer |
$URL = "https://connect.maklare.vitec.net/Advertising/Project/StringValue/StringValue?extend=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("Advertising/Project/StringValue/StringValue?extend=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 id = result.id.Value ;
// TODO: Gör något med resultatet
}
$URL = "https://connect.maklare.vitec.net/Advertising/Project/StringValue/StringValue?extend=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["id"];
// TODO: Gör något med resultatet
Resultat av begäran
{ "id": "sample string 1", "name": "sample string 2", "status": { "id": "sample string 1", "name": "sample string 2" }, "office": { "id": "sample string 1", "customerId": "sample string 2" }, "primaryAgentId": "sample string 3", "secondaryAgentId": "sample string 4", "address": { "streetAddress": "sample string 1", "zipCode": { "numerical": 1, "value": "sample string 1" }, "postalTown": "sample string 2", "area": { "id": "sample string 1", "name": "sample string 2" }, "municipality": "sample string 3", "countryCode": "sample string 4", "countyMunicipalityCode": "sample string 5", "wgs84Coordinate": { "longitude": 1.1, "latitude": 2.1 }, "directions": "sample string 6" }, "surroundings": { "service": "sample string 1", "communication": "sample string 2", "area": "sample string 3", "parking": "sample string 4", "other": "sample string 5" }, "changedAt": "2025-04-04T14:44:43.2565532+02:00", "files": [ { "id": "sample string 1", "name": "sample string 2", "extension": "sample string 3", "dataChangedAt": "2025-04-04T14:44:43.2565532+02:00" }, { "id": "sample string 1", "name": "sample string 2", "extension": "sample string 3", "dataChangedAt": "2025-04-04T14:44:43.2565532+02:00" } ], "viewings": [ { "id": "sample string 1", "startsAt": "2025-04-04T14:44:43.2565532+02:00", "endsAt": "2025-04-04T14:44:43.2565532+02:00", "comment": "sample string 4", "isDigital": true, "isSelfRegistrationEnabled": true, "isProjectViewing": true }, { "id": "sample string 1", "startsAt": "2025-04-04T14:44:43.2565532+02:00", "endsAt": "2025-04-04T14:44:43.2565532+02:00", "comment": "sample string 4", "isDigital": true, "isSelfRegistrationEnabled": true, "isProjectViewing": true } ], "images": [ { "id": "sample string 1", "dataChangedAt": "2025-04-04T14:44:43.2565532+02:00", "description": "sample string 3", "name": "sample string 4", "category": { "id": "sample string 1", "name": "sample string 2" }, "extension": "sample string 5", "cdnReferences": [ { "name": "sample string 1", "url": "sample string 2" }, { "name": "sample string 1", "url": "sample string 2" } ] }, { "id": "sample string 1", "dataChangedAt": "2025-04-04T14:44:43.2565532+02:00", "description": "sample string 3", "name": "sample string 4", "category": { "id": "sample string 1", "name": "sample string 2" }, "extension": "sample string 5", "cdnReferences": [ { "name": "sample string 1", "url": "sample string 2" }, { "name": "sample string 1", "url": "sample string 2" } ] } ], "links": [ { "name": "sample string 1", "category": { "id": "sample string 1", "name": "sample string 2" }, "url": "sample string 2" }, { "name": "sample string 1", "category": { "id": "sample string 1", "name": "sample string 2" }, "url": "sample string 2" } ], "marketing": { "isPublished": true, "isPreview": true, "publishedAt": "2025-04-04T14:44:43.2565532+02:00", "isNewHome": true, "viewing": { "visibleLimit": 1, "emptyText": "sample string 1" } }, "extensions": { "primaryAgent": { "id": "sample string 1", "name": "sample string 2", "title": "sample string 3", "category": "sample string 4", "emailAddress": "sample string 5", "description": "sample string 6", "spokenLanguages": [ "sample string 1", "sample string 2" ], "changedAt": "2025-04-04T14:44:43.2565532+02:00", "telephone": { "cell": { "msisdn": "sample string 1", "display": "sample string 2" }, "public": { "msisdn": "sample string 1", "display": "sample string 2" } }, "image": { "id": "sample string 1", "dataChangedAt": "2025-04-04T14:44:43.2565532+02:00", "description": "sample string 3", "name": "sample string 4", "category": { "id": "sample string 1", "name": "sample string 2" }, "extension": "sample string 5", "cdnReferences": [ { "name": "sample string 1", "url": "sample string 2" }, { "name": "sample string 1", "url": "sample string 2" } ] }, "offices": [ { "id": "sample string 1", "customerId": "sample string 2", "telephone": { "personal": { "msisdn": "sample string 1", "display": "sample string 2" } } }, { "id": "sample string 1", "customerId": "sample string 2", "telephone": { "personal": { "msisdn": "sample string 1", "display": "sample string 2" } } } ], "reviews": [ { "text": "sample string 1", "authorName": "sample string 2" }, { "text": "sample string 1", "authorName": "sample string 2" } ] }, "secondaryAgent": { "id": "sample string 1", "name": "sample string 2", "title": "sample string 3", "category": "sample string 4", "emailAddress": "sample string 5", "description": "sample string 6", "spokenLanguages": [ "sample string 1", "sample string 2" ], "changedAt": "2025-04-04T14:44:43.2565532+02:00", "telephone": { "cell": { "msisdn": "sample string 1", "display": "sample string 2" }, "public": { "msisdn": "sample string 1", "display": "sample string 2" } }, "image": { "id": "sample string 1", "dataChangedAt": "2025-04-04T14:44:43.2565532+02:00", "description": "sample string 3", "name": "sample string 4", "category": { "id": "sample string 1", "name": "sample string 2" }, "extension": "sample string 5", "cdnReferences": [ { "name": "sample string 1", "url": "sample string 2" }, { "name": "sample string 1", "url": "sample string 2" } ] }, "offices": [ { "id": "sample string 1", "customerId": "sample string 2", "telephone": { "personal": { "msisdn": "sample string 1", "display": "sample string 2" } } }, { "id": "sample string 1", "customerId": "sample string 2", "telephone": { "personal": { "msisdn": "sample string 1", "display": "sample string 2" } } } ], "reviews": [ { "text": "sample string 1", "authorName": "sample string 2" }, { "text": "sample string 1", "authorName": "sample string 2" } ] } }, "currency": "sample string 6", "estates": { "price": { "maxValue": 1, "minValue": 1 }, "monthlyFee": { "maxValue": 1, "minValue": 1 }, "livingSpace": { "maxValue": 1.1, "minValue": 1.1 }, "numberOfRooms": { "maxValue": 1.1, "minValue": 1.1 }, "plot": { "maxValue": 1.1, "minValue": 1.1 } }, "sale": { "shortDescription": "sample string 1", "description": "sample string 2", "phrase": "sample string 3", "heading": "sample string 4", "otherInformation": "sample string 5", "startsAt": "2025-04-04T14:44:43.2565532+02:00", "possessionEstimation": "sample string 6" }, "producer": { "name": "sample string 1" } }
<AdvertisingProject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Express.Connect.Api.Services.Advertising"> <Address> <Area> <Id>sample string 1</Id> <Name>sample string 2</Name> </Area> <CountryCode>sample string 4</CountryCode> <CountyMunicipalityCode>sample string 5</CountyMunicipalityCode> <Directions>sample string 6</Directions> <Municipality>sample string 3</Municipality> <PostalTown>sample string 2</PostalTown> <StreetAddress>sample string 1</StreetAddress> <Wgs84Coordinate xmlns:d3p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d3p1:Latitude>2.1</d3p1:Latitude> <d3p1:Longitude>1.1</d3p1:Longitude> </Wgs84Coordinate> <ZipCode> <Numerical>1</Numerical> <Value>sample string 1</Value> </ZipCode> </Address> <ChangedAt>2025-04-04T14:44:43.2565532+02:00</ChangedAt> <Currency>sample string 6</Currency> <Estates> <LivingSpace xmlns:d3p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d3p1:MaxValue>1.1</d3p1:MaxValue> <d3p1:MinValue>1.1</d3p1:MinValue> </LivingSpace> <MonthlyFee xmlns:d3p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d3p1:MaxValue>1</d3p1:MaxValue> <d3p1:MinValue>1</d3p1:MinValue> </MonthlyFee> <NumberOfRooms xmlns:d3p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d3p1:MaxValue>1.1</d3p1:MaxValue> <d3p1:MinValue>1.1</d3p1:MinValue> </NumberOfRooms> <Plot xmlns:d3p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d3p1:MaxValue>1.1</d3p1:MaxValue> <d3p1:MinValue>1.1</d3p1:MinValue> </Plot> <Price xmlns:d3p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api.Models"> <d3p1:MaxValue>1</d3p1:MaxValue> <d3p1:MinValue>1</d3p1:MinValue> </Price> </Estates> <Extensions> <PrimaryAgent> <Category>sample string 4</Category> <ChangedAt>2025-04-04T14:44:43.2565532+02:00</ChangedAt> <Description>sample string 6</Description> <EmailAddress>sample string 5</EmailAddress> <Id>sample string 1</Id> <Image> <Category> <Id xmlns="http://schemas.datacontract.org/2004/07/Express.Connect.Api.Models">sample string 1</Id> <Name xmlns="http://schemas.datacontract.org/2004/07/Express.Connect.Api.Models">sample string 2</Name> </Category> <CdnReferences xmlns:d5p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api"> <d5p1:CdnImageReference> <d5p1:Name>sample string 1</d5p1:Name> <d5p1:Url>sample string 2</d5p1:Url> </d5p1:CdnImageReference> <d5p1:CdnImageReference> <d5p1:Name>sample string 1</d5p1:Name> <d5p1:Url>sample string 2</d5p1:Url> </d5p1:CdnImageReference> </CdnReferences> <DataChangedAt>2025-04-04T14:44:43.2565532+02:00</DataChangedAt> <Description>sample string 3</Description> <Extension>sample string 5</Extension> <Id>sample string 1</Id> <Name>sample string 4</Name> </Image> <Name>sample string 2</Name> <Offices> <AdvertisingUserOffice> <CustomerId>sample string 2</CustomerId> <Id>sample string 1</Id> <Telephone> <Personal xmlns:d7p1="http://schemas.datacontract.org/2004/07/Express.Connect.Api.Models"> <d7p1:Display>sample string 2</d7p1:Display> <d7p1:Msisdn>sample string 1</d7p1:Msisdn> </Personal> </Telephone> </AdvertisingUserOffice> <AdvertisingUserOffice> <CustomerId>sample string 2</CustomerId> <Id>sample string 1</Id> <Telephone> <Personal xmlns:d7p1="http://schemas.datacontract.org/2004/07/Express.Connect.Api.Models"> <d7p1:Display>sample string 2</d7p1:Display> <d7p1:Msisdn>sample string 1</d7p1:Msisdn> </Personal> </Telephone> </AdvertisingUserOffice> </Offices> <Reviews> <AdvertisingUserReview> <AuthorName>sample string 2</AuthorName> <Text>sample string 1</Text> </AdvertisingUserReview> <AdvertisingUserReview> <AuthorName>sample string 2</AuthorName> <Text>sample string 1</Text> </AdvertisingUserReview> </Reviews> <SpokenLanguages xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </SpokenLanguages> <Telephone> <Cell xmlns:d5p1="http://schemas.datacontract.org/2004/07/Express.Connect.Api.Models"> <d5p1:Display>sample string 2</d5p1:Display> <d5p1:Msisdn>sample string 1</d5p1:Msisdn> </Cell> <Public xmlns:d5p1="http://schemas.datacontract.org/2004/07/Express.Connect.Api.Models"> <d5p1:Display>sample string 2</d5p1:Display> <d5p1:Msisdn>sample string 1</d5p1:Msisdn> </Public> </Telephone> <Title>sample string 3</Title> </PrimaryAgent> <SecondaryAgent> <Category>sample string 4</Category> <ChangedAt>2025-04-04T14:44:43.2565532+02:00</ChangedAt> <Description>sample string 6</Description> <EmailAddress>sample string 5</EmailAddress> <Id>sample string 1</Id> <Image> <Category> <Id xmlns="http://schemas.datacontract.org/2004/07/Express.Connect.Api.Models">sample string 1</Id> <Name xmlns="http://schemas.datacontract.org/2004/07/Express.Connect.Api.Models">sample string 2</Name> </Category> <CdnReferences xmlns:d5p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api"> <d5p1:CdnImageReference> <d5p1:Name>sample string 1</d5p1:Name> <d5p1:Url>sample string 2</d5p1:Url> </d5p1:CdnImageReference> <d5p1:CdnImageReference> <d5p1:Name>sample string 1</d5p1:Name> <d5p1:Url>sample string 2</d5p1:Url> </d5p1:CdnImageReference> </CdnReferences> <DataChangedAt>2025-04-04T14:44:43.2565532+02:00</DataChangedAt> <Description>sample string 3</Description> <Extension>sample string 5</Extension> <Id>sample string 1</Id> <Name>sample string 4</Name> </Image> <Name>sample string 2</Name> <Offices> <AdvertisingUserOffice> <CustomerId>sample string 2</CustomerId> <Id>sample string 1</Id> <Telephone> <Personal xmlns:d7p1="http://schemas.datacontract.org/2004/07/Express.Connect.Api.Models"> <d7p1:Display>sample string 2</d7p1:Display> <d7p1:Msisdn>sample string 1</d7p1:Msisdn> </Personal> </Telephone> </AdvertisingUserOffice> <AdvertisingUserOffice> <CustomerId>sample string 2</CustomerId> <Id>sample string 1</Id> <Telephone> <Personal xmlns:d7p1="http://schemas.datacontract.org/2004/07/Express.Connect.Api.Models"> <d7p1:Display>sample string 2</d7p1:Display> <d7p1:Msisdn>sample string 1</d7p1:Msisdn> </Personal> </Telephone> </AdvertisingUserOffice> </Offices> <Reviews> <AdvertisingUserReview> <AuthorName>sample string 2</AuthorName> <Text>sample string 1</Text> </AdvertisingUserReview> <AdvertisingUserReview> <AuthorName>sample string 2</AuthorName> <Text>sample string 1</Text> </AdvertisingUserReview> </Reviews> <SpokenLanguages xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </SpokenLanguages> <Telephone> <Cell xmlns:d5p1="http://schemas.datacontract.org/2004/07/Express.Connect.Api.Models"> <d5p1:Display>sample string 2</d5p1:Display> <d5p1:Msisdn>sample string 1</d5p1:Msisdn> </Cell> <Public xmlns:d5p1="http://schemas.datacontract.org/2004/07/Express.Connect.Api.Models"> <d5p1:Display>sample string 2</d5p1:Display> <d5p1:Msisdn>sample string 1</d5p1:Msisdn> </Public> </Telephone> <Title>sample string 3</Title> </SecondaryAgent> </Extensions> <Files> <AdvertisingFile> <DataChangedAt>2025-04-04T14:44:43.2565532+02:00</DataChangedAt> <Extension>sample string 3</Extension> <Id>sample string 1</Id> <Name>sample string 2</Name> </AdvertisingFile> <AdvertisingFile> <DataChangedAt>2025-04-04T14:44:43.2565532+02:00</DataChangedAt> <Extension>sample string 3</Extension> <Id>sample string 1</Id> <Name>sample string 2</Name> </AdvertisingFile> </Files> <Id>sample string 1</Id> <Images> <AdvertisingImage> <Category> <Id xmlns="http://schemas.datacontract.org/2004/07/Express.Connect.Api.Models">sample string 1</Id> <Name xmlns="http://schemas.datacontract.org/2004/07/Express.Connect.Api.Models">sample string 2</Name> </Category> <CdnReferences xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api"> <d4p1:CdnImageReference> <d4p1:Name>sample string 1</d4p1:Name> <d4p1:Url>sample string 2</d4p1:Url> </d4p1:CdnImageReference> <d4p1:CdnImageReference> <d4p1:Name>sample string 1</d4p1:Name> <d4p1:Url>sample string 2</d4p1:Url> </d4p1:CdnImageReference> </CdnReferences> <DataChangedAt>2025-04-04T14:44:43.2565532+02:00</DataChangedAt> <Description>sample string 3</Description> <Extension>sample string 5</Extension> <Id>sample string 1</Id> <Name>sample string 4</Name> </AdvertisingImage> <AdvertisingImage> <Category> <Id xmlns="http://schemas.datacontract.org/2004/07/Express.Connect.Api.Models">sample string 1</Id> <Name xmlns="http://schemas.datacontract.org/2004/07/Express.Connect.Api.Models">sample string 2</Name> </Category> <CdnReferences xmlns:d4p1="http://schemas.datacontract.org/2004/07/Vitec.Housing.Connect.Api"> <d4p1:CdnImageReference> <d4p1:Name>sample string 1</d4p1:Name> <d4p1:Url>sample string 2</d4p1:Url> </d4p1:CdnImageReference> <d4p1:CdnImageReference> <d4p1:Name>sample string 1</d4p1:Name> <d4p1:Url>sample string 2</d4p1:Url> </d4p1:CdnImageReference> </CdnReferences> <DataChangedAt>2025-04-04T14:44:43.2565532+02:00</DataChangedAt> <Description>sample string 3</Description> <Extension>sample string 5</Extension> <Id>sample string 1</Id> <Name>sample string 4</Name> </AdvertisingImage> </Images> <Links> <AdvertisingLink> <Category> <Id xmlns="http://schemas.datacontract.org/2004/07/Express.Connect.Api.Models">sample string 1</Id> <Name xmlns="http://schemas.datacontract.org/2004/07/Express.Connect.Api.Models">sample string 2</Name> </Category> <Name>sample string 1</Name> <Url>sample string 2</Url> </AdvertisingLink> <AdvertisingLink> <Category> <Id xmlns="http://schemas.datacontract.org/2004/07/Express.Connect.Api.Models">sample string 1</Id> <Name xmlns="http://schemas.datacontract.org/2004/07/Express.Connect.Api.Models">sample string 2</Name> </Category> <Name>sample string 1</Name> <Url>sample string 2</Url> </AdvertisingLink> </Links> <Marketing> <IsNewHome>true</IsNewHome> <IsPreview>true</IsPreview> <IsPublished>true</IsPublished> <PublishedAt>2025-04-04T14:44:43.2565532+02:00</PublishedAt> <Viewing> <EmptyText>sample string 1</EmptyText> <VisibleLimit>1</VisibleLimit> </Viewing> </Marketing> <Name>sample string 2</Name> <Office> <CustomerId>sample string 2</CustomerId> <Id>sample string 1</Id> </Office> <PrimaryAgentId>sample string 3</PrimaryAgentId> <Producer> <Name>sample string 1</Name> </Producer> <Sale> <Description>sample string 2</Description> <Heading>sample string 4</Heading> <OtherInformation>sample string 5</OtherInformation> <Phrase>sample string 3</Phrase> <PossessionEstimation>sample string 6</PossessionEstimation> <ShortDescription>sample string 1</ShortDescription> <StartsAt>2025-04-04T14:44:43.2565532+02:00</StartsAt> </Sale> <SecondaryAgentId>sample string 4</SecondaryAgentId> <Status> <Id xmlns="http://schemas.datacontract.org/2004/07/Express.Connect.Api.Models">sample string 1</Id> <Name xmlns="http://schemas.datacontract.org/2004/07/Express.Connect.Api.Models">sample string 2</Name> </Status> <Surroundings> <Area>sample string 3</Area> <Communication>sample string 2</Communication> <Other>sample string 5</Other> <Parking>sample string 4</Parking> <Service>sample string 1</Service> </Surroundings> <Viewings> <AdvertisingViewing> <Comment>sample string 4</Comment> <EndsAt>2025-04-04T14:44:43.2565532+02:00</EndsAt> <Id>sample string 1</Id> <IsDigital>true</IsDigital> <IsProjectViewing>true</IsProjectViewing> <IsSelfRegistrationEnabled>true</IsSelfRegistrationEnabled> <StartsAt>2025-04-04T14:44:43.2565532+02:00</StartsAt> </AdvertisingViewing> <AdvertisingViewing> <Comment>sample string 4</Comment> <EndsAt>2025-04-04T14:44:43.2565532+02:00</EndsAt> <Id>sample string 1</Id> <IsDigital>true</IsDigital> <IsProjectViewing>true</IsProjectViewing> <IsSelfRegistrationEnabled>true</IsSelfRegistrationEnabled> <StartsAt>2025-04-04T14:44:43.2565532+02:00</StartsAt> </AdvertisingViewing> </Viewings> </AdvertisingProject>