Files
stack/components/ledger/pkg/client/docs/models/operations/counttransactionsrequest.md

8.8 KiB
Raw Permalink Blame History

CountTransactionsRequest

Fields

Field Type Required Description Example
Ledger string ✔️ Name of the ledger. ledger001
Reference *string ➖ Filter transactions by reference field. ref:001
Account *string ➖ Filter transactions with postings involving given account, either as source or destination (regular expression placed between ^ and $). users:001
Source *string ➖ Filter transactions with postings involving given account at source (regular expression placed between ^ and $). users:001
Destination *string ➖ Filter transactions with postings involving given account at destination (regular expression placed between ^ and $). users:001
StartTime *time.Time ➖ Filter transactions that occurred after this timestamp.
The format is RFC3339 and is inclusive (for example, "2023-01-02T15:04:01Z" includes the first second of 4th minute).
EndTime *time.Time ➖ Filter transactions that occurred before this timestamp.
The format is RFC3339 and is exclusive (for example, "2023-01-02T15:04:01Z" excludes the first second of 4th minute).
Metadata *operations.Metadata ➖ Filter transactions by metadata key value pairs. Nested objects can be used as seen in the example below. metadata[key]=value1&metadata[a.nested.key]=value2