code: public String addServerNotificationHTTP(RESTRequest request, int clientID, ServerNotificationRegistration serverNotificationRegistration,
                                              JSONConverter converter) {
          //Get the client area
          ClientNotificationArea clientArea = getInboxIfAvailable(clientID, converter);
  
          //Since this is not coming from our java client, the registration object will not have any IDs on them. So set the IDs before continuing.
          serverNotificationRegistration.filterID = clientArea.getParamId(serverNotificationRegistration.filter);
          serverNotificationRegistration.handbackID = clientArea.getParamId(serverNotificationRegistration.handback);
  
          //Register with our client area (will also register with the MBeanServer)
          clientArea.addServerNotificationListener(request, serverNotificationRegistration, converter);
  
          //We encode the filter and handback IDs in the returning URL so that we can match these during removal time
          String returningURL = APIConstants.JMX_CONNECTOR_API_ROOT_PATH +
                                "/notifications/" +
                                clientID +
                                "/serverRegistrations/" +
                                RESTHelper.URLEncoder(serverNotificationRegistration.objectName.getCanonicalName(), converter) +
                                "/listeners/" +
                                RESTHelper.URLEncoder(serverNotificationRegistration.listener.getCanonicalName(), converter) +
                                "/ids/" +
                                serverNotificationRegistration.filterID + "_" + serverNotificationRegistration.handbackID;
  
          return returningURL;
      }
docs: Add a new server notification registration.
  This method is only invoked by clients other than our java client.