Class OfficesApiResource
java.lang.Object
org.apache.fineract.organisation.office.api.OfficesApiResource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateOffice(String apiRequestBodyAsJson) jakarta.ws.rs.core.ResponsegetOfficeTemplate(String dateFormat) postOfficeTemplate(InputStream uploadedInputStream, org.glassfish.jersey.media.multipart.FormDataContentDisposition fileDetail, String locale, String dateFormat) retrieveOffice(Long officeId, jakarta.ws.rs.core.UriInfo uriInfo) org.apache.fineract.organisation.office.api.OfficesApiResourceSwagger.GetOfficesResponseretrieveOfficeByExternalId(String externalId, jakarta.ws.rs.core.UriInfo uriInfo) retrieveOffices(jakarta.ws.rs.core.UriInfo uriInfo, boolean onlyManualEntries, String orderBy, String sortOrder) retrieveOfficeTemplate(jakarta.ws.rs.core.UriInfo uriInfo) updateOffice(Long officeId, String apiRequestBodyAsJson) org.apache.fineract.organisation.office.api.OfficesApiResourceSwagger.PutOfficesOfficeIdResponseupdateOfficeWithExternalId(String externalId, org.apache.fineract.organisation.office.api.OfficesApiResourceSwagger.PutOfficesOfficeIdRequest apiRequestBody)
-
Constructor Details
-
OfficesApiResource
public OfficesApiResource()
-
-
Method Details
-
retrieveOffices
@GET @Consumes("application/json") @Produces("application/json") public String retrieveOffices(@Context jakarta.ws.rs.core.UriInfo uriInfo, @DefaultValue("false") @QueryParam("includeAllOffices") boolean onlyManualEntries, @QueryParam("orderBy") String orderBy, @QueryParam("sortOrder") String sortOrder) -
retrieveOfficeTemplate
@GET @Path("template") @Consumes("application/json") @Produces("application/json") public String retrieveOfficeTemplate(@Context jakarta.ws.rs.core.UriInfo uriInfo) -
createOffice
-
retrieveOffice
-
retrieveOfficeByExternalId
@GET @Path("/external-id/{externalId}") @Consumes("application/json") @Produces("application/json") public org.apache.fineract.organisation.office.api.OfficesApiResourceSwagger.GetOfficesResponse retrieveOfficeByExternalId(@PathParam("externalId") String externalId, @Context jakarta.ws.rs.core.UriInfo uriInfo) -
updateOffice
-
updateOfficeWithExternalId
@PUT @Path("/external-id/{externalId}") @Consumes("application/json") @Produces("application/json") public org.apache.fineract.organisation.office.api.OfficesApiResourceSwagger.PutOfficesOfficeIdResponse updateOfficeWithExternalId(@PathParam("externalId") String externalId, org.apache.fineract.organisation.office.api.OfficesApiResourceSwagger.PutOfficesOfficeIdRequest apiRequestBody) -
getOfficeTemplate
@GET @Path("downloadtemplate") @Produces("application/vnd.ms-excel") public jakarta.ws.rs.core.Response getOfficeTemplate(@QueryParam("dateFormat") String dateFormat) -
postOfficeTemplate
@POST @Path("uploadtemplate") @Consumes("multipart/form-data") public String postOfficeTemplate(InputStream uploadedInputStream, org.glassfish.jersey.media.multipart.FormDataContentDisposition fileDetail, String locale, String dateFormat)
-