code: private boolean createTransformTask(Integer importJobId, Integer taskId, RESTTransform transformTask)
          throws URISyntaxException, HttpException {
  
          LOG.debug("Creating a new transform task for import job" + importJobId + " and task " + taskId);
  
          mapper.disable(SerializationFeature.WRAP_ROOT_VALUE);
  
          Response httpResponse = HttpUtil.post(
              this.addEndPoint(importJobId + "/tasks/" + taskId + "/transforms"),
              this.asJSON(transformTask),
              ContentType.APPLICATION_JSON,
              this.username,
              this.password
          );
  
          mapper.enable(SerializationFeature.WRAP_ROOT_VALUE);
  
          if (httpResponse.getStatusCode().equals(HttpStatus.CREATED)) {
              LOG.debug("Successfully created the transform task");
              return true;
          } else {
              LOG.error("Error while creating the transform task");
              return false;
          }
      }
docs: Helper method to create an importer transformTask