OBJECT

GenericInventoryItemActionLog

A log of an action taken against a set of generic inventory items.

link GraphQL Schema definition

  • type GenericInventoryItemActionLog implements LoggableInterface {
  • # The ID of the entity.
  • id: Int64Bit!
  • # An ID that uniquely identifies this entity across the whole Sonar system.
  • sonar_unique_id: ID!
  • # The date and time this entity was created.
  • created_at: Datetime!
  • # The last date and time this entity was modified.
  • updated_at: Datetime!
  • # A string that shows the version of this entity. It will be incremented whenever
  • # the entity is modified.
  • _version: String!
  • # The action that was performed.
  • action: GenericInventoryItemActionLogAction!
  • # The ID of the entity that this `GenericInventoryItemActionLog` is for.
  • genericinventoryitemactionloggable_id: Int64Bit!
  • # The type of entity that this `GenericInventoryItemActionLog` is for.
  • genericinventoryitemactionloggable_type: InventoryitemableType!
  • # The ID of an `InventoryModel`.
  • inventory_model_id: Int64Bit!
  • # The purchase price of this item.
  • purchase_price: Float
  • # The quantity for this service.
  • quantity: Int!
  • # The ID of a User.
  • user_id: Int64Bit!
  • # The entity that this `GenericInventoryItemActionLog` is associated with.
  • #
  • # Arguments
  • # id: The ID of the entity.
  • # sonar_unique_id: An ID that uniquely identifies this entity
  • # across the whole Sonar system.
  • # created_at: The date and time this entity was created.
  • # updated_at: The last date and time this entity was modified.
  • # paginator: Provides the ability to paginate through results.
  • # sorter: Provides the ability to sort results.
  • # search: Complex search parameters.
  • # general_search: Search across all string fields with partial
  • # matching.
  • genericinventoryitemactionloggable(
  • id: Int64Bit,
  • sonar_unique_id: ID,
  • created_at: Datetime,
  • updated_at: Datetime,
  • paginator: Paginator,
  • sorter: [Sorter],
  • search: [Search],
  • general_search: String
  • ): GenericinventoryitemactionloggableInterface
  • # A type of item stored in inventory.
  • #
  • # Arguments
  • # id: The ID of the entity.
  • # sonar_unique_id: An ID that uniquely identifies this entity
  • # across the whole Sonar system.
  • # created_at: The date and time this entity was created.
  • # updated_at: The last date and time this entity was modified.
  • # _version: A string that shows the version of this entity. It
  • # will be incremented whenever the entity is modified.
  • # device_type: The type of inventory model.
  • # enabled: Whether or not this is enabled.
  • # generic: Whether or not this is generic.
  • # icon: An icon.
  • # inventory_model_category_id: The ID of an
  • # InventoryModelCategory.
  • # lte_sim_type: If this is a SIM card for LTE provisioning, which
  • # provider this SIM is for.
  • # manufacturer_id: The ID of a Manufacturer.
  • # model_name: The actual model name/part number.
  • # name: A descriptive name.
  • # network_monitoring_template_id: The ID of a
  • # `NetworkMonitoringTemplate`.
  • # port: The TCP port that the web interface of this type of
  • # device is available on.
  • # protocol: The protocol used to access the web interface.
  • # paginator: Provides the ability to paginate through results.
  • # sorter: Provides the ability to sort results.
  • # search: Complex search parameters.
  • # general_search: Search across all string fields with partial
  • # matching.
  • # aggregation: Provides the ability to return aggregated
  • # mathematical data about your results.
  • # reverse_relation_filters: Reverse relation filters allow you to
  • # filter the result of a relation, and use that filter to affect the returned root
  • # elements.
  • inventory_model(
  • id: Int64Bit,
  • sonar_unique_id: ID,
  • created_at: Datetime,
  • updated_at: Datetime,
  • _version: String,
  • device_type: InventoryModelDeviceType,
  • enabled: Boolean,
  • generic: Boolean,
  • icon: Icon,
  • inventory_model_category_id: Int64Bit,
  • lte_sim_type: LteProviderType,
  • manufacturer_id: Int64Bit,
  • model_name: String,
  • name: String,
  • network_monitoring_template_id: Int64Bit,
  • port: Int,
  • protocol: Protocol,
  • paginator: Paginator,
  • sorter: [Sorter],
  • search: [Search],
  • general_search: String,
  • aggregation: [Aggregator],
  • reverse_relation_filters: [ReverseRelationFilter]
  • ): InventoryModel
  • # A log entry.
  • #
  • # Arguments
  • # id: The ID of the entity.
  • # sonar_unique_id: An ID that uniquely identifies this entity
  • # across the whole Sonar system.
  • # created_at: The date and time this entity was created.
  • # updated_at: The last date and time this entity was modified.
  • # _version: A string that shows the version of this entity. It
  • # will be incremented whenever the entity is modified.
  • # current: Current data.
  • # legacy: Whether or not this log was transferred from a Sonar v1
  • # instance. If so, the formatting will not match current version logs.
  • # legacy_title: A title which is only populated on logs that were
  • # imported from Sonar v1.
  • # level: The severity level.
  • # loggable_id: The ID of the entity that this log is attached to.
  • # loggable_type: The type of entity that this log is attached to.
  • # logged_entity_id: The entity ID that triggered the log.
  • # logged_entity_type: The entity that triggered the log.
  • # message: The message.
  • # previous: Previous data.
  • # relation_data: Data from objects related to this change.
  • # type: The type.
  • # user_id: The ID of a User.
  • # paginator: Provides the ability to paginate through results.
  • # sorter: Provides the ability to sort results.
  • # search: Complex search parameters.
  • # general_search: Search across all string fields with partial
  • # matching.
  • # aggregation: Provides the ability to return aggregated
  • # mathematical data about your results.
  • # reverse_relation_filters: Reverse relation filters allow you to
  • # filter the result of a relation, and use that filter to affect the returned root
  • # elements.
  • logs(
  • id: Int64Bit,
  • sonar_unique_id: ID,
  • created_at: Datetime,
  • updated_at: Datetime,
  • _version: String,
  • current: Text,
  • legacy: Boolean,
  • legacy_title: String,
  • level: LogLevel,
  • loggable_id: Int64Bit,
  • loggable_type: String,
  • logged_entity_id: Int64Bit,
  • logged_entity_type: String,
  • message: Text,
  • previous: Text,
  • relation_data: Text,
  • type: LogType,
  • user_id: Int64Bit,
  • paginator: Paginator,
  • sorter: [Sorter],
  • search: [Search],
  • general_search: String,
  • aggregation: [Aggregator],
  • reverse_relation_filters: [ReverseRelationFilter]
  • ): LogConnection!
  • }