OBJECT
Query
link GraphQL Schema definition
- type Query {
- # get all clients on our system
- #
- # Arguments
- # statuses: filter by client statuses
- # kinds: filter by client types
- # filter: additional filters defined a ClientFilter
- (
- ClientStatus], : [
- ClientType], : [
- ClientFilter :
- ): [Client]
- # determine if a user is the assigned agent for a prospect
- #
- # Arguments
- # userId: ID of user
- # prospectId: ID of prospect
- # clientName: name of client
- (
- Int!, :
- Int!, :
- String! :
- ): Boolean
- # determine if a prospect is a prospect for a given client
- #
- # Arguments
- # clientId: ID of client
- # prospectId: ID of prospect
- Int!, : Int!): Boolean ( :
- # retrieve a Client type by ID
- #
- # Arguments
- # clientId: ID of client
- Int): Client ( :
- # Get all plans for a given client.
- #
- # Arguments
- # clientName: name of client
- # buildYourLot: is client a build-on-your-lot builder
- # active: retrieve only active plans
- String!, : Boolean, : Boolean): [Plan] ( :
- # Get a list of all agents for the client
- #
- # Arguments
- # clientName: name of client
- # communityId: optional community ID to filter list of agents
- # returned
- # communityIds: optional list of community IDs to filter list of
- # agents returned
- (
- String!, :
- Int, :
- Int!] : [
- ): [Agent]
- # Get a list of anewgo floorplan tags.
- AnewgoFloorplanTag] : [
- # Get all floorplans for an inventory home
- #
- # Arguments
- # clientName: name of client
- # inventoryId: ID of inventory of home
- (
- String!, :
- Int! :
- ): [Floorplan]
- # Get a list of Plan/Elevation that can be assigned on a given lot
- #
- # Arguments
- # clientName: name of client
- # lotId: ID of lot
- String!, : Int!): [PlanElevation] ( :
- # Get list of color schemes assignable to homes built on a lot
- #
- # Arguments
- # clientName: name of client
- # lotId: ID of lot
- String!, : Int!): [Scheme] ( :
- # get a list of all BlendElements
- #
- # Arguments
- # clientName: optional client name to filter elements by client
- String): [BlendElement] ( :
- # retrieve a JSON structure of app customizations for a client
- #
- # Arguments
- # clientName: name of client
- String!): JSON ( :
- # get a MetroInfo type for a given community
- #
- # Arguments
- # clientName: name of client
- # communityId: ID of community
- (
- String!, :
- Int! :
- ): MetroInfo
- # get a MetroInfo type for a given metro
- #
- # Arguments
- # metroId: ID of metro
- Int!): MetroInfo ( :
- # get app customizations for a given client
- #
- # Arguments
- # clientName: name of client
- String): [Customization] ( :
- # get Client type by name
- #
- # Arguments
- # clientName: name of client
- String): Client ( :
- # get all collections
- #
- # Arguments
- # clientName: name of client
- String!): [Collection] ( :
- # Get a Color type by id
- #
- # Arguments
- # colorId: ID of a color
- Int!): Color ( :
- # Get all communities in a client
- #
- # Arguments
- # clientName: name of client
- # active: set to true to filter results to active communities
- # only
- # bonafide: set to true to filter results to bonafide communities
- # def: set to false (required)
- (
- String!, :
- Boolean, :
- Boolean, :
- Boolean :
- ): [Community]
- # Get a single Community type by name or a list of Community type by IDs
- #
- # Arguments
- # clientName: name of client
- # communityName: optional community name
- # communityIds: optional list of community IDs
- (
- String!, :
- String, :
- Int]! : [
- ): [Community]
- # Get a Community by ID
- #
- # Arguments
- # communityId: ID of community
- # clientName: name of client
- # planId: optional ID of plan
- Int!, : String!, : Int): Community ( :
- # Get a Community by name
- #
- # Arguments
- # clientName: name of client
- # communityName: name of community
- String!, : String!): Community ( :
- # Get a Community type that has been designated as a build_your_lot community
- #
- # Arguments
- # clientName: name of client
- String!): Community ( :
- # get a single community POI category
- #
- # Arguments
- # clientName:
- # poiCategoryId:
- (
- String!, :
- Int! :
- ): CommunityPoiCategory
- # Get the salesAppConfig for a given community
- #
- # Arguments
- # clientName: name of client
- # communityId: ID of community
- (
- String!, :
- Int! :
- ): String!
- # get a specific app customization value
- #
- # Arguments
- # clientName: name of client
- # name: name of customization label
- String, : String): Customization ( :
- # get the custom overlays for a given clientName from client's custom_overlay
- # table
- #
- # Arguments
- # clientName:
- String!): [Texture] ( :
- # Arguments
- # clientName:
- String!): Community ( :
- # get elevation
- #
- # Arguments
- # clientName: name of client
- # elevationId: ID of elevation
- # planId: optional plan ID
- # communityId: optional community ID
- (
- String!, :
- Int!, :
- Int, :
- Int :
- ): Elevation
- # get elevations
- # Each resulting elevation corresponds to each one of the assignment inputs,
- # queried by
- # the assignment's communityId, planId, and elevationId
- #
- # Arguments
- # clientName: name of client
- # assignments:
- String!, : [ElevationAssignment]): [Elevation] ( :
- # get elevation by name
- # only community and plan are name-based, elevation is still provided as ID
- #
- # Arguments
- # clientName:
- # elevationId:
- # planName:
- # communityName:
- (
- String!, :
- Int!, :
- String!, :
- String! :
- ): Elevation
- # Retrieve excluded Plan/Elevation for a given lot
- #
- # Arguments
- # clientName: name of client
- # lotId: ID of lot
- (
- String!, :
- Int! :
- ): [PlanElevation]
- # Retrieve excluded schemes for a single lot.
- #
- # Arguments
- # clientName: name of client
- # lotId: ID of lot
- String!, : Int!): [Scheme] ( :
- # Get Plan Tags
- AnewgoPlanTag] : [
- # Get Client specific Plan Tags
- #
- # Arguments
- # clientName: name of Client
- String!): [ClientPlanTag] ( :
- # Get all categories for plan tags
- PlanTagCategory] : [
- # Get all client-specific categories used by plan tags
- #
- # Arguments
- # clientName: name of client
- String!): [PlanTagCategory] ( :
- # Get Plan Tags by Category ID
- #
- # Arguments
- # clientName: name of clienr
- # categoryId: ID of category
- String!, : Int!): [Plan] ( :
- # Get tags assigned to a plan
- #
- # Arguments
- # clientName: name of Client
- # planId: ID of plan
- String!, : Int!): [PlanTagElevation] ( :
- # Retrieve plans that match a Plan Tag
- #
- # Arguments
- # clientName: name of client
- # tagId: ID of Plan Tag
- String!, : Int!): [Plan] ( :
- # get a Floorplan Type
- #
- # Arguments
- # clientName: name of client
- # floorplanId: ID of floorplan
- # communityId: optional community ID
- String!, : Int!, : Int): Floorplan ( :
- # get floorplan alternate
- #
- # Arguments
- # clientName:
- # floorplanAltId:
- String!, : Int!): FloorplanAlternate ( :
- # get floorplans for a given elevation in a community
- #
- # Arguments
- # clientName: name of client
- # communityName: name of community
- # planName: name of plan
- # elevationCaption: caption value for an elevation
- (
- String!, :
- String!, :
- String!, :
- String! :
- ): ElevationFloorplans
- # get floorplans for a given elevation in a community using IDs
- # this is preferred over the version that provides elevationCaption as an arg
- # since some builders will not have
- # elevation caption specified if a plan only has 1 elevation
- #
- # Arguments
- # clientName: name of client
- # communityId: ID of community
- # planId: ID of plan
- # elevationId: ID of elevation
- (
- String!, :
- Int!, :
- Int!, :
- Int! :
- ): ElevationFloorplans
- # get floorplan group
- #
- # Arguments
- # clientName:
- # fpGroupId:
- String!, : Int!): FloorplanGroup ( :
- # get a community photo gallery
- #
- # Arguments
- # clientName: name of client
- # galleryId: ID of gallery
- String!, : Int!): CommunityGallery ( :
- # get a single community highlight photos
- #
- # Arguments
- # clientName: name of client
- # highlightId: ID of highlight content
- String!, : Int!): CommunityHighlight ( :
- # get a single home category
- #
- # Arguments
- # categoryId: ID of the category
- Int!): HomeCategory ( :
- # get all home categories in the system.
- HomeCategory] : [
- # get homesites for a given community. A Homesite type combines data in a Lot
- # type and Inventory type in a single flat structure.
- #
- # Arguments
- # clientName: name of Client
- # communityId: ID of community
- # quickMoveInOnly: set to true for quick-move-in homes only
- String!, : Int!, : Boolean): [Homesite] ( :
- # Get all home styles in the system.
- HomeStyle] : [
- # Get a Siteplan Hotspot
- #
- # Arguments
- # clientName: name of client
- # siteplanHotspotId: ID of the hotspot
- String!, : Int!): SiteplanHotspot! ( :
- # Get included floorplans for a given inventory
- #
- # Arguments
- # clientName: name of client
- # inventoryId: ID of the Inventory
- (
- String!, :
- Int! :
- ): [Floorplan]
- # Retrieve a list of interiors, filtering by all specified fields.
- #
- # Arguments
- # clientName: name of client
- # interior: an object with parameter specifying the interior
- String!, : InteriorInput): [Interior] ( :
- # Retrieve a list of all interiors
- #
- # Arguments
- # clientName: name of client
- # interiorId: an optional interior ID
- String!, : Int): [InteriorAssignment] ( :
- # Retrieve interiorAssigments by CommunityId
- #
- # Arguments
- # clientName: name of Client
- # communityId: ID of community
- (
- String!, :
- Int :
- ): [InteriorAssignment]
- # Retrieve a single interior package.
- #
- # Arguments
- # clientName: name of client
- # currentInteriorPackageId: package ID
- (
- String!, :
- Int! :
- ): InteriorPackage
- # Retrieve members of an interior package by ID
- #
- # Arguments
- # clientName: name of client
- # currentInteriorPackageId: package ID
- (
- String!, :
- Int! :
- ): [InteriorPackageMember]
- # Retrieve all package member elements
- #
- # Arguments
- # clientName: name of client
- # currentInteriorPackageId: package ID
- # interiorId: interior ID
- (
- String!, :
- Int!, :
- Int! :
- ): [InteriorPackageMemberElement]
- # Retrieve a list of interior packages.
- #
- # Arguments
- # clientName: name of client
- # interiorId: interior ID
- String, : Int): [InteriorPackage] ( :
- # Retrieve a list of inventory homes
- #
- # Arguments
- # clientName: name of Client
- # inventoryIds: list of inventory IDs
- String!, : [Int!]!): [Inventory] ( :
- # Retrieve an inventory
- #
- # Arguments
- # clientName: name of client
- # lotId: optional ID for the lot
- # inventoryId: optional ID for the inventory
- String!, : Int, : Int): Inventory ( :
- # Retrieve lots with inventory homes
- #
- # Arguments
- # clientName: name of client
- # communityIds: list of community IDs
- String!, : [Int]!): [Lot] ( :
- # Retrieve libraries by blendMode
- #
- # Arguments
- # blendMode:
- BlendModeTypes): [Library] ( :
- # Retrieve lot
- #
- # Arguments
- # clientName: name of client
- # lotId: lot ID
- # inventoryId: inventory ID
- String!, : Int, : Int): Lot ( :
- # Retrieve a master development community
- #
- # Arguments
- # clientName: name of client
- # masterCommunityId: ID of the master development community
- # masterCommunityName: Name of the master development community
- (
- String!, :
- Int, :
- String :
- ): MasterCommunity
- # Retrieve all master development communities
- #
- # Arguments
- # clientName: name of client
- String!): [MasterCommunity] ( :
- # Retrieve all sub-communities in a master development community
- #
- # Arguments
- # clientName: name of client
- # masterCommunityId: ID of master development community
- String!, : Int!): [Community] ( :
- # Get the salesAppConfig for a given master community
- #
- # Arguments
- # clientName: name of client
- # masterCommunityId: ID of master development community
- (
- String!, :
- Int! :
- ): String!
- # get a list of all materials used in a client
- #
- # Arguments
- # clientName: name of client
- String!): [BlendElement] ( :
- # get a list of all metros
- #
- # Arguments
- # clientName: optional client name for retrieving metros filtered
- # by client
- String): [MetroInfo] ( :
- # get all Metros by client, Cities by metroId, and Communities by cityId
- #
- # Arguments
- # clientName:
- String!): [MetroInfo] ( :
- # checks if given client is an MLS Service paid client
- #
- # Arguments
- # clientName:
- String!): Boolean ( :
- # get a single Palette
- #
- # Arguments
- # clientName:
- # paletteId:
- String!, : Int): Palette ( :
- # get all Palettes by client and (optionally) communityId
- #
- # Arguments
- # clientName:
- # communityId:
- # elevationId:
- String!, : Int, : Int): [Palette] ( :
- # get plan
- #
- # Arguments
- # clientName: name of client
- # communityId: if provided, select elevations for plan filtered
- # by this community
- # planId: ID of plan
- # defaultCommunity: set to false
- (
- String!, :
- Int, :
- Int!, :
- Boolean :
- ): Plan
- # get plan
- #
- # Arguments
- # clientName: name of client
- # communityName: name of community
- # planName: name of plan
- String!, : String!, : String!): Plan ( :
- # get the plan exterior photos for a specific client and plan
- #
- # Arguments
- # clientName: name of client
- # planId: ID of plan
- String!, : Int!): [Photo] ( :
- # get the plan interior photos for a specific client and plan
- #
- # Arguments
- # clientName: name of client
- # planId: ID of plan
- String!, : Int!): [Photo] ( :
- # Get a list of plans.
- #
- # Arguments
- # clientName: name of client
- # communityId: ID of community, if provided return only plans in
- # the community
- String!, : Int): [Plan] ( :
- # Get a list of paginated plans
- #
- # Arguments
- # clientName: name of client
- # communityIds: list of communityIds to filter plans
- # limit: number of plans to return
- # offset: current cursor position
- # sortBy: value to sort plans by, PRICE, NAME
- # sortOrder: order, ASC, DESC
- # filter:
- (
- String!, :
- Int!], : [
- Int!, :
- Int!, :
- String!, :
- String!, :
- SpecFilter :
- ): PaginatedPlans
- # Get a list of paginated lots
- #
- # Arguments
- # clientName: name of client
- # communityIds: list of communities to filter plans
- # limit: number of inventory homes to return
- # offset: current cursor position,
- # sortBy: value to sort plans by, PRICE, NAME
- # filter: optional specification
- (
- String!, :
- Int]!, : [
- Int!, :
- Int!, :
- String!, :
- SpecFilter :
- ): PaginatedLots
- # get paginated metro
- #
- # Arguments
- # limit: number of Metro objects to return
- # offset: the current cursor position
- # sortBy: NAME
- # order: order for sort, ASC, DESC
- # filters:
- (
- Int!, :
- Int!, :
- String!, :
- String!, :
- JSON :
- ): PaginatedMetros
- # get paginated cities
- #
- # Arguments
- # limit: number of City objects to return
- # offset: current cursor position
- # sortBy: valid values NAME
- # order: order for sort, ASC, DESC
- # filters:
- (
- Int!, :
- Int!, :
- String!, :
- String!, :
- JSON :
- ): PaginatedCities
- # Get a list of plans by community ids
- # The list of plans returned is NOT deduped
- #
- # Arguments
- # clientName: name of client
- # communityIds: list of community IDs
- String!, : [Int]!): [Plan] ( :
- # Arguments
- # clientName:
- # communityIds:
- (
- String!, :
- Int]! : [
- ): [ClientPlanTag]
- # get a PM Floorplan
- #
- # Arguments
- # clientName:
- # pmFloorplanId:
- String!, : Int!): PMFloorplan ( :
- # get prospect data by email
- #
- # Arguments
- # clientName: name of client
- # email: email address of prospect
- String!, : String!): Prospect ( :
- # get prospect activities of prospect
- #
- # Arguments
- # clientName: name of client
- # email: email address of prospect
- String!, : String!): JSON ( :
- # get base information of a prospect
- #
- # Arguments
- # email:
- String!): ProspectBaseInfo ( :
- # get appointment requests made by a prospect
- #
- # Arguments
- # clientName: client name
- # prospectId: ID of prospect
- # startDate: start date of a range of date to search
- # endDate: end date of a range of date to search
- # inventoryId: inventory ID
- (
- String!, :
- Int, :
- Date, :
- Date, :
- Int :
- ): [ProspectSgtData]
- # get a particular color scheme
- #
- # Arguments
- # clientName:
- # communityId:
- # planId:
- # schemeId:
- String!, : Int, : Int, : Int!): [Scheme] ( :
- # get all schemes for a client
- #
- # Arguments
- # clientName:
- # communityId:
- String!, : Int): [Scheme] ( :
- # look for cities given a query string
- #
- # Arguments
- # queryString:
- String!): [CityInfo] ( :
- # get a siteplan
- #
- # Arguments
- # clientName: name of client
- # communityId: community ID
- # communityName: community name
- # masterCommunityId: master development community ID
- # siteplanId: siteplan ID
- # siteplanName: siteplan Name
- # filter: other filter
- # active: set to true to retrieve active siteplan
- (
- String!, :
- Int, :
- String, :
- Int, :
- Int, :
- String, :
- CommonQueryFilter, :
- Boolean :
- ): Siteplan
- # Get the siteplans for a single community.
- # Optionally get all lots with the site plan.
- # subDivison - identifies the subdivision to retrieve the siteplan from
- #
- # Arguments
- # clientName:
- # communityId:
- # master:
- # active:
- (
- String!, :
- Int!, :
- Boolean, :
- Boolean :
- ): [Siteplan!]!
- # Front-end apps will not always have the communityId
- #
- # Arguments
- # clientName:
- # communityName:
- String!, : String!): Siteplan ( :
- # Get all SgtVendors, optionally filtered by given client
- #
- # Arguments
- # clientName:
- String): [SgtVendor] ( :
- # Get SgtVendor by id
- #
- # Arguments
- # sgtVendorId:
- Int!): SgtVendor ( :
- # get the standard features categories for the given clientName
- #
- # Arguments
- # clientName:
- String!): [StdFeatureCategory] ( :
- # get the standard features for a given clientName
- #
- # Arguments
- # clientName:
- # sortByName:
- String!, : Boolean): [StdFeature] ( :
- # get all standard features for a given community
- #
- # Arguments
- # clientName: name of client
- # communityId: community ID
- String!, : Int): [StdFeatureAssignment] ( :
- # get all community tags
- #
- # Arguments
- # clientName:
- String!): [CommunityTagCategory] ( :
- # get all community tags
- #
- # Arguments
- # clientName:
- # sortByName:
- String!, : Boolean): [CommunityTag] ( :
- # get community tags assigned to a community
- #
- # Arguments
- # clientName: name of client
- # communityId: community ID
- (
- String!, :
- Int :
- ): [CommunityTagAssignment]
- # get all builder tag categories
- BuilderTagCategory] : [
- # Arguments
- # sortByName:
- Boolean): [BuilderTag] ( :
- # get tags for a given builder client
- #
- # Arguments
- # clientName: name of client
- String!): [BuilderTagAssignment] ( :
- # Get a list of stories.
- #
- # Arguments
- # clientName:
- String!): [Story] ( :
- String :
- # Get all the textures for brick library or stone library
- #
- # Arguments
- # library:
- # vendorId:
- TextureLibraryType!, : Int!): [Texture] ( :
- # Get specific vendor for color, brick, or stone library. If you provide one or
- # more vendor IDs
- # you will receive only the specified vendors. If you provide no vendor IDs you
- # will
- # receive all vendors. If you provide an invalid ID you will receive an empty
- # array.
- #
- # Arguments
- # library:
- # vendorIds:
- LibraryType!, : [Int]): [LibraryVendor] ( :
- # Get a texture by library and id
- #
- # Arguments
- # clientName:
- # library:
- # textureId:
- String, : LibraryType, : Int!): Texture ( :
- # return the selection state of a given prospect
- #
- # Arguments
- # clientName: name of client
- # prospectIdentifier: a unique identifier string for a prospect
- # homeIdentifier: a unique identifier for a home designed by the
- # prospect
- (
- String!, :
- String!, :
- String! :
- ): JSON
- # return the selection state of a given prospect using favorite ID
- #
- # Arguments
- # clientName: name of client
- # favoriteIdentifier: favorite ID
- (
- String!, :
- Int! :
- ): JSON
- # get cities
- CityInfo] : [
- # Get scheduled appointments for a given inventory
- #
- # Arguments
- # clientName: name of client
- # inventoryId: ID of inventory home
- (
- String!, :
- Int! :
- ): [ProspectSgtAppointment]
- # get prospects for Client
- #
- # Arguments
- # clientName: name of client
- String!): [Prospect] ( :
- # get prospects by Community's external ID
- #
- # Arguments
- # clientName: name of client
- # communityExternalId: external ID of a given community
- (
- String!, :
- String! :
- ): [Prospect]
- # Get all scheduled appointments
- #
- # Arguments
- # clientName: name of client
- String!): [ProspectSgtAppointment] ( :
- }
link Require by
This element is not required by anyone