docs: public Result<Void> writeDataPoints(Series series, List<DataPoint> data) {
      checkNotNull(series);
      checkNotNull(data);
  
      URI uri = null;
      try {
        URIBuilder builder = new URIBuilder(String.format("/%s/series/key/%s/data/", API_VERSION, urlencode(series.getKey())));
        uri = builder.build();
      } catch (URISyntaxException e) {
        String message = String.format("Could not build URI with inputs: key: %s", series.getKey());
        throw new IllegalArgumentException(message, e);
      }
  
      Result<Void> result = null;
      String body = null;
      try{
        body = Json.dumps(data);
      } catch (JsonProcessingException e) {
        String message = "Error serializing the body of the request. More detail: " + e.getMessage();
        result = new Result<Void>(null, GENERIC_ERROR_CODE, message);
        return result;
      }
  
      HttpRequest request = buildRequest(uri.toString(), HttpMethod.POST, body);
      result = execute(request, Void.class);
      return result;
    }