OBJECT
Vehicle
A vehicle.
link GraphQL Schema definition
- type Vehicle implements InventoryitemableInterface, GenericinventoryitemableInterface, GenericinventoryitemactionloggableInterface, NoteableInterface, LoggableInterface, AccessloggableInterface {
- # The ID of the entity.
- Int64Bit! :
- # An ID that uniquely identifies this entity across the whole Sonar system.
- ID! :
- # The date and time this entity was created.
- Datetime! :
- # The last date and time this entity was modified.
- Datetime! :
- # A string that shows the version of this entity. It will be incremented whenever
- # the entity is modified.
- String! :
- # A geo-point.
- Geopoint :
- # Whether or not to always track the vehicle.
- Boolean! :
- # If not always, then track on Friday.
- Boolean! :
- # If not always, then track on Monday.
- Boolean! :
- # If not always, then track on Saturday.
- Boolean! :
- # If not always, then track on Sunday.
- Boolean! :
- # If not always, then track on Thursday.
- Boolean! :
- # If not always, then track on Tuesday.
- Boolean! :
- # If not always, then track on Wednesday.
- Boolean! :
- # Whether or not GPS Tracking enabled for vehicle.
- Boolean! :
- # If not always, end time for tracking.
- Time! :
- # A `GpsTrackingProvider` ID.
- Int64Bit :
- # If not always, start time for tracking.
- Time! :
- # If not always, timezone for start and end times.
- Timezone :
- # A GPS Tracking Provider vehicle unique identifier.
- String :
- # The manufacturer.
- String :
- # The model.
- String :
- # A descriptive name.
- String! :
- # The vehicle identification number.
- String :
- # A year.
- Int :
- # A `GpsTrackingProvider`.
- #
- # 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.
- # enabled: Whether or not this is enabled.
- # oauth_required: Whether OAuth authentication required.
- # provider: A type of GPS tracking provider.
- # 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.
- (
- Int64Bit, :
- ID, :
- Datetime, :
- Datetime, :
- String, :
- Boolean, :
- Boolean, :
- GpsTrackingProviderType, :
- Paginator, :
- Sorter], : [
- Search], : [
- String, :
- Aggregator], : [
- ReverseRelationFilter] : [
- ): GpsTrackingProvider
- # An inventory item.
- #
- # 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.
- # claimed_user_id: The ID of the `User` that claimed this.
- # deployment_type_id: The ID of a `DeploymentType`.
- # flapping: Whether this inventory item is flapping or not.
- # icmp_device_status: The current ICMP monitoring status of an
- # `InventoryItem`.
- # icmp_status_flap_count: The number of times the ICMP status has
- # flapped.
- # icmp_status_last_change: The timestamp of when the ICMP status
- # last changed.
- # icmp_threshold_violation: The ICMP monitoring threshold
- # violation type.
- # inventory_model_id: The ID of an `InventoryModel`.
- # inventoryitemable_id: The ID of the entity that this inventory
- # item is assigned to.
- # inventoryitemable_type: The type of entity that this inventory
- # item is assigned to.
- # latitude: A decimal latitude.
- # longitude: A decimal longitude.
- # metadata: The metadata.
- # overall_status: The overall status of an `InventoryItem` (the
- # worse of ICMP/SNMP status).
- # parent_inventory_item_id: The ID of the parent `InventoryItem`.
- # preseem_status: The status of the device, as read from Preseem.
- # purchase_order_item_id: The ID of a purchase order item
- # purchase_price: The purchase price of this item.
- # snmp_device_status: The current SNMP monitoring status of an
- # `InventoryItem`.
- # snmp_status_flap_count: The number of times the SNMP status has
- # flapped.
- # snmp_status_last_change: The timestamp of when the SNMP status
- # last changed.
- # snmp_status_message: The SNMP monitoring status message.
- # status: The physical status of this item.
- # 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.
- (
- Int64Bit, :
- ID, :
- Datetime, :
- Datetime, :
- String, :
- Int64Bit, :
- Int64Bit, :
- Boolean, :
- InventoryItemDeviceStatus, :
- Int, :
- Datetime, :
- InventoryItemIcmpThresholdViolation, :
- Int64Bit, :
- Int64Bit, :
- InventoryitemableType, :
- Latitude, :
- Longitude, :
- String, :
- InventoryItemDeviceStatus, :
- Int64Bit, :
- PreseemStatus, :
- Int64Bit, :
- Int, :
- InventoryItemDeviceStatus, :
- Int, :
- Datetime, :
- String, :
- InventoryItemStatus, :
- Paginator, :
- Sorter], : [
- Search], : [
- String, :
- Aggregator], : [
- ReverseRelationFilter] : [
- ): InventoryItemConnection!
- # A generic inventory item.
- #
- # 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.
- # genericinventoryitemable_id: The type of entity that owns this
- # generic `InventoryItem`.
- # genericinventoryitemable_type: The ID of the entity that owns
- # this generic `InventoryItem`.
- # inventory_model_id: The ID of an `InventoryModel`.
- # quantity: The quantity for this service.
- # 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.
- (
- Int64Bit, :
- ID, :
- Datetime, :
- Datetime, :
- String, :
- Int64Bit, :
- InventoryitemableType, :
- Int64Bit, :
- Int, :
- Paginator, :
- Sorter], : [
- Search], : [
- String, :
- Aggregator], : [
- ReverseRelationFilter] : [
- ): GenericInventoryItemConnection!
- # A log of an action taken against a set of generic inventory items.
- #
- # 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.
- # action: The action that was performed.
- # genericinventoryitemactionloggable_id: The ID of the entity
- # that this `GenericInventoryItemActionLog` is for.
- # genericinventoryitemactionloggable_type: The type of entity
- # that this `GenericInventoryItemActionLog` is for.
- # inventory_model_id: The ID of an `InventoryModel`.
- # purchase_price: The purchase price of this item.
- # quantity: The quantity for this service.
- # 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.
- (
- Int64Bit, :
- ID, :
- Datetime, :
- Datetime, :
- String, :
- GenericInventoryItemActionLogAction, :
- Int64Bit, :
- InventoryitemableType, :
- Int64Bit, :
- Float, :
- Int, :
- Int64Bit, :
- Paginator, :
- Sorter], : [
- Search], : [
- String, :
- Aggregator], : [
- ReverseRelationFilter] : [
- ): GenericInventoryItemActionLogConnection!
- # A note.
- #
- # 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.
- # message: The message.
- # noteable_id: The ID of the entity that owns this note.
- # noteable_type: The type of entity that owns this note.
- # priority: The priority of this item.
- # 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.
- (
- Int64Bit, :
- ID, :
- Datetime, :
- Datetime, :
- String, :
- Text, :
- Int64Bit, :
- NoteableType, :
- NotePriority, :
- Int64Bit, :
- Paginator, :
- Sorter], : [
- Search], : [
- String, :
- Aggregator], : [
- ReverseRelationFilter] : [
- ): NoteConnection!
- # 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.
- (
- Int64Bit, :
- ID, :
- Datetime, :
- Datetime, :
- String, :
- Text, :
- Boolean, :
- String, :
- LogLevel, :
- Int64Bit, :
- String, :
- Int64Bit, :
- String, :
- Text, :
- Text, :
- Text, :
- LogType, :
- Int64Bit, :
- Paginator, :
- Sorter], : [
- Search], : [
- String, :
- Aggregator], : [
- ReverseRelationFilter] : [
- ): LogConnection!
- # An access log history on an entity.
- #
- # 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.
- # access_datetime: The date and time that this entity was
- # accessed.
- # accessloggable_id: The ID of the entity that this access log
- # belongs to.
- # accessloggable_type: The entity that this access log belongs
- # to.
- # entity_id: The ID of the entity that this access log belongs
- # to.
- # entity_name: The entity that this access log belongs to.
- # user_id: The ID of the user that accessed this entity.
- # 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.
- (
- Int64Bit, :
- ID, :
- Datetime, :
- Datetime, :
- String, :
- Datetime, :
- Int64Bit, :
- String, :
- Int64Bit, :
- String, :
- Int64Bit, :
- Paginator, :
- Sorter], : [
- Search], : [
- String, :
- Aggregator], : [
- ReverseRelationFilter] : [
- ): AccessLogConnection!
- # A user that can login to Sonar.
- #
- # 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.
- # completed_setup: Whether or not the user has completed the
- # setup process.
- # email_address: An email address.
- # enabled: Whether or not this is enabled.
- # is_sonar_staff: Whether or not this user is a Sonar employee.
- # language: A supported language.
- # mobile_number: A mobile phone number. This will be used to send
- # SMS messages.
- # name: A descriptive name.
- # public_name: The publicly viewable name of this user.
- # role_id: The ID of a Role.
- # super_admin: Super admins receive all system permissions
- # automatically, regardless of their role.
- # username: A username, used for authentication.
- # 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.
- (
- Int64Bit, :
- ID, :
- Datetime, :
- Datetime, :
- String, :
- Boolean, :
- EmailAddress, :
- Boolean, :
- Boolean, :
- Language, :
- Numeric, :
- String, :
- String, :
- Int64Bit, :
- Boolean, :
- String, :
- Paginator, :
- Sorter], : [
- Search], : [
- String, :
- Aggregator], : [
- ReverseRelationFilter] : [
- ): UserConnection!
- # A history of where the vehicle has travelled.
- #
- # 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.
- # latitude: A decimal latitude.
- # longitude: A decimal longitude.
- # odometer: Odometer without unit of measure.
- # odometer_um: Unit of measure for odometer.
- # speed: Speed without unit of measure.
- # speed_um: Unit of measure for speed.
- # status: The status.
- # vehicle_id: The ID of a `Vehicle`.
- # 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.
- (
- Int64Bit, :
- ID, :
- Datetime, :
- Datetime, :
- String, :
- Latitude, :
- Longitude, :
- Int, :
- String, :
- Int, :
- String, :
- String, :
- Int64Bit, :
- Paginator, :
- Sorter], : [
- Search], : [
- String, :
- Aggregator], : [
- ReverseRelationFilter] : [
- ): VehicleLocationHistoryConnection!
- }