Plex ERP Data Source

Execute Plex ERP Data Source queries via REST API

Plex ERP Data Source

AI-generated

Overview

This node executes queries against Plex ERP Data Sources via a REST API. It is designed to interact with Plex ERP systems by sending POST requests to specified data sources, allowing users to retrieve or manipulate data within Plex ERP. Common scenarios include automating data retrieval from Plex ERP, integrating Plex ERP data into workflows, and performing custom queries on Plex data sources. For example, a user might use this node to fetch inventory data or update order statuses in Plex ERP.

Use Case Examples

  1. Execute a query on a specific Plex data source by providing the Data Source ID and request parameters.
  2. Send a raw JSON body to a Plex data source to perform complex queries or data manipulations.
  3. Configure retry logic and timeout settings to ensure reliable communication with the Plex ERP API.

Properties

Name Meaning
Description Free text area to describe the node's purpose and functionality.
Environment Select between production and test environments for the Plex API endpoint.
Colo Name Enter the colo name for on-premise installations; leave blank for cloud-based instances.
Data Source ID The unique identifier for the Plex data source to execute.
Generated URL Preview Shows the URL that will be called based on current settings.
Body Input Method How to configure the request body, either as key-value form or raw JSON.
Body Parameters Configure key-value pairs for the request body when using the form input method.
JSON Body Raw JSON body for the request when using the JSON input method.
Advanced Settings Settings for retry on failure, max retry attempts, retry wait time, request timeout, and follow redirects.

Output

JSON

  • statusCode - HTTP status code of the response.
  • headers - HTTP headers returned by the Plex API.
  • body - The response body from the Plex API containing the data source query results.
  • requestUrl - The URL that was called for the request.
  • executionTime - Time taken to execute the HTTP request in milliseconds.

Dependencies

  • Requires Plex Basic Auth credentials (username and password) for authentication.

Troubleshooting

  • Ensure that the Data Source ID is provided and valid; missing or incorrect IDs will cause errors.
  • Verify that the Plex Basic Auth credentials are correctly configured; missing or invalid credentials will result in authentication errors.
  • Check network connectivity and URL correctness, especially if using on-premise colo names; connection refused or DNS errors indicate configuration issues.
  • If the request times out, consider increasing the timeout setting in Advanced Settings.
  • Review error messages for HTTP status codes such as 400 (Bad Request), 401 (Authentication Failed), 403 (Access Forbidden), 404 (Not Found), 419 (Authentication Timeout), and 500 (Server Error) for specific troubleshooting guidance.

Discussion