Application API

The Application Service is a component at the service layer of the BDK which aims to cover the Applications part of the REST API documentation. More precisely:

How to use

The central component for the Application Service is the ApplicationService class. This class exposes the user-friendly service APIs which serve all the services mentioned above and is accessible from the SymphonyBdk object by calling the applications() method:

@Slf4j
public class Example {
  public static final String APP_ID = "MY_APP_ID";

  public static void main(String[] args) throws Exception {
    // Create BDK entry point
    final SymphonyBdk bdk = new SymphonyBdk(loadFromClasspath("/config.yaml"));

    // Get an application details by id
    ApplicationService applications = bdk.applications();
    ApplicationDetail applicationDetails = applications.getApplication(APP_ID);
    log.info("Application details: " + applicationDetails);
  }
}