post https://sandbox-api.hostfully.com/v2/propertiesql
GraphQL endpoint for properties
GraphQL schema:
schema {
query: propertyQuery
}
type PropertyBedTypesTO {
airMattress: Int
bunkBed: Int
crib: Int
doubleBed: Int
floorMattress: Int
futonBed: Int
hammockBed: Int
kingBed: Int
queenBed: Int
singleBed: Int
sofaBed: Int
toddlerBed: Int
waterBed: Int
}
type PropertyExternalCalendarTO {
name: String
source: String
url: String
}
type PropertyGraphQLTO {
UID: String
acceptBookingRequest: Boolean
acceptInstantBook: Boolean
address1: String
address2: String
airBnBID: String
areaSize: Int
areaSizeUnit: AreaSizeUnitType
availabilityCalendarUrl: String
baseDailyRate: Float
baseGuests: Int
bathrooms: String
bedCount: Int
bedTypes: PropertyBedTypesTO
bedrooms: Int
bookingLeadTime: Int
bookingWindow: Int
bookingWindowAfterCheckout: Int
cancellationPolicy: String
city: String
cleaningFeeAmount: Float
countryCode: CountryCode
createdDate: String
currency: Currency
currencySymbol: String
defaultCheckinTime: Int
defaultCheckoutTime: Int
externalCalendars: [PropertyExternalCalendarTO]
externalID: String
extraGuestFee: Float
flipkeyID: String
floor: Int
fullPaymentTiming: Int
guideBookUrl: String
homeAwayID: String
isActive: Boolean
latitude: Float
longitude: Float
maximumGuests: Int
maximumStay: Int
minimumStay: Int
minimumWeekendStay: Int
name: String
panoramicDataUrl: String
percentUponReservation: Int
photos: [PropertyPhotoTO]
picture: String
postalCode: String
pricingRules: PropertyPricingRulesTO
propertyURL: String
rentalCondition: String
rentalConditions: [PropertyRentalConditionTO]
rentalLicenseNumber: String
rentalLicenseNumberExpirationDate: String
reviews: PropertyReviewTO
securityDepositAmount: Float
state: String
taxationRate: Float
turnOverDays: Int
type: Type
webLink: String
weekEndRatePercentAdjustment: Float
wifiNetwork: String
wifiPassword: String
}
type PropertyPhotoTO {
description: String
displayOrder: Int
uid: String
url: String
}
type PropertyPricingRulesTO {
decreaseRate: Int
decreaseRateHigherBound: Int
increaseRate: Int
increaseRateLowerBound: Int
}
type PropertyRentalConditionTO {
description: String
}
type PropertyReviewTO {
average: Float
total: Long
}
type propertyQuery {
properties(agencyUid: String): [PropertyGraphQLTO]
property(uid: String): PropertyGraphQLTO
}
enum AreaSizeUnitType {
"SQUARE_FEET"
SQUARE_FEET
"SQUARE_METERS"
SQUARE_METERS
}
enum CountryCode {
"AD"
AD
"AE"
AE
"AF"
AF
"AG"
AG
"AI"
AI
"AL"
AL
"AM"
AM
"AO"
AO
"AR"
AR
"AS"
AS
"AT"
AT
"AU"
AU
"AW"
AW
"AZ"
AZ
"BA"
BA
"BB"
BB
"BD"
BD
"BE"
BE
"BF"
BF
"BG"
BG
"BH"
BH
"BI"
BI
"BJ"
BJ
"BM"
BM
"BN"
BN
"BO"
BO
"BR"
BR
"BS"
BS
"BT"
BT
"BW"
BW
"BY"
BY
"BZ"
BZ
"CA"
CA
"CC"
CC
"CF"
CF
"CG"
CG
"CH"
CH
"CI"
CI
"CK"
CK
"CL"
CL
"CM"
CM
"CN"
CN
"CO"
CO
"CR"
CR
"CU"
CU
"CV"
CV
"CW"
CW
"CX"
CX
"CY"
CY
"CZ"
CZ
"DE"
DE
"DJ"
DJ
"DK"
DK
"DM"
DM
"DO"
DO
"DZ"
DZ
"EC"
EC
"EE"
EE
"EG"
EG
"EH"
EH
"ER"
ER
"ES"
ES
"ET"
ET
"FI"
FI
"FJ"
FJ
"FM"
FM
"FR"
FR
"GA"
GA
"GB"
GB
"GD"
GD
"GE"
GE
"GF"
GF
"GH"
GH
"GI"
GI
"GL"
GL
"GM"
GM
"GN"
GN
"GQ"
GQ
"GR"
GR
"GT"
GT
"GU"
GU
"GW"
GW
"GY"
GY
"HK"
HK
"HN"
HN
"HR"
HR
"HT"
HT
"HU"
HU
"ID"
ID
"IE"
IE
"IL"
IL
"IM"
IM
"IN"
IN
"IQ"
IQ
"IR"
IR
"IS"
IS
"IT"
IT
"JE"
JE
"JM"
JM
"JO"
JO
"JP"
JP
"KE"
KE
"KG"
KG
"KH"
KH
"KI"
KI
"KM"
K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TIPI
"TOWNHOUSE"
TOWNHOUSE
"TRAIN"
TRAIN
"TREEHOUSE"
TREEHOUSE
"TRIPLEX"
TRIPLEX
"VILLA"
VILLA
"YURT"
YURT
}
"Long type"
scalar Long