PimCore Asset Import
Es wird das Zusatzmodul “PIM System” benötigt
Im Multiflex muss Pim konfiguriert sein. Siehe PIM.
Das PimCoreAssetImportInterface kann mit 3 unterschiedlichen Actions gestartet werden
Action-Code | Action-Name | Beschreibung |
|---|---|---|
1 | GetChanges | Ruft den Endpunkt /api/erp/changes auf. Dabei wird der Zeitpunkt des letzten Aufrufs mitgegeben. Mit der Response wird die Tabelle PIM_ASSETS_QUEUE befüllt. Beim ersten Start dieser Action wird nur der Zeitpunkt des Aufrufs als letzter Zeitpunkt initialisiert. |
2 | UpdateAssets | |
3 | Full | Führt zuerst GetChanges und dann UpdateAssets durch |
<PimCoreAssetsImport>
<!-- ===================== -->
<!-- Database Configuration -->
<!-- ===================== -->
<DB>DB</DB>
<USER>SYSADM</USER>
<!-- Database user -->
<PASSWORD>SYSADM</PASSWORD>
<!-- Database password -->
<Loglevel>Detail</Loglevel>
<Action>1</Action>
<!-- ===================== -->
<!-- Mail / Notification Settings -->
<!-- ===================== -->
<ProtocolEMail>your.name@example.com</ProtocolEMail>
<!-- Recipient for protocol or logs -->
<SenderEMail>noreply@example.com</SenderEMail>
<!-- Sender email for notifications -->
<SmtpServer>smtp.example.com</SmtpServer>
<!-- SMTP server address -->
<SmtpUser>noreply@example.com</SmtpUser>
<!-- SMTP username -->
<SmtpPassword>your-secure-password</SmtpPassword>
<!-- SMTP password -->
<MailLevel>All</MailLevel>
<!-- Options: None | Error | Info | All -->
</PimCoreAssetsImport>