Description
"GetSavingsTimeline" generated class only defines the "submittedOnDate" field, but the backend returns many more fields which is causing the data loss. Check out below snippets for comparison.
// GetSavingsTimeline public static final String SERIALIZED_NAME_SUBMITTED_ON_DATE = "submittedOnDate"; @SerializedName("submittedOnDate") private Date submittedOnDate;
// actual json response "timeline": { "submittedOnDate": [ 2021, 3, 20 ], "submittedByUsername": "mifos", "submittedByFirstname": "App", "submittedByLastname": "Administrator", "approvedOnDate": [ 2021, 8, 11 ], "approvedByUsername": "mifos", "approvedByFirstname": "App", "approvedByLastname": "Administrator", "activatedOnDate": [ 2021, 8, 12 ], "activatedByUsername": "mifos", "activatedByFirstname": "App", "activatedByLastname": "Administrator" }
Attachments
Issue Links
- links to