Build and Configure Mainframe Integration Projects

Create a new mainframe file or directory

Creates a new mainframe file or directory in the specified pipeline with the provided content and application type.

Process Overview:

  1. Request Validation - Validates directory path, file/folder name, content, and application type
  2. File or Directory Creation - Creates the file with specified content, or creates a directory if directory=true

Directory Creation:

  • Request directory creation by setting directory=true in the request body. When creating a directory, fileContent must be null.
  • Provide the directory structure in the path field (e.g. '/path/to') and the folder name in the name field.
  • Use "/" for root directory path.

File Creation:

  • Provide the directory path in the path field and the filename (with extension) in the name field.
  • Upload the file content via the multipart fileContent field.

File Application Types:

  • ENGINE_SCRIPT - Script files for execution engine
  • CONFIGURATION - Configuration files

Required Permissions: replication-pipeline::create when permission harmonization is enabled; otherwise, replication-pipeline::manage.

post/v1/integration/mainframe/projects/{projectId}/pipelines/{pipelineId}/files

Request

  • Base URL: https://integration-adapter.connect.cloud.precisely.com
  • URL: https://integration-adapter.connect.cloud.precisely.com/v1/integration/mainframe/projects/{projectId}/pipelines/{pipelineId}/files
  • Auth: HTTP bearer

Path parameters

projectIdstring required

Unique identifier of the project

pipelineIdstring required

Unique identifier of the pipeline

Response

File or directory created successfully. Location header contains the URI of the newly created file for future reference.

Changes

No recorded changes to this operation across all 1 revision of this API.