ImportProjects

post

/import/importProjects

Imports one or more new projects from an XML file. Each new project is created under the EPS specified by the EPSObjectId. When you call the ImportProjects operation, you specify one or more ImportProject elements. Each of these elements contain information about the project you are importing.

Request

Query Parameters
  • DownloadType is required to download Logfile of Import response, By default BOTH is enabled(Supported values - ATTACHMENT_ONLY,BOTH,RESPONSE_JSON_ONLY)
    Example:
    BOTH
Header Parameters
Supported Media Types
Request Body - multipart/form-data ()
Root Schema : ProjectsImport
Type: object
Title: ProjectsImport
ProjectsImport Entity
Show Source
Nested Schema : ImportProjects
Type: object
Show Source
  • BusinessObjectOptions
    Specifies which business objects to import according to the following rules: If no BusinessObjectOptions are specified, then all of the business objects in the project are imported. If any BusinessObjectOptions are specified, then only those business objects specified by the BusinessObjectOptions element are imported.
  • Allowed Values: [ "BASERATE", "XMLRATE" ]
  • Allowed Values: [ "CREATE_NEW", "DO_NOT_IMPORT", "KEEP_EXISTING", "UPDATE_EXISTING" ]
    Import options that may be applied to projects globally.
  • Allowed Values: [ "CREATE_NEW", "DO_NOT_IMPORT", "KEEP_EXISTING", "UPDATE_EXISTING" ]
    Import options that may be applied to specific projects.
  • Allowed Values: [ "GZIP", "XML", "ZIP" ]
    Specifies the file type that the system imports.
  • When this flag is set to true, the XMLImporter ignores all GUID fields in the XML file, and allows new GUID values to be generated. When this flag is set to false, the XMLImporter uses the GUID fields.
  • When this flag is set to true, the XMLImporter ignores all SequenceNumber fields in the XML file, and allows new SequenceNumber values to be generated. When this flag is set to false, XMLImporter uses the SequenceNumber fields.
  • ImportProject
  • Allowed Values: [ "SEVERE", "WARNING", "INFO", "CONFIG", "FINE", "FINER", "FINEST" ]
Nested Schema : BusinessObjectOptions
Type: object
Specifies which business objects to import according to the following rules: If no BusinessObjectOptions are specified, then all of the business objects in the project are imported. If any BusinessObjectOptions are specified, then only those business objects specified by the BusinessObjectOptions element are imported.
Show Source
Nested Schema : ImportProject
Type: array
Show Source
Nested Schema : GlobalBusinessObjectOptions
Type: object
Show Source
Nested Schema : ProjectSpecificBusinessObjectOptions
Type: object
Show Source
Nested Schema : BusinessObjectType
Type: object
Title: BusinessObjectType
BusinessObjectType Entity
Show Source
Nested Schema : DeleteUnreferencedType
Type: object
Show Source
Nested Schema : ImportProject
Type: object
Title: ImportProject
ImportProject Entity
Show Source
  • If the ImportOption is Update Existing, then specifies the Project ID; if the ImportOption is Create New, then specifies the EPS ID.
  • Allowed Values: [ "CREATE_NEW", "DO_NOT_IMPORT", "KEEP_EXISTING", "UPDATE_EXISTING" ]
    Specify Create New to import a project that already exists as a new project; specify Update Existing to import a project to update an existing project.
  • Specifies the Project Id to be imported.
Back to Top

Response

Supported Media Types

201 Response

OK.
Body ()
Root Schema : ImportProjectsResponse
Type: object
Title: ImportProjectsResponse
ImportProjectsResponse Entity
Show Source
  • If an exception is thrown, ErrorMessage contains the message part of the exception.
  • Contains the logging information from the ImportProjects operation.
  • ProjectObjectId
    The unique identifier of the project that was created or updated by the ImportProjects operation. If multiple objects are created, a list of project object IDs is returned.
  • Boolean flag that indicates whether the ImportProjects operation was successful.
Nested Schema : ProjectObjectId
Type: array
The unique identifier of the project that was created or updated by the ImportProjects operation. If multiple objects are created, a list of project object IDs is returned.
Show Source
  • The unique identifier of the project that was created or updated by the ImportProjects operation. If multiple objects are created, a list of project object IDs is returned.

400 Response

Bad Request.

401 Response

Unauthorized.

403 Response

Forbidden.

404 Response

Not Found.

405 Response

Invalid Input.

500 Response

Internal Server Error.
Back to Top