OBJECT

AccountSharingSalesUnitRelationEntity

Sharing of an account with a sales unit, as a watcher or an editor.

link GraphQL Schema definition

  • type AccountSharingSalesUnitRelationEntity {
  • # True when the record is protected against deletion because it must always exist
  • # in the space. Deleting a record that is not protected can still fail on other
  • # checks. Read-only.
  • isDeleteProtected: Boolean!
  • # Unique identifier of entity.
  • id: ID!
  • # Specifies if the entity is considered deleted.
  • isDeleted: Boolean
  • # Last modification time.
  • modified: DateTime
  • # Creation time.
  • created: DateTime
  • # Account being shared.
  • account: AccountEntity
  • # Sales unit the account is shared with.
  • unit: SalesUnitEntity
  • # Id of the shared account.
  • accountId: ID!
  • # Access the sharing gives the sales unit on the account: Watcher can view it,
  • # Editor can view and edit it.
  • role: SharingRoleEnum
  • # Id of the sales unit.
  • unitId: ID!
  • # Revision when entity was lastly changed.
  • revision: Int
  • # Permissions the current user has on this record, out of the requested ones.
  • #
  • # Arguments
  • # permissions: Permissions to check; the result lists those the
  • # current user has.
  • instancePermissions(permissions: [EntityPermsEnum!]!): [EntityPermsEnum!]!
  • }