avanta icon

avanta

Consume avanta API

Actions57

Servicecenter - Reshipment → Get Many

AI-generated

Overview

This node operation retrieves multiple reshipment records from the Servicecenter resource. It is useful for scenarios where you need to fetch a list of reshipments, optionally including detailed position data, and apply filters or limits to the results. For example, it can be used to get all reshipments within a certain timeframe or matching specific criteria, with options to debug the API request or handle SSL issues.

Use Case Examples

  1. Fetching all reshipments with their positions included for detailed analysis.
  2. Retrieving a limited number of reshipments with a JSON filter applied to narrow down results.
  3. Using debug mode to troubleshoot API request details when fetching reshipments.

Properties

Name Meaning
Request Options Options to control API request behavior such as enabling debug mode, ignoring SSL certificate issues, and setting request timeout.
With Positions Whether to include detailed position data in the reshipment response.
Return All Whether to return all matching reshipment results or limit the number returned.
Limit Maximum number of reshipment results to return if not returning all.
Filter Type of filter to apply to the reshipment query, either none or JSON-based.
Filters (JSON) JSON string defining filter criteria for the reshipment query.

Output

JSON

  • reshipments - Array of reshipment records retrieved from the Servicecenter resource, optionally including positions if requested.
  • debugInfo - API request details such as method, URL, and body included when debug mode is enabled.

Dependencies

  • An API key credential for authenticating with the Servicecenter API.

Troubleshooting

  • If the node fails due to SSL certificate errors, enable 'Ignore SSL Issues' to bypass validation (not recommended for production).
  • Timeout errors can occur if the server is slow to respond; increase the 'Timeout' value as needed.
  • Invalid JSON in the 'Filters (JSON)' property can cause query failures; ensure the JSON is correctly formatted.
  • If no results are returned, verify filter criteria and ensure the API credentials have appropriate permissions.

Links

Discussion