Astrodoma documentation

1. Data importation to Astrodoma

Importing data is available only in XML format.
Important! XML must have $_GET["page"] parameter and 10 properties per page.
Link example http://yourDomainName.com/xml.php?page=1

Example you can download here: download

2. Fields

  • <action>
    • Required: true
    • Type: varchar
    • Value: add, update, sold or deleted
  • <ref>
    • Required: true
    • Type: varchar
    • ID or REF (must be unique in your system)
  • <date>
    • Required: true
    • Type: date
  • <expires>
    • Required: false
    • Type: date
  • <country>
    • Required: true
    • Type: varchar
  • <province>
    • Required: false
    • Type: varchar
  • <town>
    • Required: true
    • Type: varchar
  • <postal_code>
    • Required: false
    • Type: number
    • Strongly recommended
  • <street_name>
    • Required: false
    • Type: varchar
    • Recommended
  • <house_number>
    • Required: false
    • Type: number
  • <flat_number>
    • Required: false
    • Type: number
  • <age_of_property>
    • Required: false
    • Type: varchar
  • <floor>
    • Required: true
    • Type: integer
    • See available floors: click here.
  • <rooms>
    • Required: true
    • Type: integer
  • <bedrooms>
    • Required: true
    • Type: integer
  • <bathrooms>
    • Required: true
    • Type: integer
  • <youtube>
    • Required: false
    • Type: varchar
    • Full link to youtube video.
  • <price>
    • Required: true
    • Type: decimal
  • <currency>
    • Required: true
    • Type: varchar
    • Only EUR for now.
  • <type>
    • Required: true
    • Type: varchar
    • See available property types: click here.
  • <astrotype>
    • Required: true
    • Type: integer
    • See available astrodoma types: click here.
  • <buildingType>
    • Required: false
    • Type: integer
    • See available building types: click here.
  • <condition>
    • Required: true
    • Type: integer
    • See available conditions: click here.
  • <buildsize>
    • Required: false
    • Type: decimal
  • <plotsize>
    • Required: false
    • Type: decimal
  • <description>
    • Required: false
    • Type: text
  • <pool>
    • Required: false
    • Type: boolean
  • <seaView>
    • Required: false
    • Type: boolean
  • <beachFront>
    • Required: false
    • Type: boolean
  • <garden>
    • Required: false
    • Type: boolean
  • <garage>
    • Required: false
    • Type: integer
  • <commercialUse>
    • Required: false
    • Type: boolean
  • <images>
    • Required: false
    • Strongly recommended
    • Images loop with <image> tags inside.

3. Property types

Currently available property types

ID Name
1 Apartment
3 Penthouse
5 House
7 Building plot
8 Land
9 Farm
10 Ruin
11 Garage
12 Other
13 Business
14 Industrial
15 Retail
16 Building
17 Office
19 Houseboat
20 Leasehold
21 Townhouse
22 Loft
23 Palace / castle
24 Duplex
25 Cottage
26 Mobile home

4. Astrodoma type

Available astrodoma types

ID Name
1 Residential
2 Commercial
3 New development
4 Rent

4. Conditions

Currently available condition types

ID Name
1 new
2 good
3 renovated
4 need renovation
5 need restoration

5. Floors

Currently available floors

ID Name
1 Basement
2 Ground
3 Top
4 Attic
5 Floors 1 - 50+

6. Building types

Available building types

ID Name
1 concrete
2 stone
3 bricks
4 wood
5 other