Interface RestAPIContext


  • public interface RestAPIContext
    This class provide access to the data relative to the context in which the Rest API extension is called
    Since:
    7.2.0
    • Method Detail

      • getApiClient

        org.bonitasoft.engine.api.APIClient getApiClient()
        The APIClient is used to access business data and Bonita APIs such as:
        • IdentityAPI,
        • ProcessAPI,
        • ...
        Returns:
        an engine APIClient logged to the current APISession
      • getApiSession

        org.bonitasoft.engine.session.APISession getApiSession()
        Returns:
        Current engine APISession
      • getLocale

        java.util.Locale getLocale()
        Returns:
        Current selected Locale in BonitaBPM Portal