Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

...

O .xml será exibido como no exemplo abaixo onde somente um imóvel está com o campo "Realiza integração com portais externos" marcado:

Bloco de código
<?xml version="1.0" encoding="utf-8"?>
<ListingDataFeed schemaLocation="http://www.vivareal.com/schemas/1.0/VRSync" xmlns="http://www.vivareal.com/schemas/1.0/VRSync" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Header />
    <Listings>
        <Listing>
            <ListingID>C1I1</ListingID>
            <Title>Descrição do Imóvel</Title>
            <TransactionType>For Rent</TransactionType>
            <Media>
                <Item medium="image" primary="True">http://localhost:8051/api/imb/v1/integracao//images/1/1/10.jpg</Item>
                <Item medium="image" primary="False">http://localhost:8051/api/imb/v1/integracao//images/1/1/11.jpg</Item>
            </Media>
            <Details>
                <RentalPrice currency="BRL">3400.00000000</RentalPrice>
                <LivingArea unit="square metres">100</LivingArea>
                <PropertyAdministrationFee>0</PropertyAdministrationFee>
                <YearlyTax>0</YearlyTax>
            </Details>
            <Location>
                <Country abbreviation="BR">Brasil</Country>
                <State abbreviation="MG">Minas Gerais</State>
                <City>Belo Horizonte</City>
                <Neighborhood>Santa Lúcia</Neighborhood>
                <Address>Endereço</Address>
                <PostalCode>30350-300</PostalCode>
                <StreetNumber>1</StreetNumber>
            </Location>
            <ContactInfo>
                <Name>Nome</Name>
                <Email>[email protected]</Email>
                <Telephone>31-21229000</Telephone>
                <Location>
                    <Country abbreviation="Br">Brasil</Country>
                    <State abbreviation="MG">MG</State>
                    <Neighborhood>SANTA LÚCIA</Neighborhood>
                    <Address>AVENIDA RAJA GABAGLIA,2664</Address>
                    <PostalCode>30350-540</PostalCode>
                </Location>
            </ContactInfo>
        </Listing>
    </Listings>
</ListingDataFeed>

...