public Notification updateNotification ( BigInteger alertId , BigInteger notificationId , Notification notification ) throws IOException , TokenExpiredException { String requestUrl = RESOURCE + "/" + alertId . toString ( ) + "/notifications/" + notificationId . toString ( ) ; ArgusResponse response = getClient ( ) . executeHttpRequest ( ArgusHttpClient . RequestType . PUT , requestUrl , notification ) ; assertValidResponse ( response , requestUrl ) ; return fromJson ( response . getResult ( ) , Notification . class ) ; }
Updates an existing notification .