OBJECT

Company

A Company

link GraphQL Schema definition

  • type Company {
  • # Id
  • id: Int!
  • # Name
  • companyName: String!
  • # The Company parent (if exists)
  • parent: Company
  • # The Company parent (if exists), without access checks.
  • parentPublic: PublicCompany
  • # Sites of the Company
  • sites: [Site]
  • # Users that belong to the Company
  • users: [User] @deprecated( reason: "Use companyUsers instead" )
  • # List users of company
  • companyUsers: [UserCompany]
  • # A user that belongs to the Company
  • #
  • # Arguments
  • # userId: Id of a User
  • user(userId: Int!): User
  • # Children companies
  • children: [Company]!
  • }