code: public String addClientNotification(RESTRequest request, int clientID, NotificationRegistration notificationRegistration, JSONConverter converter) {
          //Grab the client inbox
          ClientNotificationArea clientArea = getInboxIfAvailable(clientID, converter);
  
          //Create the client notification
          clientArea.addClientNotificationListener(request, notificationRegistration, converter);
  
          //Create the returning URL
          String encodedObjectName = null;
          try {
              encodedObjectName = URLEncoder.encode(notificationRegistration.objectName.getCanonicalName(), "UTF-8");
          } catch (UnsupportedEncodingException e) {
              throw ErrorHelper.createRESTHandlerJsonException(e, converter, APIConstants.STATUS_INTERNAL_SERVER_ERROR);
          }
          String registrationURL = APIConstants.JMX_CONNECTOR_API_ROOT_PATH + "/notifications/" + clientID + "/registrations/" + encodedObjectName;
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
              Tr.debug(tc, "Client[" + clientID + "] registered a client-side notification for ObjectName " + notificationRegistration.objectName.getCanonicalName());
          }
  
          return registrationURL;
      }
docs: Add a new client notification for the given client