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

BalanceDefinitionsByPid: Brevo Balance Definitions by Programme ID

read only REST

  • Catalog: Brevo
  • Schema: Balance
  • Label: Balance Definitions by Programme ID

Get balance definition list Returns balance definition page

Can only retrieve data.

Summary

Returns balance definition page

API Source

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

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
pid `` Loyalty Program Id
sortField `` Field to sort by (Values: name, created_at, updated_at)
version `` Version (Values: active, draft)

Table Columns

The columns of the table BalanceDefinitionsByPid 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
balanceAvailabilityDurationModifier varchar2 itgen_sib_balanceavailabilitydurationmodifier filters on the platform, writable, balanceAvailabilityDurationModifier Modifier for balance availability duration. startOfPeriod causes expiry at the start of the period, endOfPeriod at the end. noModification uses the exact duration from the credit date.
balanceAvailabilityDurationUnit varchar2 itgen_sib_balanceavailabilitydurationunit filters on the platform, writable, balanceAvailabilityDurationUnit Unit of time for the balance availability duration.
balanceAvailabilityDurationValue int64 itgen_sib_balanceavailabilitydurationvalue filters on the platform, writable, balanceAvailabilityDurationValue Number of time units before the balance expires.
balanceExpirationDate varchar2 itgen_sib_balanceexpirationdate filters on the platform, writable, balanceExpirationDate Fixed expiration date in dd/mm format. The balance expires when this date next appears in the calendar. Only one of balanceExpirationDate or balance availability duration fields can be used.
balanceOptionAmountOvertakingStrategy varchar2 itgen_sib_balanceoptionamountovertakingstrategy filters on the platform, writable, balanceOptionAmountOvertakingStrategy Partial enables partial credit of balance if maximum balance limit is reached. Strict enables rejection of a transaction if it will breach the max balance limit.
balanceOptionCreditRounding varchar2 itgen_sib_balanceoptioncreditrounding filters on the platform, writable, balanceOptionCreditRounding Rounding strategy for credit transactions.
balanceOptionDebitRounding varchar2 itgen_sib_balanceoptiondebitrounding filters on the platform, writable, balanceOptionDebitRounding Rounding strategy for debit transactions.
createdAt datetime Creation Date filters on the platform, writable, createdAt Timestamp of balance definition creation.
deletedAt datetime itgen_sib_deletedat filters on the platform, writable, deletedAt Timestamp of balance definition deletion (nullable).
description varchar2 Description filters on the platform, writable, description Short description of the balance definition.
id guid ID filters on the platform, writable, id Unique identifier for the balance definition.
imageRef varchar2 itgen_sib_imageref filters on the platform, writable, imageRef Optional image reference URL.
maxAmount decimal itgen_sib_maxamount filters on the platform, writable, maxAmount Maximum allowable balance.
maxCreditAmountLimit decimal itgen_sib_maxcreditamountlimit filters on the platform, writable, maxCreditAmountLimit Maximum credit allowed per operation.
maxDebitAmountLimit decimal itgen_sib_maxdebitamountlimit filters on the platform, writable, maxDebitAmountLimit Maximum debit allowed per operation.
meta varchar2 itgen_sib_meta writable Additional metadata for the balance definition. The JSON text of the nested object.
minAmount decimal itgen_sib_minamount filters on the platform, writable, minAmount Minimum allowable balance.
name varchar2 Name filters on the platform, writable, name Name of the balance definition.
unit varchar2 itgen_sib_unit filters on the platform, writable, unit Unit of balance measurement.
updatedAt datetime itgen_sib_updatedat filters on the platform, writable, updatedAt Timestamp of the last update.

Release Notes

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