invantive documentationpart of invantive cloud
Invantive Support ForumsLog In / Sign Up

LoyaltyBalanceProgramsByPid_ActiveBalancesActiveBalance: Brevo Loyalty Balance Programme Active Balance Items by Programme ID

read only REST

  • Catalog: Brevo
  • Schema: Balance
  • Label: Loyalty Balance Programme Active Balance Items by Programme ID

Get Active Balances API Returns Active Balances

Can only retrieve data.

Summary

Returns Active Balances

API Source

  • Endpoint: /loyalty/balance/programs/{pid}/active-balance
  • Operation: get /loyalty/balance/programs/{pid}/active-balance

Performance Characteristics

Characteristic Value
Average access latency (ms) 126
Full scan rows per minute 414,000
Point query rows per minute 476
Write rows per minute 496

The result can be cached on the client.

Parameters

Name Data Type Required Default Documentation
balanceDefinitionId `` Balance Definition ID
contactId `` Contact ID
includeInternal `` Include balances tied to internal definitions.
pid `` Loyalty Program Id
sortField `` Sort Field (Values: createdAt)

Table Columns

The columns of the table LoyaltyBalanceProgramsByPid_ActiveBalancesActiveBalance are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

Name Data Type Label Required Marks Documentation
amount double itgen_sib_amount writable, amount Current balance amount.
balanceDefinitionId guid itgen_sib_balancedefinitionid filters on the platform, writable, ::ancestor.balanceDefinitionId Unique identifier of the balance definition.
contactId int64 itgen_sib_contactid filters on the platform, writable, ::ancestor.contactId Unique identifier of the contact.
count int64 Count filters on the platform, writable, ::ancestor.count Total number of active balances.
createdAt datetime Creation Date writable, createdAt Timestamp when the balance was created.
expiresAt datetime itgen_sib_expiresat writable, expiresAt Timestamp when the balance expires (if applicable).
id guid ID writable, id Unique identifier of the balance entry.
loyaltyProgramId guid itgen_sib_loyaltyprogramid filters on the platform, writable, ::ancestor.loyaltyProgramId Unique identifier of the loyalty program.

Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver: