OBJECT

LeadOpptySharingSalesUnitRelationEntity

Share of a lead or opportunity with a sales unit, with the access level granted.

link GraphQL Schema definition

  • type LeadOpptySharingSalesUnitRelationEntity {
  • # 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
  • # Lead being shared. Set when leadOpptyId resolves to a Lead; otherwise empty.
  • lead: LeadEntity
  • # Opportunity being shared. Set when leadOpptyId resolves to an Opportunity;
  • # otherwise empty.
  • oppty: OpportunityEntity
  • # Sales unit the lead or opportunity is shared with.
  • unit: SalesUnitEntity
  • # Id of the lead or opportunity being shared.
  • leadOpptyId: ID!
  • # Access the sharing gives the sales unit on the lead or opportunity: 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!]!
  • }