OBJECT

AccountEntity

link GraphQL Schema definition

  • type AccountEntity {
  • # Arguments
  • # apiNames: Api names of custom fields to retrieve. All are
  • # returned if not set.
  • customFields(apiNames: [String!]): JSONString!
  • # Tells if the entity instance is protected against delete (Entities that need to
  • # be present in the system at any time). Delete action still may fail if entity is
  • # deletable, due some other additional validations.
  • 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
  • accountType: AccountTypeEntity
  • customerType: DataEntity
  • industry: DataEntity
  • owner: ClientEntity
  • parentAccount: AccountEntity
  • parentAccountRelationType: ParentAccountRelationTypeEntity
  • picture: CloudObjectEntity
  • unit: SalesUnitEntity
  • # Field whose values are strictly defined with an enumeration of values.
  • accountClass: AccountClassEnum
  • # Relation to single entity instance.
  • accountTypeId: ID
  • # Multi-line text input field.
  • address: String
  • # Simple text input field.
  • city: String
  • # Multi-line text input field.
  • comments: String
  • # Generic field wrapping sqlalchemy column, configurable by constructor.
  • #
  • # Good for one-of fields / generated fields.
  • #
  • country: String
  • # Relation to single entity instance.
  • customerTypeId: ID
  • # Email address.
  • email1: String
  • # Email address.
  • email2: String
  • # Email address.
  • email3: String
  • # Email address.
  • email4: String
  • # Email address.
  • email5: String
  • # Generic field wrapping sqlalchemy column, configurable by constructor.
  • #
  • # Good for one-of fields / generated fields.
  • #
  • healthCategory: ID
  • # Generic field wrapping sqlalchemy column, configurable by constructor.
  • #
  • # Good for one-of fields / generated fields.
  • #
  • healthStatus: Int
  • # URL - HTTP address.
  • homePage: String
  • # Relation to single entity instance.
  • industryId: ID
  • # Name of the entity and its default text representation.
  • name: String!
  • # Relation to single entity instance.
  • ownerId: ID!
  • # Relation to single entity instance.
  • parentAccountId: ID
  • # Relation to single entity instance.
  • parentAccountRelationTypeId: ID
  • # Phone number.
  • phone1: String
  • # Phone number.
  • phone2: String
  • # Phone number.
  • phone3: String
  • # Phone number.
  • phone4: String
  • # Phone number.
  • phone5: String
  • # Relation to single entity instance.
  • pictureId: ID
  • # Simple text input field.
  • quickParentAccountName: String
  • # Field whose values are strictly defined with an enumeration of values.
  • shareMode: ShareModeEnum
  • # Simple text input field.
  • stateProvince: String
  • # Relation to single entity instance.
  • unitId: ID
  • # Simple text input field.
  • zipCode: String
  • # Revision when entity was lastly changed.
  • revision: Int
  • formattedName: String!
  • enrolledEmailSequences: Int!
  • socialMedia: AccountSocialRelationEntity
  • # Relations to SalesUnits.
  • #
  • # Arguments
  • # filter: Filter SalesUnit relations by target SalesUnit
  • # attributes.
  • # filterEdge: Filter AccountSharingSalesUnitRelation relations by
  • # edge (relation) AccountSharingSalesUnitRelation attributes.
  • # orderBy: Order SalesUnit relations by target SalesUnit
  • # attributes.
  • # includeDeleted: Returns deleted target records as well. Default
  • # is true.
  • # before: Cursor until which to take entities to result set.
  • # after: Cursor after which to start taking entities to result
  • # set.
  • # first: Number of entities to return from beginning of the
  • # result set.
  • # last: Return only the "last" number of entities from result
  • # set.
  • sharingUnits(
  • filter: SalesUnitFilterInput,
  • filterEdge: AccountSharingSalesUnitRelationFilterInput,
  • orderBy: [SalesUnitOrderByInput!],
  • includeDeleted: Boolean,
  • before: String,
  • after: String,
  • first: Int,
  • last: Int
  • ): AccountSharingSalesUnitRelationEntityConnection
  • # Relations to Clients.
  • #
  • # Arguments
  • # filter: Filter Client relations by target Client attributes.
  • # filterEdge: Filter AccountSharingClientRelation relations by
  • # edge (relation) AccountSharingClientRelation attributes.
  • # orderBy: Order Client relations by target Client attributes.
  • # includeDeleted: Returns deleted target records as well. Default
  • # is true.
  • # before: Cursor until which to take entities to result set.
  • # after: Cursor after which to start taking entities to result
  • # set.
  • # first: Number of entities to return from beginning of the
  • # result set.
  • # last: Return only the "last" number of entities from result
  • # set.
  • sharingClients(
  • filter: ClientFilterInput,
  • filterEdge: AccountSharingClientRelationFilterInput,
  • orderBy: [ClientOrderByInput!],
  • includeDeleted: Boolean,
  • before: String,
  • after: String,
  • first: Int,
  • last: Int
  • ): AccountSharingClientRelationEntityConnection
  • # Relations to CloudObjects.
  • #
  • # Arguments
  • # filter: Filter CloudObject relations by target CloudObject
  • # attributes.
  • # filterEdge: Filter CloudObjectRelation relations by edge
  • # (relation) CloudObjectRelation attributes.
  • # orderBy: Order CloudObject relations by target CloudObject
  • # attributes.
  • # includeDeleted: Returns deleted target records as well. Default
  • # is true.
  • # before: Cursor until which to take entities to result set.
  • # after: Cursor after which to start taking entities to result
  • # set.
  • # first: Number of entities to return from beginning of the
  • # result set.
  • # last: Return only the "last" number of entities from result
  • # set.
  • documents(
  • filter: CloudObjectFilterInput,
  • filterEdge: CloudObjectRelationFilterInput,
  • orderBy: [CloudObjectOrderByInput!],
  • includeDeleted: Boolean,
  • before: String,
  • after: String,
  • first: Int,
  • last: Int
  • ): CloudObjectRelationEntityConnection
  • isFavorite: Boolean!
  • # Deferred property. Will return data only if called via get_by_id. Otherwise null
  • # or empty array is used.
  • viewerIdsPerSalesUnit: [UUID!]!
  • # Deferred property. Will return data only if called via get_by_id. Otherwise null
  • # or empty array is used.
  • pendingScheduledActions: Int
  • # If account has any unsubscribed email.
  • isUnsubscribed: Boolean
  • # Relations to Tags.
  • #
  • # Arguments
  • # filter: Filter Tag relations by target Tag attributes.
  • # filterEdge: Filter TagRelation relations by edge (relation)
  • # TagRelation attributes.
  • # orderBy: Order Tag relations by target Tag attributes.
  • # includeDeleted: Returns deleted target records as well. Default
  • # is true.
  • # before: Cursor until which to take entities to result set.
  • # after: Cursor after which to start taking entities to result
  • # set.
  • # first: Number of entities to return from beginning of the
  • # result set.
  • # last: Return only the "last" number of entities from result
  • # set.
  • tags(
  • filter: TagFilterInput,
  • filterEdge: TagRelationFilterInput,
  • orderBy: [TagOrderByInput!],
  • includeDeleted: Boolean,
  • before: String,
  • after: String,
  • first: Int,
  • last: Int
  • ): TagRelationEntityConnection
  • health: EntityHealthResult
  • # Checks which permissions current user has on concrete entity instance.
  • #
  • # Arguments
  • # permissions: [Not documented]
  • instancePermissions(permissions: [EntityPermsEnum!]!): [EntityPermsEnum!]!
  • # Arguments
  • # entityType: [Not documented]
  • relatedEntitiesDrilldown(entityType: EntityNameEnum!): CompactViewDrilldownModel!
  • # Arguments
  • # ids: [Not documented]
  • charts(ids: [UUID!]!): [DashboardChartData!]
  • # Arguments
  • # id: [Not documented]
  • # seriesIndex: [Not documented]
  • # itemIndex: [Not documented]
  • chartsDrilldown(id: UUID!, seriesIndex: Int, itemIndex: Int): CompactViewDrilldownModel!
  • # Arguments
  • # ids: Null to load all fields defined on InterfacePreview entity
  • # first: [Not documented]
  • fields(ids: [UUID!], first: Int): [InterfaceFieldData]!
  • }