code: @PostMapping("/createIntegratedEntity")
    public String createIntegratedEntity(
        @RequestParam String mappingProjectId,
        @RequestParam String targetEntityTypeId,
        @RequestParam(required = false) String label,
        @RequestParam(required = false, name = "package") String packageId,
        @RequestParam(required = false) Boolean addSourceAttribute) {
      if (label != null && label.trim().isEmpty()) {
        label = null;
      }
  
      String mappingJobExecutionHref =
          submitMappingJob(mappingProjectId, targetEntityTypeId, addSourceAttribute, packageId, label)
              .getBody();
      return format(
          "redirect:{0}", jobsController.createJobExecutionViewHref(mappingJobExecutionHref, 1000));
    }
docs: Creates the integrated entity for a mapping project's target
  
  @param mappingProjectId ID of the mapping project
  @param targetEntityTypeId ID of the target entity to create or update
  @param label label of the target entity to create
  @param packageId ID of the package to put the newly created entity in
  @return redirect URL to the data explorer displaying the newly generated entity