Event Database REST API

The event query API returns event details from the Event database based on the EventId.

Rest Example

<MtxResponseEvent>
  <Event>
    <MtxVoiceEvent>
      <ServiceId>3</ServiceId>
      <UsageQuantityList>
        <MtxEventUsageQuantity>
          <QuantityType>actual_duration</QuantityType>
          <QuantityUnit>seconds</QuantityUnit>
          <Flags>1</Flags>
          <MsgAmount>10.0000</MsgAmount>
          <RatingAmount>120.0000</RatingAmount>
        </MtxEventUsageQuantity>
      </UsageQuantityList>
      <UsageUtcOffset>0</UsageUtcOffset>
      <LastUsageRoundingAmount>0.0000</LastUsageRoundingAmount>
      <UsageRoundingAmount>110.0000</UsageRoundingAmount>
      <UsageRoundingAmountUnit>100</UsageRoundingAmountUnit>
      <EventTypeArray>
        <value>1</value>
        <value>2</value>
      </EventTypeArray>
      <AppliedOfferArray>
        <MtxEventAppliedOffer>
          <UsageQuantity>120.0000</UsageQuantity>
          <UsageQuantityUnit>100</UsageQuantityUnit>
          <ProductOfferId>377</ProductOfferId>
          <ProductOfferOwnerId>0-1-5-33</ProductOfferOwnerId>
          <ProductOfferExternalOwnerId>32426</ProductOfferExternalOwnerId>
          <ProductOfferResourceId>1</ProductOfferResourceId>
          <ProductOfferVersion>0</ProductOfferVersion>
        </MtxEventAppliedOffer>
      </AppliedOfferArray>
      <InitiatorId>0-1-5-33</InitiatorId>
      <InitiatorExternalId>32426</InitiatorExternalId>
      <InitiatorDeviceId>0-1-5-35</InitiatorDeviceId>
      <Flags>0</Flags>
      <WalletId>0-1-5-34</WalletId>
      <WalletOwnerId>0-1-5-33</WalletOwnerId>
      <WalletOwnerExternalId>32426</WalletOwnerExternalId>
      <BalanceUpdateArray>
        <MtxBalanceUpdate>
          <BalanceClassId>840</BalanceClassId>
          <BalanceTemplateId>21333</BalanceTemplateId>
          <BalanceIntervalId>3</BalanceIntervalId>
          <BalanceResourceId>1</BalanceResourceId>
          <BalanceStartTime>2016-10-31T13:18:02.000000-07:00</BalanceStartTime>
          <BalanceEndTime>2016-11-01T13:18:02.000000-07:00</BalanceEndTime>
          <Flags>16</Flags>
          <Amount>50.0000</Amount>
        </MtxBalanceUpdate>
        <MtxBalanceUpdate>
          <BalanceClassId>840</BalanceClassId>
          <BalanceTemplateId>21333</BalanceTemplateId>
          <BalanceIntervalId>4</BalanceIntervalId>
          <BalanceResourceId>1</BalanceResourceId>
          <BalanceStartTime>2016-10-31T13:19:41.999999-07:00</BalanceStartTime>
          <BalanceEndTime>2016-11-01T13:19:41.999999-07:00</BalanceEndTime>
          <Flags>16</Flags>
          <Amount>10.0000</Amount>
        </MtxBalanceUpdate>
      </BalanceUpdateArray>
      <ChargeList>
        <MtxEventCharge>
          <UsageQuantity>99.99999999996</UsageQuantity>
          <UsageQuantityUnit>100</UsageQuantityUnit>
          <AppliedOfferIndex>0</AppliedOfferIndex>
          <BalanceUpdateIndex>0</BalanceUpdateIndex>
          <UpdateType>1</UpdateType>
          <Amount>49.99999999998</Amount>
          <ImpactSource>product_offer</ImpactSource>
        </MtxEventCharge>
         <MtxEventCharge>
          <UsageQuantity>20.00000000004</UsageQuantity>
          <UsageQuantityUnit>100</UsageQuantityUnit>
          <AppliedOfferIndex>0</AppliedOfferIndex>
          <BalanceUpdateIndex>1</BalanceUpdateIndex>
          <UpdateType>1</UpdateType>
          <Amount>10.00000000002</Amount>
          <ImpactSource>product_offer</ImpactSource>
        </MtxEventCharge>
      </ChargeList>
      <EventTime>2016-10-31T20:18:02.000000Z</EventTime>
      <Duration>10000000</Duration>
      <EventId>GAEQA_0:1:52:41</EventId>
      <DeleteCode>1</DeleteCode>
    </MtxVoiceEvent>
  </Event>
  <Result>0</Result>
  <ResultText>OK</ResultText>
  <ResultType>GET</ResultType>
</MtxResponseEvent>