code: public String sendData(String jsonSource, String index, String type) {
          return sendData(jsonSource, index, type, null).getId();
      }
docs: Send data string.
  
  @param jsonSource the json source
  @param index      the index
  @param type       the type
  @return the string