Actions41
- Склады Продавца Actions
- Остатки На Складах Продавца Actions
- Категории Предметы И Характеристики Actions
- Создание Карточек Товаров Actions
- Карточки Товаров Actions
- Медиафайлы Actions
- Ярлыки Actions
- Цены И Скидки Actions
Overview
This node interacts with the "Цены И Скидки" (Prices and Discounts) resource of an API, specifically to retrieve historical task data related to uploads. The "Get History Tasks" operation fetches the history of tasks associated with a particular upload ID. This can be useful for tracking changes, auditing past operations, or monitoring the status and results of previous uploads.
Practical examples include:
- Retrieving the processing history of price updates uploaded to a system.
- Auditing discount application tasks by their upload identifiers.
- Monitoring task completion or failure statuses linked to specific upload batches.
Properties
| Name | Meaning |
|---|---|
| Upload ID | The unique identifier of the upload whose history tasks are to be retrieved. Must be provided as a number. |
Output
The node outputs JSON data representing the history tasks related to the specified upload ID. The exact structure depends on the API response but typically includes details such as task IDs, statuses, timestamps, and possibly error messages or results of each task.
If the node supports binary data output, it would represent files or attachments related to the history tasks, but based on the provided code and properties, the primary output is JSON.
Dependencies
- Requires an API key credential for authentication with the external service providing the "Цены И Скидки" API.
- The base URL and request headers are configured internally using a Swagger/OpenAPI specification.
- No additional environment variables or external services are explicitly required beyond the API authentication.
Troubleshooting
- Missing or invalid Upload ID: Ensure that the "Upload ID" property is provided and is a valid number. Omitting this will likely cause the API call to fail.
- Authentication errors: Verify that the API key credential is correctly set up and has sufficient permissions.
- Network issues or incorrect base URL: Confirm network connectivity and that the base URL configured matches the target API endpoint.
- Unexpected API responses: If the API returns errors or unexpected data, check the upload ID validity and consult the API documentation for possible reasons.
Links and References
- Refer to the official API documentation for "Цены И Скидки" for detailed information about the "Get History Tasks" endpoint.
- n8n documentation on creating and configuring custom nodes: https://docs.n8n.io/integrations/creating-nodes/
- Swagger/OpenAPI specifications used internally for request building.