Interface PermissionsApi


public interface PermissionsApi
  • Method Details

    • retrieveAllPermissions

      @GET("v1/permissions") retrofit2.Call<List<GetPermissionsResponse>> retrieveAllPermissions()
      List Application Permissions ARGUMENTS makerCheckerableoptional, Values are true, false. Default is false. If makerCheckerable=false or not supplied then a list of application permissions is returned. The \"selected\" attribute is always true in this case. If makerCheckerable=true then the \"selected\" attribute shows whether the permission is enabled for Maker Check functionality. Note: Each Apache Fineract transaction is associated with a permission. Example Requests: permissions permissions?makerCheckerable=true permissions?fields=grouping,code
      Returns:
      Call<List<GetPermissionsResponse>>
    • updatePermissionsDetails

      @Headers("Content-Type:application/json") @PUT("v1/permissions") retrofit2.Call<CommandProcessingResult> updatePermissionsDetails(@Body PutPermissionsRequest putPermissionsRequest)
      Enable/Disable Permissions for Maker Checker
      Parameters:
      putPermissionsRequest - (required)
      Returns:
      Call<CommandProcessingResult>
    • retrieveAllPermissions

      @GET("v1/permissions") retrofit2.Call<List<GetPermissionsResponse>> retrieveAllPermissions(@HeaderMap Map<String,String> headers)
      List Application Permissions ARGUMENTS makerCheckerableoptional, Values are true, false. Default is false. If makerCheckerable=false or not supplied then a list of application permissions is returned. The \"selected\" attribute is always true in this case. If makerCheckerable=true then the \"selected\" attribute shows whether the permission is enabled for Maker Check functionality. Note: Each Apache Fineract transaction is associated with a permission. Example Requests: permissions permissions?makerCheckerable=true permissions?fields=grouping,code
      Returns:
      Call<List<GetPermissionsResponse>>
    • updatePermissionsDetails

      @Headers("Content-Type:application/json") @PUT("v1/permissions") retrofit2.Call<CommandProcessingResult> updatePermissionsDetails(@Body PutPermissionsRequest putPermissionsRequest, @HeaderMap Map<String,String> headers)
      Enable/Disable Permissions for Maker Checker
      Parameters:
      putPermissionsRequest - (required)
      Returns:
      Call<CommandProcessingResult>