DocsOmniFi APIsChangelog
SkySparcContact UsLog In
OmniFi APIs

Import

api/autotest/workspaces/{WorkspaceId}/testplan/import

Imports one or more collateral archives into the specified workspace.
The target location can be specified via either NodeId or Path (mutually exclusive).
Exactly one of NodeId or Path must be specified.
The archive files should be embedded in the request body as multipart/form-data
with application/zip content type.

Path Params
int32
required
≥ 1

The ID of the workspace to import into.

Query Params
int32

(Optional) The ID of the inner node to import into.
Mutually exclusive with Path parameter.

string

(Optional) The slash-separated path of the test plan inner node to import into.
Mutually exclusive with NodeId parameter.

int32

(Optional) The ID of the test plan to import to, or null to import to the repository.
Used in conjunction with Path parameter.

boolean
Defaults to false

(Optional) Map imported files to files in the workspace (default:false)

boolean
Defaults to true

(Optional) Map imported logins to logins in the workspace (default:true)

boolean
Defaults to true

(Optional) Map imported variables to variables in the workspace (default:true)

boolean
Defaults to true

(Optional) Map imported testcases to testcases in the workspace (default:true)

Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json