OBJECT

SalesRoleEntity

Role a contact plays in a deal (e.g. decision maker), assigned to contacts on leads and opportunities.

link GraphQL Schema definition

  • type SalesRoleEntity {
  • # 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
  • # Display color of the sales role, encoded as a 24-bit RGB integer: (red << 16) |
  • # (green << 8) | blue.
  • colorCode: Int!
  • # Name of the entity and its default text representation.
  • name: String!
  • # 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!]!
  • }