Parameters |
Description |
TYPE |
Type of task to be carried out:
|
IMPORTFILE |
The directory and the name of the file to be imported must be specified here. Applies only for IMPORT. |
EXPORTFILE |
The directory and the name of the file to be exported must be specified here. The system adds a file name extension automatically. Applies only to EXPORT. |
FORMAT |
Optional: File format (
|
PARTNUMBER |
Optional: Is used to export parts. Part number of the part. |
MANUFACTURER |
Optional: Is used to export addresses. Full name of an address. |
CONSTRUCTION |
Optional: Is used to export drilling patterns. Name of the drilling pattern. |
CONNECTIONPOINTPATTERN |
Optional: Is used to export connection point patterns. Name of the connection point pattern. |
ACCESSORYLIST |
Optional: Is used to export accessory lists. Name of the accessory list. |
ACCESSORYPLACEMENT |
Optional: Is used to export accessory placements. Name of the accessory placement. |
MODE |
Optional: Import mode. Supported modes are:
|
ADDITIONAL_LANGUAGE |
Optional. Only applies if TYPE = IMPORT. If the value of this parameter is 1, the multilingual properties will be updated with other language values. If the parameter is left out, the file content will replace the values of multilingual properties. |
FILTERSCHEME |
Filter scheme for the export of parts. |
PROPERTYIDn |
Part property number (ID). Whereby "n" in |
PROPERTYVALUEn |
Value of the specified part property number. Whereby "n" in |
Note:
To export more than one record please use the parameters for this record type as well as a counter with the following number of the exported record (for the record type "Part", for example
Export:
partsmanagementapi /TYPE:EXPORT /EXPORTFILE:C:\temp\PartsList.xml /PARTNUMBER:A-B.100-C09EJ01 /MANUFACTURER:LAPP /CONSTRUCTION:A-B.100-C_FS0_I_CH_DP
Import:
partsmanagementapi /TYPE:IMPORT /MODE:1 /IMPORTFILE:C:\temp\PartsList.xml
Export of filtered records:
partsmanagementapi /TYPE:EXPORT /FILTERSCHEME:ExportFilterScheme /EXPORTFILE:C:\temp\PartsList.xml
partsmanagementapi /TYPE:EXPORTPARTS /PROPERTYID1:22024 /PROPERTYVALUE1:2 /PROPERTYID2:22007 /PROPERTYVALUE2:ABB /EXPORTFILE:C:\temp\PartsList