OBJECT
CallDetailRecord
A call detail record (CDR).
link GraphQL Schema definition
- type CallDetailRecord implements 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! 
- #   The ID of an Account.
- : Int64Bit 
- #   The amount, in the smallest currency value (e.g. cents, pence, pesos.)
- : Float 
- #   The rate that is charged to a customer.
- : Float 
- #   The prefix description for the call detail record having provider rated prefix.
- : String 
- #   The direction of the call.
- : CallDetailRecordDirection 
- #   The total length of the call in seconds.
- : Int! 
- #   The matched prefix of this call record.
- : String 
- #   The ID of a `MonthlyBillingCompletion`.
- : Int64Bit 
- #   The DID that initiated the call.
- : String 
- #   The prefix type of this call record.
- : CallDetailRecordPrefixType 
- #   The DID that received the call.
- : String 
- #   The ID of a Service.
- : Int64Bit 
- #   When the call was started.
- : Datetime! 
- #   The ID of a `VoiceProvider`.
- : Int64Bit! 
- #   A `VoiceProvider`.
- # 
- # 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.
- #   name: A descriptive name.
- #   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,
- : String,
- : Paginator,
- : [Sorter],
- : [Search],
- : String,
- : [Aggregator],
- : [ReverseRelationFilter]
- ): VoiceProvider 
- #   A customer account.
- # 
- # 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.
- #   account_status_id: The ID of an AccountStatus.
- #   account_type_id: The ID of an AccountType.
- #   activation_date: The date an account was first activated.
- #   activation_time: The time an account was first activated.
- #   archived_at: The date and time this entity was archived.
- #   archived_by_user_id: The ID of the `User` that archived this 
- #   entity.
- #   company_id: The ID of the company that this entity operates 
- #   under.
- #   data_usage_percentage: The percentage of the data usage cap 
- #   that this account has consumed this month, taking into account any data usage 
- #   top offs.
- #   disconnection_reason_id: Disconnection Reason ID
- #   geopoint: A geo-point.
- #   is_delinquent: Whether or not this account is delinquent.
- #   is_eligible_for_archive: Whether or not the Account meets the 
- #   eligibility criteria for archiving.
- #   name: A descriptive name.
- #   next_bill_date: The next date this service will bill. If this 
- #   is null, it will bill on the next account billing date.
- #   next_recurring_charge_amount: The next recurring charge amount 
- #   for an account. This is the sum of data, expiring, recurring, and voice services 
- #   of an account for this billing cycle, including tax.
- #   parent_account_id: The ID of the `Account` that is this 
- #   `Account`s master.
- #   include_archived: Whether or not to include archived entities 
- #   in the results.
- #   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,
- : Date,
- : Time,
- : Datetime,
- : Int64Bit,
- : Int64Bit,
- : Int,
- : Int64Bit,
- : Geopoint,
- : Boolean,
- : Boolean,
- : String,
- : Date,
- : Int,
- : Int64Bit,
- : Boolean,
- : Paginator,
- : [Sorter],
- : [Search],
- : String,
- : [Aggregator],
- : [ReverseRelationFilter]
- ): Account 
- #   A service.
- # 
- # 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.
- #   amount: The amount, in the smallest currency value (e.g. cents, 
- #   pence, pesos.)
- #   application: How this is applied.
- #   company_id: The ID of the company that this entity operates 
- #   under.
- #   display_if_zero: If the amount for this service is zero, it 
- #   will still display on invoices.
- #   enabled: Whether or not this is enabled.
- #   general_ledger_code_id: The ID of a GeneralLedgerCode.
- #   name: A descriptive name.
- #   reverse_tax_definition_id: The ID of a tax definition on a 
- #   reversed transaction.
- #   tax_definition_id: The ID of a tax definition on a transaction.
- #   type: The type.
- #   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,
- : Int,
- : ServiceApplication,
- : Int64Bit,
- : Boolean,
- : Boolean,
- : Int64Bit,
- : String,
- : Int64Bit,
- : Int64Bit,
- : ServiceType,
- : Paginator,
- : [Sorter],
- : [Search],
- : String,
- : [Aggregator],
- : [ReverseRelationFilter]
- ): Service 
- #   A record of a monthly billing cycle.
- # 
- # 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.
- #   account_id: The ID of an Account.
- #   date: A date
- #   invoice_id: The ID of an `Invoice`.
- #   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,
- : Date,
- : Int64Bit,
- : Paginator,
- : [Sorter],
- : [Search],
- : String,
- : [Aggregator],
- : [ReverseRelationFilter]
- ): MonthlyBillingCompletion 
- #   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! 
- }