Properties Mutation
Create or update properties in EverReal
Mutation Types
type Mutation {
upsertProperty(property: PropertyInput!)
deleteProperty(externalId: String!)
}Schema Definition
input PropertyInput {
meta: MetaInformation!
address: AddressInput!
id: String #you can pass the id to change the externalId of the property
externalPropertyId: String! #externalId by which the property will be identified
ownerId: String #when ownershipType=INDIVIDUAL you should either pass externalOwnerId or ownerId where ownerId is Everreal generated Id
externalOwnerId: String #when ownershipType=INDIVIDUAL you should either pass externalOwnerId or ownerId where ownerId is Everreal generated I
name: String!
type: PROPERTY_TYPE!
subtype: PROPERTY_TYPE!
category: PROPERTY_CATEGORY!
noOfStories: Int # The total number of floors of the building
yearBuilt: Int
ownershipType: PROPERTY_OWNERSHIP_TYPE! #when passed as MULTIPLE you dont need to pass ownerId or externalOwnerId
responsibilityType: PROPERTY_RESPONSIBILITY_TYPE
responsibleUserId: String
propertyGroupId: String
externalPropertyGroupId: String
descriptions: PropertyDescriptionInput
}
input AddressInput {
streetName: String!
streetNumber: String!
zipCode: String!
city: String!
country: String!
location: GeoLocationInput
placeId: String
}
input PropertyDescriptionInput {
object: String
amenities: String
location: String
other: String
}
input GeoLocationInput {
lat: Float!
lng: Float!
}
input MetaInformation {
source: String!
}
Enum
Default
Possible Values
Last updated