Apiture Developers Apiture Developers

Menu

  • Explore API Banking
    • API Digital Banking
    • Embedded Banking
    • Contact Us
  • Developers
    • Quick Start Guide
    • Embedded Banking
    • Events Reference
    • Authenticated Portal
  • API Documentation
    • Reference
Log In / Register
Apiture Developers Apiture Developers
Log In / Register
Apiture Developers

Menu

  • Explore API Banking
    • API Digital Banking
    • Embedded Banking
    • Contact Us
  • Developers
    • Quick Start Guide
    • Embedded Banking
    • Events Reference
    • Authenticated Portal
  • API Documentation
    • Reference

API Documentation

  • folder icon closed folder iconGetting Started
  • folder icon closed folder iconConcepts
    • API Keys
    • Authorization and Authentication
    • Access Tokens
    • Resources and URI Structure
    • Resource Collections
    • Resource Sets
    • Scopes & Entitlements
    • Error Responses
    • Error Types
    • Dry Runs
    • Markdown
    • Idempotent Operations
    • Collection Pagination
    • Collection Filtering
    • Transfers
    • Business Transfers
    • Cutoff Times
    • Identity Challenges
  • folder icon closed folder iconGuides
    • Authenticate Users in your App using OpenID Connect with PKCE
    • Authenticate using OAuth 2.0 Client Credentials Flow
    • Getting a List of Accounts
    • Listing the Balances for Accounts
    • Using Pagination
    • Creating a One-Time Transfer
    • Listing Transfers
    • Retrieving Business Transfer Information
    • Completing an Identity Challenge
  • folder icon closed folder iconAPI Reference
  • folder icon closed folder iconRelease Notes

Collection Filtering

  • folder icon closed folder iconAPI Documentation
    • Getting Started
    • Concepts
      • API Keys
      • Authorization and Authentication
      • Access Tokens
      • Resources and URI Structure
      • Resource Collections
      • Resource Sets
      • Scopes & Entitlements
      • Error Responses
      • Error Types
      • Dry Runs
      • Markdown
      • Idempotent Operations
      • Collection Pagination
      • Collection Filtering
      • Transfers
      • Business Transfers
      • Cutoff Times
      • Identity Challenges
    • Guides
      • Authenticate Users in your App using OpenID Connect with PKCE
      • Authenticate using OAuth 2.0 Client Credentials Flow
      • Getting a List of Accounts
      • Listing the Balances for Accounts
      • Using Pagination
      • Creating a One-Time Transfer
      • Listing Transfers
      • Retrieving Business Transfer Information
      • Completing an Identity Challenge
    • API Reference
    • Release Notes
  • folder icon closed folder iconAuthenticated Portal
    • Getting Started
      • Registration
      • Profile
    • Concepts
      • Environments
      • Products
    • Managing your Applications
      • Creating Applications
      • Creating Data Direct: Real-Time Webhooks
      • Editing Applications
      • Application Owners
      • Getting Application Keys and IDs
      • Continue your Project
    • Release Notes
      • Developer Portal 1.0
      • Developer Portal 1.1
  • folder icon closed folder iconEmbedded Banking
    • Getting Started
    • Concepts
      • Overview
      • Managing User Credentials
      • Components
      • Registering your Application
      • Terminology
      • Encryption and Authentication
    • Guides
      • Component Customization
      • Customization Examples
      • Initializing Components
      • Event Handling and Data Processing
    • Release Notes
      • EB v1.0 Release Notes
      • EB v1.2.2 Release Notes
      • EB v1.3 Release Notes
      • Developer Portal 1.0 Update
  • folder icon closed folder iconEvents
    • Introduction
    • Guides
      • General Structure
      • Field Annotations
      • Customer Onboarding Data Direct: Real-Time
    • Data Delivery
      • Flat File Delivery
      • Snowflake Delivery
      • Event History API
      • Real-time / Webhooks

Collection Filtering

Filtering allows the client to request a subset of resources from a collection that satisfy specific Boolean expressions. The filter expression is applied to individual resources in the collection.

For example, a transaction contains several filterable properties:

  • the date the transaction was processed
  • the type and subtype of the transaction
  • an amount object, with value and the currency for that transfer amount

Simple filtering

The simplest form of filtering is exact matching. These can be done with simple query parameters on the GET operation to the collection, such as:

GET /transactions/pastTransactions?amount=210.50
GET /transactions/pastTransactions?date=2017-10-02&type=debit

As a convenience, the vertical bar character | may be used to separate between one choice or another:

GET /transactions/scheduledTransactions?state=inactive|pending

This means select items where state is either inactive or pending.

Range Filters

Range filters are flexible bounds for values. Filters can be set to a closed range of values (such as the start date and end date of a month) or they can be open ended (such as any amount over $100.00).

In general, the formatting for a range filter follows the below patterns with a lowerBound and a upperBound. Brackets [] are used for values that include the nearest bound. Parenthesis () are used for values that exclude the nearest bound. Brackets and parenthesis can be mixed together, as long as there is always an opening and closing character.

  • lowerBound matches the the value exactly
  • [lowerBound,upperBound] matches items where lowerBound <= value <= upperBound
  • [lowerBound,] matches items where value >= lowerBound
  • [,upperBound] matches items where value <= upperBound
  • (lowerBound,upperBound) matches items where lowerBound < value < upperBound
  • (lowerBound,) matches items where value > lowerBound
  • (,upperBound) matches items where value < upperBound
  • [lowerBound,upperBound) matches items where lowerBound <= value < upperBound
  • (lowerBound,upperBound] matches items where lowerBound < value <= upperBound
  • [lowerBound,) means lowerBound <= value (the equivalent of [lowerBound,])
  • (,upperBound] means upperBound <= value (the equivalent of [,upperBound])
  • [,upperBound) means upperBound < value (the equivalent of (,upperBound))

Specific documentation for the range type, such as amountRange and dateRange, is available in the API documentation.

Combining filters

When two or more of these filters are combined, they are joined with an implicit and operator.

For example, the query below matches only transactions that were posted on 2017-10-02 and transactions whose type is debit.

GET /transactions/pastTransactions?date=2017-10-02&type=debit

How can we help?

Get support for your issues.

Explore API Banking

  • API Digital Banking
  • Embedded Banking
  • Contact Us

Developers

  • Get Started Guide
  • API Reference
  • Embedded Banking

More

  • Apiture.com

Privacy Policy

© 2023 Apiture Inc.   |   All Rights Reserved