WbReports icon

WbReports

n8n node to interact with WB API

Actions26

Overview

This node interacts with a paid storage reporting API to retrieve usage data for a specified date range. It is useful for businesses or users who need to monitor and analyze their paid storage consumption over time, enabling them to track costs or optimize storage usage.

A practical example would be generating a report of paid storage usage from January 1, 2022, to January 9, 2022, to understand how much storage was consumed during that period.

Properties

Name Meaning
Date From The start date of the reporting period in RFC3339 format. Examples: 2019-06-20, 2019-06-20T23:59:59.
Date To The end date of the reporting period in RFC3339 format. Examples: 2019-06-20, 2019-06-20T23:59:59.

Output

The node outputs JSON data containing the paid storage report for the specified date range. This typically includes details about storage usage metrics within the requested period.

If binary data were involved (not indicated here), it would represent files or documents related to the report, but this node focuses on JSON structured data.

Dependencies

  • Requires an API key credential for authentication to access the paid storage reporting API.
  • The node uses a base URL defined in its configuration to send requests.
  • No additional external dependencies are indicated beyond the API service.

Troubleshooting

  • Invalid Date Format: If the dates provided do not conform to RFC3339, the API may reject the request. Ensure dates are correctly formatted.
  • Missing Required Parameters: Both "Date From" and "Date To" are required. Omitting either will cause errors.
  • Authentication Errors: If the API key or credentials are missing or invalid, the node will fail to authenticate.
  • Empty or Unexpected Response: If no data exists for the given date range, the output might be empty or minimal; verify the date range correctness.

Links and References

  • RFC3339 Date/Time Format
  • Documentation for the paid storage API (not provided here) should be consulted for detailed response structure and additional parameters.

Discussion