Site
Site
type Site {
id: String!
name: String!
endCustomerId: String
endCustomer: EndCustomer
devices: [Device!]
users: [User!]
address: String
city: String
zipCode: String
country: String
isDefault: Boolean!
createdAt: DateTime!
updatedAt: DateTime!
}
Fields
Site.id
● String!
non-null scalar
The ID of the site
Site.name
● String!
non-null scalar
The name of the site
Site.endCustomerId
● String
scalar
The ID of the end customer that the site belongs to
Site.endCustomer
● EndCustomer
object
The end customer that the site belongs to
Site.devices
● [Device!]
list object
The devices that belong to the site
Site.users
● [User!]
list object
The users that belong to the site
Site.address
● String
scalar
The address of the site
Site.city
● String
scalar
The city of the site
Site.zipCode
● String
scalar
The zip code of the site
Site.country
● String
scalar
The country of the site
Site.isDefault
● Boolean!
non-null scalar
Whether the site is the default site for the end customer
Site.createdAt
● DateTime!
non-null scalar
The date and time when the site was created
Site.updatedAt
● DateTime!
non-null scalar
The date and time when the site was last updated
Returned By
createSite
mutation ● deleteSite
mutation ● findSiteById
query ● getAllSites
query ● getSitesByEndCustomerId
query
Member Of
CreatedUser
object ● Device
object ● EndCustomer
object ● MeOutput
object ● SanitizedUser
object ● User
object