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 | ||
sort |
`` | 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 |
|---|---|---|---|---|---|
balance |
varchar2 |
itgen_sib_balanceavailabilitydurationmodifier | filters on the platform, writable, balance |
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. | |
balance |
varchar2 |
itgen_sib_balanceavailabilitydurationunit | filters on the platform, writable, balance |
Unit of time for the balance availability duration. | |
balance |
int64 |
itgen_sib_balanceavailabilitydurationvalue | filters on the platform, writable, balance |
Number of time units before the balance expires. | |
balance |
varchar2 |
itgen_sib_balanceexpirationdate | filters on the platform, writable, balance |
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. | |
balance |
varchar2 |
itgen_sib_balanceoptionamountovertakingstrategy | filters on the platform, writable, balance |
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. | |
balance |
varchar2 |
itgen_sib_balanceoptioncreditrounding | filters on the platform, writable, balance |
Rounding strategy for credit transactions. | |
balance |
varchar2 |
itgen_sib_balanceoptiondebitrounding | filters on the platform, writable, balance |
Rounding strategy for debit transactions. | |
created |
datetime |
Creation Date | filters on the platform, writable, created |
Timestamp of balance definition creation. | |
deleted |
datetime |
itgen_sib_deletedat | filters on the platform, writable, deleted |
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. | |
image |
varchar2 |
itgen_sib_imageref | filters on the platform, writable, image |
Optional image reference URL. | |
max |
decimal |
itgen_sib_maxamount | filters on the platform, writable, max |
Maximum allowable balance. | |
max |
decimal |
itgen_sib_maxcreditamountlimit | filters on the platform, writable, max |
Maximum credit allowed per operation. | |
max |
decimal |
itgen_sib_maxdebitamountlimit | filters on the platform, writable, max |
Maximum debit allowed per operation. | |
meta |
varchar2 |
itgen_sib_meta | writable | Additional metadata for the balance definition. The JSON text of the nested object. | |
min |
decimal |
itgen_sib_minamount | filters on the platform, writable, min |
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. | |
updated |
datetime |
itgen_sib_updatedat | filters on the platform, writable, updated |
Timestamp of the last update. |
Release Notes
What changed per release in the tables, columns, attributes and capabilities of the driver: