fineract-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lionel Raymundi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FINERACT-552) Return Id when creating a record in datatable
Date Thu, 09 Nov 2017 13:35:00 GMT
Lionel Raymundi created FINERACT-552:
----------------------------------------

             Summary: Return Id when creating a record in datatable
                 Key: FINERACT-552
                 URL: https://issues.apache.org/jira/browse/FINERACT-552
             Project: Apache Fineract
          Issue Type: Bug
            Reporter: Lionel Raymundi
            Assignee: Markus Geiss
            Priority: Minor


After creating a new entry in a datatable, the id of the new record is not returned. Returning
the new entity's id is a common practice after any creation action.

For example, for a new item created on a client datatable the response is this json:
{
clientId: 852,
officeId: 1,
resourceId: 852
}

As you can see, both clientId and resourceId are the same and represent the id of the client
for which I added the datatable record.
This behaviour can be tested on demo environment, by going to https://demo.openmf.org/#/viewclient/852?fromEntity=client
and adding an entry to the FAMILY DETAILS data table




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message