Uploaded image for project: 'Apache Fineract'
  1. Apache Fineract
  2. FINERACT-1364

Missmatch datatype in groups field of client model "GetClientsClientIdResponse"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.6.0
    • None

    Description

      The generated Fineract-client model "GetClientsClientIdResponse" has invalid group fields. The model class expects List<String> as groups find but backend send the below Object for endpoint clients/{clientId}. 

      { "id": 13, "accountNo": "000000013", "name": "Test" }

      Checkout the below screenshots for model expectations and backend response.

      Attachments

        1. Screenshot 2021-07-28 at 2.28.17 PM.png
          334 kB
          Danish Jamal
        2. Screenshot 2021-07-28 at 2.30.33 PM.png
          141 kB
          Danish Jamal

        Issue Links

          Activity

            People

              danishjamal Danish Jamal
              danishjamal Danish Jamal
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: