Skip to main content

Groupsearchcriteria

Wrapper that holds a list of filtering criteria and a sorting criteria for Groups client directed query

filterCriteria object[]required

The list of filtering criteria

  • Array [
  • fieldstringrequired

    The fields to perform the search. They can be native (one from the provided list) or otherwise can specify a custom field definition using the format [customFieldSetId].[customFieldId].

    Possible values: [encodedKey, id, creationDate, groupRoleKey, branchKey, centreKey, creditOfficerKey, groupName, lastModifiedDate, preferredLanguage, depositsBalance, loansBalance, totalBalance, numberOfMembers, loanCycle]

    operatorstringrequired
    OperatorAffected valuesAvailable for
    EQUALSONE_VALUEBIG_DECIMAL,BOOLEAN,LONG,MONEY,NUMBER,PERCENT,STRING,ENUM,KEY
    EQUALS_CASE_SENSITIVEONE_VALUEBIG_DECIMAL,BOOLEAN,LONG,MONEY,NUMBER,PERCENT,STRING,ENUM,KEY
    MORE_THANONE_VALUEBIG_DECIMAL,NUMBER,MONEY
    LESS_THANONE_VALUEBIG_DECIMAL,NUMBER,MONEY
    BETWEENTWO_VALUESBIG_DECIMAL,NUMBER,MONEY,DATE,DATE_TIME
    ONONE_VALUEDATE,DATE_TIME
    AFTERONE_VALUEDATE,DATE_TIME
    BEFOREONE_VALUEDATE,DATE_TIME
    BEFORE_INCLUSIVEONE_VALUEDATE,DATE_TIME
    STARTS_WITHONE_VALUESTRING
    STARTS_WITH_CASE_SENSITIVEONE_VALUESTRING
    INLISTENUM,KEY
    TODAYNO_VALUEDATE,DATE_TIME
    THIS_WEEKNO_VALUEDATE,DATE_TIME
    THIS_MONTHNO_VALUEDATE,DATE_TIME
    THIS_YEARNO_VALUEDATE,DATE_TIME
    LAST_DAYSONE_VALUENUMBER
    EMPTYNO_VALUEBIG_DECIMAL,LONG,MONEY,NUMBER,PERCENT,STRING,ENUM,KEY,DATE,DATE_TIME
    NOT_EMPTYNO_VALUEBIG_DECIMAL,LONG,MONEY,NUMBER,PERCENT,STRING,ENUM,KEY,DATE,DATE_TIME

    Possible values: [EQUALS, EQUALS_CASE_SENSITIVE, DIFFERENT_THAN, MORE_THAN, LESS_THAN, BETWEEN, ON, AFTER, AFTER_INCLUSIVE, BEFORE, BEFORE_INCLUSIVE, STARTS_WITH, STARTS_WITH_CASE_SENSITIVE, IN, TODAY, THIS_WEEK, THIS_MONTH, THIS_YEAR, LAST_DAYS, EMPTY, NOT_EMPTY]

    secondValuestring

    The second value to match the searching criteria, when the BETWEEN operator is used.

    valuestring

    The value to match the searching criteria.

    valuesstring[]

    List of values when the IN operator is used.

  • ]
  • sortingCriteria object

    The sorting criteria used for Groups search

    fieldstringrequired

    The field to sort by. It can be a native field (one from the provided list) or otherwise can specify a custom field definitionusing the format [customFieldSetId].[customFieldId].

    Possible values: [encodedKey, id, creationDate, groupName, lastModifiedDate, depositsBalance, loansBalance, totalBalance, loanCycle]

    orderstring

    The sorting order: ASC or DESC. The default order is DESC.

    Possible values: [ASC, DESC]

    Groupsearchcriteria
    {
    "filterCriteria": [
    {
    "field": "encodedKey",
    "operator": "EQUALS",
    "secondValue": "string",
    "value": "string",
    "values": [
    "string"
    ]
    }
    ],
    "sortingCriteria": {
    "field": "encodedKey",
    "order": "ASC"
    }
    }