Shopware icon

Shopware

Shopware

Actions778

Import Export Log → Create Import Export Log

AI-generated

Overview

This node operation creates a new Import Export Log entry in the Shopware system. It is useful for tracking import and export activities, including details such as activity type, state, number of records processed, user information, profile, file details, and logs for invalid or failed records. This operation is beneficial for monitoring data import/export processes and debugging issues by logging relevant metadata and results.

Use Case Examples

  1. Creating a log entry after importing product data to track the import activity, state, and number of records processed.
  2. Logging export activities with detailed user and profile information for audit purposes.

Properties

Name Meaning
Response Data format for response, either basic or detailed.
Id Unique identifier for the import export log entry.
Activity Type of activity being logged (e.g., import or export).
State Current state of the import/export process.
Records Number of records processed in the import/export operation.
User Id Identifier of the user associated with the log entry.
Profile Id Identifier of the profile related to the import/export operation.
File Id Identifier of the file involved in the import/export process.
Invalid Records Log Id Identifier for the log of invalid records encountered during the process.
Username Username of the user associated with the log entry.
Profile Name Name of the profile related to the import/export operation.
Config Configuration details for the import/export operation, provided as JSON.
Result Result details of the import/export operation, provided as JSON.
Created At Timestamp when the log entry was created.
Updated At Timestamp when the log entry was last updated.
User Detailed user information associated with the log entry, provided as JSON.
Profile Detailed profile information related to the import/export operation, provided as JSON.
File Detailed file information involved in the import/export process, provided as JSON.
Invalid Records Log Detailed log of invalid records encountered during the import/export process, provided as JSON.
Failed Import Log Detailed log of failed import attempts during the import/export process, provided as JSON.

Output

JSON

  • id - Unique identifier of the created import export log entry.
  • activity - Type of activity logged.
  • state - Current state of the import/export process.
  • records - Number of records processed.
  • userId - User identifier associated with the log.
  • profileId - Profile identifier related to the operation.
  • fileId - File identifier involved in the process.
  • invalidRecordsLogId - Identifier for invalid records log.
  • username - Username of the associated user.
  • profileName - Name of the profile.
  • config - Configuration details as JSON.
  • result - Result details as JSON.
  • createdAt - Creation timestamp.
  • updatedAt - Last update timestamp.
  • user - Detailed user information as JSON.
  • profile - Detailed profile information as JSON.
  • file - Detailed file information as JSON.
  • invalidRecordsLog - Detailed invalid records log as JSON.
  • failedImportLog - Detailed failed import log as JSON.

Dependencies

  • Shopware API with appropriate credentials

Troubleshooting

  • Ensure all required fields (Id, Activity, State, Records, Config) are provided to avoid validation errors.
  • Check JSON formatting for Config, Result, User, Profile, File, Invalid Records Log, and Failed Import Log fields to prevent parsing errors.
  • Verify API credentials and endpoint URL to ensure successful connection to the Shopware API.

Discussion