Query Keys
The following table shows the query keys for each entity for a simple DataQuery.
Entity | Key Required? | Keys | Datatype | Keys | Datatype |
---|---|---|---|---|---|
Actions (for Entity info, see ProductSaleAction or ServiceAction) |
Y |
eid productEid |
Long Long |
- -
|
- -
|
Y |
eid invoiceEid |
Long Long |
invoiceNum serviceEid |
String Long |
|
Y |
eid billingAccountEid accountNum status creditNumber |
Long Long String - - String |
invoiceEid invoiceNum occurredOn unappliedAmount credit |
Long String DateTime BigDec Boolean |
|
Y |
eid adjustmentEid billingAccountEid accountNum |
Long Long Long String |
occurredOn unappliedAmount type |
DateTime BigDec AdjustmentApplicationType |
|
eid name status |
Long String PriceCategoryStatus |
- - |
- - | ||
Y |
eid invoiceEid invoiceNum |
Long Long String |
- - |
- - |
|
eid name level |
Long String AdjustmentReasonLevel |
status creditOnly |
AdjustmentReasonStatus Boolean |
||
eid name productEid status |
Long String Long - - |
terminationFeeCurrencyType maxTerminationFeeCurrencyType fromDate thruDate |
String String DateTime DateTime |
||
Y |
eid serviceEid serviceResourceIdentifier childServiceResourceIdentifier |
Long Long String String |
productEid accountNum serviceStatus |
Long String String |
|
(in this table, see Operations) |
|||||
eid name type |
Long String BillCycleType |
status currencyType |
AccountingStatus String |
||
Y |
eid billCycleEid billCycleName sequence globalStatus |
Long Long String Integer BillCycleRunGlobalStatus |
status step openDate closeDate |
BillCycleRunStatus BillCycleStepRun DateTime DateTime |
|
eid accountNum externalAccountNum partyEid status emailAddress billingAccountCategoryEid purchaseOrderNumber orderNum orderEid blllType referral customFieldValueEid |
Long String String Long - - String Long String String Long BillType String Long |
billingAccountSegmentEid currencyType productEid serviceEid parentEid billCycleEid customFieldValue customFieldEid serviceCustomFieldValue serviceCustomFieldEid orderCustomFieldValue orderCustomFieldEid usagePoolEid |
Long - - Long Long Long Long String Long String Long String Long Long |
||
eid desc status |
Long String BilingAccountCategoryStatus |
- -
|
- -
|
||
Y |
eid accountNum billingAccountEid |
Long String Long |
token validTo |
String DateTime |
|
eid name status |
Long String BillingAccountSegmentStatus |
- - |
- - |
||
Y |
eid billingAccountSegmentEid billingAccountSegmentName |
Long Long String |
type required |
BillingAccountSegmentFieldType Boolean |
|
changeOrder |
Y |
eid billingAccountEid externalAccountNum purchaseOrderNumber customFieldValueEid |
Long Long String String Long |
status orderNum accountNum orderDate referral |
OrderStatus String String dateTime String |
Counter You must use eid or serviceEid and entityRelationType when querying this entity |
Y |
eid* name serviceEid* entityRelationType* |
Long String Long CounterEntityRelationType |
type status fromDate thruDate |
CounterType CounterStatus DateTime DateTime |
currencyType |
CurrencyType |
- - |
- - |
||
eid name type |
Long String CustomFieldType |
enabled searchable |
Boolean Boolean |
||
Value must be paired with an eid or num identifier |
Y |
eid billingAccountEid accountNum externalAccountNum value serviceEid |
Long Long String String String Long |
customFieldEid customFieldName orderEid orderNum orderItemEid |
String Long Long String Long |
deactivationReason |
|||||
|
eid name status type discountIdentifier |
Long String DiscountStatus DiscountType String |
discountCategoryEid oneTime recurring currencyType discountIdentifierEid |
Long Boolean Boolean String Long |
|
eid name status |
Long String DiscountCategoryStatus |
- - |
- - |
||
eid name status |
Long String DiscountChargeCategoryStatus |
- - |
- - |
||
eid name status discountChargeCategoryEid validFrom validTo |
Long String DiscountCodeStatus Long DateTime DateTime |
discountEid discountIdentifier priceListEid priceListIsMaster currencyType productEid discountIdentifierEid |
Long String Long Boolean String Long Long |
||
Y |
eid serviceEid discountIdentifier discountIdentifierEid discountCodeEid type |
Long String Long Long Long DiscountType |
billingAccountEid accountNum validFrom validTo productEid |
Long String DateTime DateTime Long |
|
eid identifier orderItemEid |
Long String Long |
- - |
|||
(in this table, see Operations) |
|||||
eid name status |
Long String AccountingStatus |
- - |
- -
|
||
Y |
eid accountNum |
Long String |
name generalLedgerEid |
String Long |
|
eid name status |
Long String AccountingStatus |
- - |
- - |
||
eid glAccountEid glAccountingTransactionEid |
Long Long Long |
glTransactionBatchNum glAggregateEid glAggregateBatchNum |
String Long String |
||
Y |
eid batchNum glTransactionBatchEid |
Long String Long |
batchPostedOn urredOn currencyType originalCurrencyType |
Date Date Currency Currency |
|
Y |
eid batchNum glTransactionBatchEid |
Long String Long |
batchPostedOn occurredOn currencyType originalCurrencyType |
Date Date Currency Currency |
|
Y |
eid batchNum glTransactionBatchEid |
Long String Long |
batchPostedOn occurredOn currencyType originalCurrencyType |
Date Date Currency Currency |
|
Y |
eid postedOn batchNum |
Long Date String |
status exported |
GLExtractBatchStatus Boolean |
|
Y |
eid glAggregateBatchEid batchNum |
Long Long String |
glAccountEid batchPostedOn |
Long Date |
|
eid isGlobal status |
Long Boolean GlobalUsageRuleStatus |
- - |
- - |
||
Y |
eid batchNum glTransactionBatchEid |
Long String Long |
batchPostedOn occurredOn currencyType originalCurrencyType |
DateTime DateTime Currency Currency |
|
Y |
eid batchNum postedOn |
Long String Date |
exported status |
Boolean GLExtractBatchStatus |
|
(in this table, see Operations) |
|||||
Y |
eid invoiceNum billingAccountEid accountNum billCycleRunEid |
Long String Long String Long |
adjustmentEid occurredOn status eventEid discountCodeServiceEid |
Long DateTime - - Long Long |
|
StandardInvoiceAdjustmentApplication ReversedInvoiceAdjustmentApplication NegativeInvoiceAdjustmentApplication (in this table, see AdjustmentApplications) |
Y |
eid adjustmentEid billingaccountEid accountNum type |
Long Long Long String AdjustmentApplicationType |
invoiceEid invoiceNum occuredOn unappliedAmount creditNumber |
Long String DateTime BigDec String |
Y |
eid invoiceEid type |
Long Long InvoiceItemType |
invoicenum serviceEid |
String Long |
|
invoiceItemCharge |
Y |
eid invoiceItemEid |
Long Long |
invoiceEid invoiceNum type |
Long String InvoiceItemChargeType |
NegativeInvoiceAdjustmentApplication (in this table, seeInvoiceAdjustmentApplications andAdjustmentApplications) |
Y |
eid adjustmentEid billingAccountEid accountNum |
Long Long Long String |
invoiceEid invoiceNum occurredOn unappliedAmount |
Long String DateTime BigDec |
Y |
eid productEid fromDate thruDate |
Long Long dateTime dateTime |
priceListEid priceListIsMaster currencyType chargeDuringRenewal |
Long Boolean Currency Boolean |
|
|
Y |
eid actionEid |
Long Long |
- -
|
- -
|
Y |
eid productOrderItemEid |
Long Long |
- -
|
- -
|
|
eid operationEid startDate endDate billingAccountEid accountNum |
Long Long DateTime DateTime Long String |
actionType actionName type operationType status |
ActionType String OperationRunType OperationType OperationStatus |
||
Y |
eid orderNum billingAccountEid accountNum externalAccountNum customFieldValue |
Long Long String String String String |
status orderDate referral purchaseOrderNumber customFieldValueEid customFieldEid |
OrderStatus Date String String Long Long |
|
Y |
eid parentOrderItemEid orderEid serviceEid |
Long Long Long Long |
orderNum serviceIdentifier discountIdentifier productEid |
String String String Long |
|
orderItemCharge |
Y |
eid orderEid orderItemEid billingAccountEid |
Long Long Long Long |
accountNum notToInvoice invoiced |
String Boolean Boolean |
Y |
eid orderItemEid status |
Long Long OrderItemUsageStatus |
- - |
- - |
|
organization |
eid name |
Long String |
- -
|
- -
|
|
eid name |
Long String |
description status |
String ContactCategoryStatus |
||
Y |
eid accountNum billingAccountEid occurredOn unappliedAmount |
Long String Long dateTime BigDec |
reference status authorization token |
String PaymentStatus String String |
|
Y |
eid paymentEid invoiceEid invoiceNum billingAccountEid |
Long Long Long String Long |
accountNum occurredOn updatedOn unappliedAmount type |
String DateTime DateTime BigDec PaymentApplicationType |
|
eid name |
Long String |
billingAccountEid billingAccountCategoryEid |
Long Long |
||
eid billingAccountEid |
Long Long |
firstName lastName |
String String |
||
eid name |
Long String |
- - |
- -
|
||
eid name internalName externalProductNumber sku productTypeCode productState serviceResourceCategoryEi discountCodeEid |
Long String String String String ProductTypeCode String Long Long |
serviceResourceCategoryName productCategoryEid productCategoryName priceListEid priceListIsMaster currencyType productTagEid discountIdentifier |
String String Long Long Boolean String Long String |
||
eid name status |
Long String PoductCategoryStatus |
- - |
- - |
||
Y |
eid invoiceEid invoiceNum |
Long Long String |
- - |
- - |
|
Y |
eid productEid fromDate thruDate |
Long Long Date Date |
priceListEid priceListIsMaster currencyType |
Long Boolean String |
|
Y |
eid productPriceEid productEid |
Long Long Long |
priceListEid priceListIsMaster currencyType |
Long Boolean String |
|
Y |
eid productEid type |
Long Long ProductRelationType |
-- |
-- |
|
(in this table, see Actions) |
|||||
(in this table, see OperationAttributes) |
|||||
eid name productEid |
Long String Long |
- - |
- - |
||
Y |
eid productEid |
Long Long |
productPriceEid status |
Long ProductUsageRuleStatus |
|
Promotion |
eid productEid name |
Long Long String |
type status |
PromotionType PromotionStatus |
|
rateTable |
eid name |
Long String |
- - |
- - |
|
eid name type |
Long String ReasonType |
- - |
- - |
||
recurringProductPrice |
Y |
eid productEid fromDate thruDate priceListEid priceListIsMaster currencyType |
Long Long Date Date Long Boolean String |
recurrencePeriod recurrenceAmount recurringPaymentRequired billInAdvance proratedOnCancel proratedOnOrder proratedOnOrderNoCharge |
- - BigDec Boolean Boolean Boolean Boolean Boolean |
refund |
Y |
eid paymentEid accountNum billingAccountEid |
Long Long String Long |
occurredOn reference status authorization |
Date String - - String |
refundReason
(in this table, see Reasons) |
|||||
(in this table, also see Orders) |
Y |
eid orderNum billingAccountEid accountNum externalAccountNum |
Long String Long String String |
orderDate customFieldValueEid referral purchaseOrderNumber renewalDate |
Date Long String String Date |
ReversedInvoiceAdjustmentApplication (in this table, also see InvoiceAdjustmentApplications and AdjustmentApplications) |
Y |
eid adjustmentEid billingAccountEid accountNum |
Long Long Long String |
invoiceEid invoiceNum occurredOn unappliedAmount |
Long String DateTime BigDec |
Y |
eid paymentEid invoiceEid invoiceNum billingAccountEid |
Long Long Long String Long |
accountNum occurredOn updatedOn unappliedAmount |
String DateTime DateTime BigDec |
|
salesOrder (in this table, also see Orders) |
Y |
eid status orderNum billingAccountEid ccountNum |
Long OrderStatus String Long String |
externalAccountNum orderDate referral purchaseOrderNumber customFieldValueEid |
String Date String String Long |
Y |
eid servicePriceEid status |
Long Long PriceChargeStatus |
orderItemEid invoiced serviceEid |
Long Boolean Long |
|
Y |
eid serviceEid status |
Long Long PriceChargeStatus |
orderItemEid invoiced |
Long Boolean |
|
Y |
eid accountNum billingAccountEid productEid agreementEid serviceResourceIdentifier parentEid externalAccountNum usagePoolEid originalOrderNum originalOrderEid |
Long String Long Long Long String Long String Long String Long |
renewalCount customFieldValue customFieldValueEid customFieldEid status startDate endDate invoiceItemEid previousServiceEid nextServiceEid originalOrderItemSequence |
Integer String Long Long ServiceStatus Timestamp Timestamp Long Long Long Long |
|
(in this table, see Actions) |
|||||
serviceDeactivationReason (in this table, see Reasons) |
|||||
serviceDeviceInventoryItem |
Y |
eid serialNumber |
Long String |
productEid status |
Long InventoryItemStatus |
Y |
eid invoiceEid |
Long Long |
invoiceNum serviceEid |
String Long |
|
Y |
eid serviceEid closed |
Long Long Boolean |
startDate endDate productPriceEid |
Date Date Long |
|
Y |
eid serviceEid recurrencePeriod |
Long Long - - |
startDate endDate |
Date Date |
|
Y |
eid servicePriceEid |
Long Long |
- - |
- - |
|
|
Y |
eid identifier orderItemEid serviceEid |
Long String Long Long |
serviceResourceCategoryEid status description |
Long GenericServiceResourceStatus String |
eid name type |
Long String ServiceResourceType |
- - |
- - |
||
serviceSuspensionReason (in this table, see Reasons) |
|||||
Y |
eid serviceEid status |
Long Long ServiceUsageRuleStatus |
- - |
- - |
|
StandardInvoiceAdjustmentApplication (in this table, see InvoiceAdjustmentApplications and AdjustmentApplications) |
Y |
eid adjustmentEid billingAccountEid accountNum |
Long Long Long String |
invoiceEid invoiceNum occurredOn unappliedAmount |
Long String TimeStamp BigDec |
Y |
eid paymentEid invoiceEid invoiceNum billingAccountEid |
Long Long Long String Long |
accountNum occurredOn updatedOn unappliedAmount type |
String TimeStamp TimeStamp BigDec PaymentApplicationType |
|
suspensionReason (in this table, see Reasons") |
|||||
name |
String |
- - |
- - |
||
Y |
eid invoiceEid invoiceNum |
Long Long String |
- - | - - | |
(in this table, see Counters) |
|||||
Some of these Query Keys MUST be used in pairs. See UsageEvent for complete information. |
Y |
eid billingAccountEid accountNum servicePeriodEid serviceResourceIdentifier |
Long Long String Long String |
startTime endTime closed referenceId sequenceId |
DateTime DateTime Boolean String String |
(in this table, see Counters) |
|||||
Y |
eid invoiceEid |
Long Long |
invoiceNum serviceEid |
String Long |
|
eid name status |
Long String UsageLookupTableStatus |
||||
Y |
eid usageLookupTableEid |
Long Long |
key value |
String String |
|
(serviceId and validFrom must be used in conjunction) |
Y |
eid name billingAccountEid |
Long String Long |
serviceEidd* validFrom* |
Long DateTime |
Y |
eid usagePoolEid poolSize used |
LongLong BigDec BigDec |
startDate endDate overage |
DateTime DateTime BigDec |
|
|
eid name |
Long String |
- - |
- - |
|
Y |
eid servicePeriodEid |
Long Long |
- - |
- - |
|
(in this table, see Counters) |
|
|
|
|
|
(in this table, see InvoiceAdjustmentApplications and AdjustmentApplications) |
Y |
eid adjustmentEid billingAccountEid |
Long Long Long |
accountNum occurredOn unappliedAmount |
String TimeStamp BigDec |