Skip to main content
No description
type Location {
  id: ID!
  name: String!
  address: String!
  countryCode: String!
  country: String!
  timezone: String!
  created: Date!
  latitude: Float!
  longitude: Float!
  lines(
    archived: Boolean
  ): [Line!]!
  users: [User!]!
  ipads: [Ipad!]
  tvs: [TV!]
  desks: [Desk!]
  languages: [Language!]
  selectingDeskMandatory: Boolean
  smsEnabled: Boolean
  dynamicLabels: Boolean
  inputFields(
    includeDeleted: Boolean
  ): [InputField]
  openingHours: JSON @deprecated
  openingHours2: OpeningHours
  openingHoursExceptions: JSON @deprecated
  openingHoursExceptions2: [OpeningHoursException!]!
  visitPlanner: VisitPlanner
  labels: [LabelType!]!
  settings: LocationSettings!
  isDemo: Boolean!
  appointmentSettings: LocationAppointmentSettings
  isServiceViewLastUsedLineMemorised: Boolean!
}

Fields

Location.id ● ID! non-null scalar

Location.name ● String! non-null scalar

Location.address ● String! non-null scalar

Location.countryCode ● String! non-null scalar

Location.country ● String! non-null scalar

Location.timezone ● String! non-null scalar

Location.created ● Date! non-null scalar

Location.latitude ● Float! non-null scalar

Location.longitude ● Float! non-null scalar

Location.lines ● [Line!]! non-null object

Location.lines.archived ● Boolean scalar

Location.users ● [User!]! non-null object

Location.ipads ● [Ipad!] list object

Location.tvs ● [TV!] list object

Location.desks ● [Desk!] list object

Location.languages ● [Language!] list object

Location.selectingDeskMandatory ● Boolean scalar

Location.smsEnabled ● Boolean scalar

Location.dynamicLabels ● Boolean scalar

Location.inputFields ● [InputField] list object

Location.inputFields.includeDeleted ● Boolean scalar
If omitted or false returns non-deleted input fields in location. If true, returns both deleted and non-deleted input fields in location.

Location.openingHours2 ● OpeningHours object

Location.openingHoursExceptions2 ● [OpeningHoursException!]! non-null object

Location.visitPlanner ● VisitPlanner object

Location.labels ● [LabelType!]! non-null object

Location.settings ● LocationSettings! non-null object

Location.isDemo ● Boolean! non-null scalar

Location.appointmentSettings ● LocationAppointmentSettings object

Location.isServiceViewLastUsedLineMemorised ● Boolean! non-null scalar

Location.openingHours ● JSON deprecated scalar

Location.openingHoursExceptions ● JSON deprecated scalar

undefined

Returned By

changedLocation subscription ● changedLocationLine subscription ● location query ● locations query

Member Of

Account object ● InputField object ● Line object ● Role object ● User object ● UserAppointmentsAvailability object