Description: 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.
Service: Import Service
Style: Document/literal wrapped
Input:
Message: ImportProjectAsyncASAP
Elements: ImportProjectAsyncASAP elements that contain the following elements:
|
|
|
---|---|---|
CurrenciesImportInOption | string baserate | Specifies whether to use the currency exchange rate in the database or the currency exchange rate in the xml for import. Selecting the baserate option, will cause costs in the xml file to be converted using the currency exchange rates to ensure that the costs imported are the same as those which were exported. Selecting the xml option will not convert currencies so the costs imported may differ from those which were exported. |
ImportProject | ImportProject |
|
ImportType | string |
|
ImportTemplateName | string |
|
PreImportCustomizationTemplateName | string |
|
FileType | FileType string restricted to | 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. |
LogLevel | LogLevel |
|
ProjectData | base64Binary | This element contains a reference to the data that is outside the SOAP message in compliance with MTOM specification. |
BusinessObjectOptions | BusinessObjectOptions
ProjectSpecific
| 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. |
Output:
Message: ImportProjectAsyncASAPResponse
Elements:
|
|
|
---|---|---|
ErrorMessage | string | If an exception is thrown, ErrorMessage contains the message part of the exception. |
ProjectObjectId | int | The unique identifier of the project that was created or updated by the ImportProjectAsyncASAP operation. If multiple objects are created, a list of project object IDs is returned. |
Success | boolean | Boolean flag that indicates whether the ImportProjectAsyncASAP operation was successful. |
SuccessMessage | string | The message returned if the ImportProjectAsyncASAP operation was successful. |