ImportProjectAsyncASAP
post
/import/importProjectAsyncASAP
Imports one or more new projects from an XML file asynchronously as a job. 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
Header Parameters
-
Authorization(required):
OAuth token
Supported Media Types
- multipart/form-data
Root Schema : AsyncASAPImportProject
Type:
object
Title:
AsyncASAPImportProject
AsyncASAPImportProject Entity
Show Source
Nested Schema : ImportProjectAsyncASAP
Type:
Show Source
object
-
CurrenciesImportInOption: string
Allowed Values:
[ "BASERATE", "XMLRATE" ]
-
FileType: string
Allowed Values:
[ "GZIP", "XML", "ZIP" ]
Specifies the file type that the system supports. -
IgnoreGUID: boolean
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.
-
IgnoreSequenceNumber: boolean
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: array
ImportProject
-
ImportTemplateName: string
-
ImportType: string
-
LogLevel: string
Allowed Values:
[ "SEVERE", "WARNING", "INFO", "CONFIG", "FINE", "FINER", "FINEST" ]
-
PreImportCustomizationTemplateName: string
Nested Schema : ImportProject
Type:
Show Source
array
-
Array of:
object ImportProject
Title:
ImportProject
ImportProject Entity
Nested Schema : ImportProject
Type:
object
Title:
ImportProject
ImportProject Entity
Show Source
-
EPSObjectId: integer
(int32)
If the ImportOption is Update Existing, then specifies the Project ID; if the ImportOption is Create New, then specifies the EPS ID.
-
ImportOption: string
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. -
ProjectObjectId: integer
(int32)
Specifies the Project Id to be imported.
Response
Supported Media Types
- application/json
201 Response
OK.
Root Schema : ImportProjectAsyncASAPResponse
Type:
object
Title:
ImportProjectAsyncASAPResponse
ImportProjectAsyncASAPResponse Entity
Show Source
400 Response
Bad Request.
401 Response
Unauthorized.
403 Response
Forbidden.
404 Response
Not Found.
405 Response
Invalid Input.
500 Response
Internal Server Error.