Make parameter state in POST /rest/notifications optional.