diff --git a/j-lawyer-server/j-lawyer-io/src/java/org/jlawyer/io/rest/v1/CasesEndpointV1.java b/j-lawyer-server/j-lawyer-io/src/java/org/jlawyer/io/rest/v1/CasesEndpointV1.java index 71696a964..42e852998 100644 --- a/j-lawyer-server/j-lawyer-io/src/java/org/jlawyer/io/rest/v1/CasesEndpointV1.java +++ b/j-lawyer-server/j-lawyer-io/src/java/org/jlawyer/io/rest/v1/CasesEndpointV1.java @@ -751,6 +751,7 @@ public Response listCases() { rco.setId(id); rco.setExternalId(afb.getExternalId()); rco.setName(afb.getName()); + rco.setReason(afb.getReason()); rco.setFileNumber(afb.getFileNumber()); rco.setDateChanged(afb.getDateChanged()); rcoList.add(rco); diff --git a/j-lawyer-server/j-lawyer-io/src/java/org/jlawyer/io/rest/v1/pojo/RestfulCaseOverviewV1.java b/j-lawyer-server/j-lawyer-io/src/java/org/jlawyer/io/rest/v1/pojo/RestfulCaseOverviewV1.java index 9c6c1d7d1..208846ac1 100644 --- a/j-lawyer-server/j-lawyer-io/src/java/org/jlawyer/io/rest/v1/pojo/RestfulCaseOverviewV1.java +++ b/j-lawyer-server/j-lawyer-io/src/java/org/jlawyer/io/rest/v1/pojo/RestfulCaseOverviewV1.java @@ -676,6 +676,7 @@ public class RestfulCaseOverviewV1 { private String name=null; private String fileNumber=null; private Date dateChanged=null; + private String reason=null; public RestfulCaseOverviewV1() { } @@ -750,6 +751,20 @@ public void setDateChanged(Date dateChanged) { this.dateChanged = dateChanged; } + /** + * @return the reason + */ + public String getReason() { + return reason; + } + + /** + * @param reason the reason to set + */ + public void setReason(String reason) { + this.reason = reason; + } + } diff --git a/j-lawyer-server/j-lawyer-io/src/java/org/jlawyer/io/rest/v5/CasesEndpointV5.java b/j-lawyer-server/j-lawyer-io/src/java/org/jlawyer/io/rest/v5/CasesEndpointV5.java index 6835d8955..a126637ac 100644 --- a/j-lawyer-server/j-lawyer-io/src/java/org/jlawyer/io/rest/v5/CasesEndpointV5.java +++ b/j-lawyer-server/j-lawyer-io/src/java/org/jlawyer/io/rest/v5/CasesEndpointV5.java @@ -733,6 +733,7 @@ public Response getSynced(@PathParam("principalId") String principalId) { rco.setId(afb.getId()); rco.setExternalId(afb.getExternalId()); rco.setName(afb.getName()); + rco.setReason(afb.getReason()); rco.setFileNumber(afb.getFileNumber()); rco.setDateChanged(afb.getDateChanged()); rcoList.add(rco); diff --git a/j-lawyer-server/j-lawyer-io/src/java/org/jlawyer/io/rest/v5/ContactsEndpointV5.java b/j-lawyer-server/j-lawyer-io/src/java/org/jlawyer/io/rest/v5/ContactsEndpointV5.java index e096fa51f..b16ef9c5d 100644 --- a/j-lawyer-server/j-lawyer-io/src/java/org/jlawyer/io/rest/v5/ContactsEndpointV5.java +++ b/j-lawyer-server/j-lawyer-io/src/java/org/jlawyer/io/rest/v5/ContactsEndpointV5.java @@ -838,6 +838,7 @@ public Response getCasesForContact(@PathParam("id") String id) { rco.setId(afb.getId()); rco.setExternalId(afb.getExternalId()); rco.setName(afb.getName()); + rco.setReason(afb.getReason()); rco.setFileNumber(afb.getFileNumber()); rco.setDateChanged(afb.getDateChanged()); caseList.add(rco); diff --git a/j-lawyer-server/j-lawyer-io/src/java/org/jlawyer/io/rest/v7/CasesEndpointV7.java b/j-lawyer-server/j-lawyer-io/src/java/org/jlawyer/io/rest/v7/CasesEndpointV7.java index 063fc624f..5f4f976a7 100644 --- a/j-lawyer-server/j-lawyer-io/src/java/org/jlawyer/io/rest/v7/CasesEndpointV7.java +++ b/j-lawyer-server/j-lawyer-io/src/java/org/jlawyer/io/rest/v7/CasesEndpointV7.java @@ -878,6 +878,7 @@ public Response getCasesByTag(@PathParam("tag") String tag) { rco.setId(afb.getId()); rco.setExternalId(afb.getExternalId()); rco.setName(afb.getName()); + rco.setReason(afb.getReason()); rco.setFileNumber(afb.getFileNumber()); rco.setDateChanged(afb.getDateChanged()); rcoList.add(rco);