Class GroupsApiResource
java.lang.Object
org.apache.fineract.portfolio.group.api.GroupsApiResource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactivateOrGenerateCollectionSheet(Long groupId, String commandParam, Long roleId, String apiRequestBodyAsJson, jakarta.ws.rs.core.UriInfo uriInfo) jakarta.ws.rs.core.ResponsegetGroupsTemplate(Long officeId, Long staffId, String dateFormat) postGroupTemplate(InputStream uploadedInputStream, org.glassfish.jersey.media.multipart.FormDataContentDisposition fileDetail, String locale, String dateFormat) retrieveAccounts(Long groupId, jakarta.ws.rs.core.UriInfo uriInfo) retrieveAll(jakarta.ws.rs.core.UriInfo uriInfo, Long officeId, Long staffId, String externalId, String name, String hierarchy, Boolean paged, Integer offset, Integer limit, String orderBy, String sortOrder, Boolean orphansOnly) retrieveglimAccounts(Long groupId, String parentLoanAccountNo, jakarta.ws.rs.core.UriInfo uriInfo) retrieveGsimAccounts(Long groupId, String parentGSIMAccountNo, Long parentGSIMId, jakarta.ws.rs.core.UriInfo uriInfo) retrieveOne(jakarta.ws.rs.core.UriInfo uriInfo, Long groupId, boolean staffInSelectedOfficeOnly, Long roleId) retrieveTemplate(jakarta.ws.rs.core.UriInfo uriInfo, Long officeId, boolean isCenterGroup, Long centerId, String commandParam, boolean staffInSelectedOfficeOnly) unassignLoanOfficer(Long groupId, String apiRequestBodyAsJson)
-
Constructor Details
-
GroupsApiResource
public GroupsApiResource()
-
-
Method Details
-
retrieveTemplate
@GET @Path("template") @Consumes("application/json") @Produces("application/json") public String retrieveTemplate(@Context jakarta.ws.rs.core.UriInfo uriInfo, @QueryParam("officeId") Long officeId, @QueryParam("center") boolean isCenterGroup, @QueryParam("centerId") Long centerId, @QueryParam("command") String commandParam, @DefaultValue("false") @QueryParam("staffInSelectedOfficeOnly") boolean staffInSelectedOfficeOnly) -
retrieveAll
@GET @Consumes("application/json") @Produces("application/json") public String retrieveAll(@Context jakarta.ws.rs.core.UriInfo uriInfo, @QueryParam("officeId") Long officeId, @QueryParam("staffId") Long staffId, @QueryParam("externalId") String externalId, @QueryParam("name") String name, @QueryParam("underHierarchy") String hierarchy, @QueryParam("paged") Boolean paged, @QueryParam("offset") Integer offset, @QueryParam("limit") Integer limit, @QueryParam("orderBy") String orderBy, @QueryParam("sortOrder") String sortOrder, @QueryParam("orphansOnly") Boolean orphansOnly) -
retrieveOne
@GET @Path("{groupId}") @Consumes("application/json") @Produces("application/json") public String retrieveOne(@Context jakarta.ws.rs.core.UriInfo uriInfo, @PathParam("groupId") Long groupId, @DefaultValue("false") @QueryParam("staffInSelectedOfficeOnly") boolean staffInSelectedOfficeOnly, @QueryParam("roleId") Long roleId) -
create
-
unassignLoanOfficer
-
update
-
delete
-
activateOrGenerateCollectionSheet
@POST @Path("{groupId}") @Consumes("application/json") @Produces("application/json") public String activateOrGenerateCollectionSheet(@PathParam("groupId") Long groupId, @QueryParam("command") String commandParam, @QueryParam("roleId") Long roleId, String apiRequestBodyAsJson, @Context jakarta.ws.rs.core.UriInfo uriInfo) -
retrieveAccounts
-
getGroupsTemplate
-
postGroupTemplate
@POST @Path("uploadtemplate") @Consumes("multipart/form-data") public String postGroupTemplate(InputStream uploadedInputStream, org.glassfish.jersey.media.multipart.FormDataContentDisposition fileDetail, String locale, String dateFormat) -
retrieveglimAccounts
-
retrieveGsimAccounts
@GET @Path("{groupId}/gsimaccounts") @Consumes("application/json") @Produces("application/json") public String retrieveGsimAccounts(@PathParam("groupId") Long groupId, @QueryParam("parentGSIMAccountNo") String parentGSIMAccountNo, @QueryParam("parentGSIMId") Long parentGSIMId, @Context jakarta.ws.rs.core.UriInfo uriInfo)
-