EverReal
  • Introduction
  • Authentication
    • API ClientID and ClientSecret
    • Authentication limitations
  • Rate limiting
  • Helpers
    • Errors
    • Pagination
    • Formatting
  • How to guide
    • EverReal Data Import Process
      • Connect an Integration
      • Import Mappers
      • Ideal CSV Structure
      • Debug Imports
      • FAQ
    • Data import via GraphQL
  • Endpoints
    • Account users / members
    • Owners
      • Owners Query
      • Owners Mutation
    • Property Groups
      • Property Groups Query
      • Property Group Mutation
    • Properties
      • Properties Query
      • Properties Mutation
    • Units
      • Units Query
      • Units Mutation
    • Listing
      • Listing Query
      • Listing Mutation
    • Candidates
      • Candidates Query
      • Candidate Mutation
    • Messages
    • Contact Activites
    • Tenants
      • Tenants Query
      • Tenant Mutation
    • Contract
      • Contract Query
      • Contract Mutation
    • Contacts
      • Contact Mutation
      • Contact Query
    • Document management
      • Document management
      • Simple file upload
    • Tasks
      • Tasks Query
    • Protocols
      • Protocol Query
  • Webhooks
    • Owner Events
      • OWNER_CREATED
      • OWNER_UPDATED
      • OWNER_DELETED
    • Property Events
      • PROPERTY_CREATED
      • PROPERTY_UPDATED
      • PROPERTY_DELETED
    • Unit Events
      • UNIT_CREATED
      • UNIT_UPDATED
      • UNIT_DELETED
    • Listing Events
      • LISTING_ACTIVATED
      • LISTING_ARCHIVED
      • LISTING_UPDATED
      • LISTING_DEACTIVATED
      • LISTING_CREATED
      • LISTING_PUBLISHED_TO_CHANNEL
      • LISTING_UNPUBLISHED_FROM_CHANNEL
    • Candidates Events
      • CANDIDATE_PARSED
      • LISTING_CANDIDATE_APPLIED
    • Listing Contracting Events
      • LISTING_CONTRACT_FLOW_SIGNED
      • LISTING_CONTRACT_FLOW_PARTIALLY_SIGNED
      • LISTING_CONTRACT_FLOW_WITHDRAWN
      • LISTING_CONTRACT_FLOW_STARTED
    • Listing Scheduling Events
      • LISTING_CANDIDATE_SCHEDULE_TIMESLOT_BOOKING_REMOVED_CANDIDATE
      • LISTING_CANDIDATE_SCHEDULE_TIMESLOT_BOOKING_REMOVED_ADMIN
      • LISTING_CANDIDATE_SCHEDULE_TIMESLOT_BOOKED_CANDIDATE
      • LISTING_CANDIDATE_SCHEDULE_TIMESLOT_BOOKED_ADMIN
      • LISTING_CANDIDATE_SCHEDULE_NEW_TIMESLOTS_REQUESTED
      • LISTING_CANDIDATE_SCHEDULE_INVITED_VIEWING
    • Protocol Events
      • PROTOCOL_COMPLETED
  • Change log
    • Releases
      • Introducing Mappers
      • Enhancements for GraphQL
      • Enhancements for Querying
      • Enhancements for Webhooks
    • Upcoming
      • Introduced Querying Protocol in GraphQL
Powered by GitBook
On this page
  • Introduction
  • Property Group Query

Was this helpful?

  1. Endpoints
  2. Properties

Properties Query

Get list of properties

Introduction

Our property query will get you the list of properties from the respective company. We provides ability to filter the property query by externalId, propertyId, ownerId, propertyGroupId and fullSearch over property name. Please make sure the paging option is used to fetch more items.

Property Group Query

To query a property group from Everreal use properties query

type Query {
  properties(input: PropertiesFilterListPaging): [Property]
}

Schema

input PropertiesFilterListPaging {
  filter: PropertiesFilter
  paging: GraphPaging
  sort: GraphSorting
}

input PropertiesFilter {
  id: String
  companyId: String
  propertyId: String @deprecated(reason: "propertyId is deprecated. Use id instead.")
  externalId: String
  propertyGroupId: String
  ownerId: String
  fullSearch: String
  updatedAt: IDateRange
}

input IDateRange {
  from: String
  to: String
}

input GraphPaging {
  skip: Int
  take: Int
}
input GraphSorting {
  fieldName: String
  direction: String
}

type Property {
  id: String
  objectId: String
  externalId: String
  name: String
  category: String
  subtype: String
  type: String
  ownershipType: String
  fullAddress: String
  ownerId: String
  yearBuilt: Int
  noOfStories: Int
  createdAt: DateTime
  updatedAt: DateTime
  company: Company
  address: Address
  descriptions: PropertyDescription
  owner: Owner
  listings: [Listing]
  units: [Unit]
  group: PropertyGroup
  responsibilityType: PROPERTY_RESPONSIBILITY_TYPE
  responsibleUserId: String
  responsibleUser: ResponsibleUser
}

type ResponsibleUser {
  id: String
  email: String
  firstName: String
  lastName: String
}

type Company {
  id: String
  name: String
  partnerId: String
  listings: [Listing]
}

type Address {
  street: String
  number: String
  zip: String
  city: String
  country: String
  location: GeoLocation
}

type Listing {
  id: String
  title: String
  type: String
  companyId: String
  listingResponsible: User
  contractDetails: ListingContractDetails
  coverPicture: IFile
  pictures: [IFile]
  documents: [IFile]
  floorplans: [IFile]
  company: Company
  property: Property
  unit: Unit
  createdAt: DateTime
  updatedAt: DateTime
}

type Unit {
  id: String
  objectId: String
  name: String
  category: String
  type: String
  subtype: String
  leasingStatuses: UnitLeasingStatuses
  availability: [Availability]
  leasingStatusEnum: String
  leasingStatusesEnum: [String]
  floorNumber: Float
  surface: Float
  livingSurface: Float
  hasMainStorage: Boolean
  rooms: UnitRooms
  owner: Owner
  property: Property
  createdAt: DateTime
  updatedAt: DateTime
}

type PropertyDescription {
  object: String
  amenities: String
  location: String
  other: String
}

Example for property Query

{
  properties(
    input: {
      filter: { externalId: "IE-U-32" }
      paging: { skip: 0, take: 10 }
    }
  ) {
    id
    name
    responsibleUser {
      id
      email
    }
    objectId
    category
    subtype
    type
    ownerId
    yearBuilt
    noOfStories
    units {
      id
    }
    group {
      name
    }
    responsibilityType
    responsibleUser {
      email
    }
  }
}
PreviousPropertiesNextProperties Mutation

Last updated 1 year ago

Was this helpful?