User API

The User Service is a component at the service layer of the BDK which covers the User part of the REST API documentation. More precisely:

How to use

The central component for the User Service is the UserService class, it exposes the service APIs endpoints mentioned above. The service is accessible from theSymphonyBdk object by calling the users() method:

public class Example {
  public static final Long USER_ID = 123456789L;

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

    // Get user details
    UserService users = bdk.users();
    V2UserDetail userDetail = users.getUserDetail(USER_ID);"User details: " + userDetail);