PlantScanner - BEAS Service Layer icon

PlantScanner - BEAS Service Layer

Interact with BEAS Service Layer API

Actions32

Work Order → Get

AI-generated

Overview

This node interacts with the BEAS Service Layer API to retrieve a single Work Order record by its ID. It supports selecting specific fields and expanding related entities in the response. This is useful for workflows that need detailed information about a specific work order, such as tracking order status, retrieving order details, or integrating with other systems for order processing.

Use Case Examples

  1. Retrieve a work order by its unique ID to check its current status and details.
  2. Fetch specific fields like WorkOrderID, Description, and Status to display concise order information.
  3. Expand related entities such as WorkOrderLines or WorkOrderComponents to get comprehensive order data.

Properties

Name Meaning
ID The unique identifier of the Work Order record to retrieve.
Select Comma-separated list of fields to include in the response. Leave empty to retrieve all fields.
Expand Comma-separated list of related entities to expand in the response. Leave empty for no expansion.

Output

JSON

  • data - The JSON object containing the retrieved Work Order record data from the BEAS Service Layer API.

Dependencies

  • Requires an API key credential for the BEAS Service Layer API to authenticate requests.
  • Uses axios for HTTP requests.

Troubleshooting

  • Error 'Failed to get session cookie' indicates authentication failure; check API credentials and service URL.
  • Invalid JSON errors occur if the 'Select' or 'Expand' parameters are malformed or if the API response is unexpected.
  • Network or API errors may occur; enable 'Continue On Fail' to handle errors gracefully in workflows.

Discussion