POST api/services/import/v1/import/startimport
Request Information
URI Parameters
None.
Body Parameters
ImportInformationName | Description | Type | Additional information |
---|---|---|---|
AsapCrmId | string |
None. |
|
ImportSettings | ImportSettings |
None. |
|
DataLocation | string |
None. |
|
ImportType | ImportType |
None. |
|
ImportMode | ImportMode |
None. |
|
UserData | UserData |
None. |
|
TargetTenant | string |
None. |
|
SourceTenant | string |
None. |
|
JobTitle | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "AsapCrmId": "sample string 4", "ImportSettings": { "ExecuteItemImport": true, "ExecuteDrawingUpload": true, "ExecuteBomImport": true, "ExecuteAttachmentUpload": true, "ExecuteCrmUpload": true, "ForceBomReset": true, "ForceItemReset": true, "ForceDrawingReset": true, "ForceAttachmentReset": true, "ParallelFlcForgeUpload": true, "DirectPublish": true, "PlantStructureImport_NestedFolders": true, "AdvancedSettingsCatalogMaintainer": true, "ExecuteKitUpload": true, "GeneratePartBook": true, "SecondDescriptionLanguageForPartBook": "sample string 16", "SearchInPlm": true, "SelectedPlmSystem": "sample string 18", "PostProcessSettings": { "StyleSheet": "sample string 1", "DeactivateFitToPaper": true, "DeleteAllDimensions": true, "DeleteAllPartsLists": true, "SetActiveWorkspaceTo": "sample string 5", "TitleBlocksToDelete": "sample string 6", "BordersToDelete": "sample string 7", "BlocksToDelete": "sample string 8", "ActivatePdfExport": true, "Division": "sample string 10", "ModelExport3D": true, "DeleteAllTexts": true, "DeleteAllSymbolsAndBlocks": true, "DeleteAllTitleBlocksAndBorders": true } }, "DataLocation": "sample string 1", "ImportType": "PID", "ImportMode": "Import", "UserData": { "Email": "sample string 1", "FirstName": "sample string 2", "LastName": "sample string 3", "UserId": "sample string 4", "Divisions": [ "sample string 1", "sample string 2" ], "UserLevel": 0, "IsAdmin": true }, "TargetTenant": "sample string 2", "SourceTenant": "sample string 3", "JobTitle": "sample string 4" }
application/xml, text/xml
Sample:
<ImportInformation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Andritz.AES.SPC.ImportTool.DataModels.JobInformation.Information"> <ImportMode>Import</ImportMode> <ImportType>PID</ImportType> <JobTitle>sample string 4</JobTitle> <SourceTenant>sample string 3</SourceTenant> <TargetTenant>sample string 2</TargetTenant> <UserData xmlns:d2p1="http://schemas.datacontract.org/2004/07/Andritz.AES.SPC.ImportTool.DataModels"> <d2p1:Divisions xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </d2p1:Divisions> <d2p1:Email>sample string 1</d2p1:Email> <d2p1:FirstName>sample string 2</d2p1:FirstName> <d2p1:LastName>sample string 3</d2p1:LastName> <d2p1:UserId>sample string 4</d2p1:UserId> <d2p1:UserLevel>Admin</d2p1:UserLevel> </UserData> <DataLocation>sample string 1</DataLocation> <ImportSettings xmlns:d2p1="http://schemas.datacontract.org/2004/07/Andritz.AES.SPC.ImportTool.DataModels"> <d2p1:AdvancedSettingsCatalogMaintainer>true</d2p1:AdvancedSettingsCatalogMaintainer> <d2p1:DirectPublish>true</d2p1:DirectPublish> <d2p1:ExecuteAttachmentUpload>true</d2p1:ExecuteAttachmentUpload> <d2p1:ExecuteBomImport>true</d2p1:ExecuteBomImport> <d2p1:ExecuteCrmUpload>true</d2p1:ExecuteCrmUpload> <d2p1:ExecuteDrawingUpload>true</d2p1:ExecuteDrawingUpload> <d2p1:ExecuteItemImport>true</d2p1:ExecuteItemImport> <d2p1:ExecuteKitUpload>true</d2p1:ExecuteKitUpload> <d2p1:ForceAttachmentReset>true</d2p1:ForceAttachmentReset> <d2p1:ForceBomReset>true</d2p1:ForceBomReset> <d2p1:ForceDrawingReset>true</d2p1:ForceDrawingReset> <d2p1:ForceItemReset>true</d2p1:ForceItemReset> <d2p1:GeneratePartBook>true</d2p1:GeneratePartBook> <d2p1:ParallelFlcForgeUpload>true</d2p1:ParallelFlcForgeUpload> <d2p1:PlantStructureImport_NestedFolders>true</d2p1:PlantStructureImport_NestedFolders> <d2p1:PostProcessSettings xmlns:d3p1="http://schemas.datacontract.org/2004/07/Andritz.AES.SPC.ImportTool.DataModels.Settings"> <d3p1:ActivatePdfExport>true</d3p1:ActivatePdfExport> <d3p1:BlocksToDelete>sample string 8</d3p1:BlocksToDelete> <d3p1:BordersToDelete>sample string 7</d3p1:BordersToDelete> <d3p1:DeactivateFitToPaper>true</d3p1:DeactivateFitToPaper> <d3p1:DeleteAllDimensions>true</d3p1:DeleteAllDimensions> <d3p1:DeleteAllPartsLists>true</d3p1:DeleteAllPartsLists> <d3p1:DeleteAllSymbolsAndBlocks>true</d3p1:DeleteAllSymbolsAndBlocks> <d3p1:DeleteAllTexts>true</d3p1:DeleteAllTexts> <d3p1:DeleteAllTitleBlocksAndBorders>true</d3p1:DeleteAllTitleBlocksAndBorders> <d3p1:Division>sample string 10</d3p1:Division> <d3p1:ModelExport3D>true</d3p1:ModelExport3D> <d3p1:SetActiveWorkspaceTo>sample string 5</d3p1:SetActiveWorkspaceTo> <d3p1:StyleSheet>sample string 1</d3p1:StyleSheet> <d3p1:TitleBlocksToDelete>sample string 6</d3p1:TitleBlocksToDelete> </d2p1:PostProcessSettings> <d2p1:SearchInPlm>true</d2p1:SearchInPlm> <d2p1:SecondDescriptionLanguageForPartBook>sample string 16</d2p1:SecondDescriptionLanguageForPartBook> <d2p1:SelectedPlmSystem>sample string 18</d2p1:SelectedPlmSystem> </ImportSettings> </ImportInformation>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of stringResponse Formats
application/json, text/json
Sample:
[ "sample string 1", "sample string 2" ]
application/xml, text/xml
Sample:
<ArrayOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <string>sample string 1</string> <string>sample string 2</string> </ArrayOfstring>