PlantScanner - BEAS Service Layer icon

PlantScanner - BEAS Service Layer

Interact with BEAS Service Layer API

Actions32

Work Order Routing → Get All

AI-generated

Overview

This node operation retrieves multiple records from the 'Work Order Routing' resource in the BEAS Service Layer API. It supports filtering, sorting, pagination, field selection, and expansion of related entities, making it useful for scenarios where users need to query and analyze work order routing data with specific criteria or retrieve comprehensive details including related entities.

Use Case Examples

  1. Retrieve all work order routing records created after a certain date, sorted by creation date descending.
  2. Fetch the top 10 work order routing records with status 'Open' and include related work order lines in the response.
  3. Skip the first 5 records and get the next 20 work order routing records, selecting only specific fields like WorkOrderID and Status.

Properties

Name Meaning
Filters OData filter string to narrow down the records returned, e.g., filtering by status or creation date.
Sort OData sort string to order the records, e.g., sorting by creation date or status.
Skip Number of records to skip for pagination purposes.
Top Maximum number of records to return.
Select Comma-separated list of fields to include in the response. Leave empty to get all fields.
Expand Comma-separated list of related entities to expand in the response. Leave empty for no expansion.

Output

JSON

  • json - The JSON response containing the list of work order routing records matching the query parameters.

Dependencies

  • BEAS Service Layer API with authentication via service password to obtain session cookie

Troubleshooting

  • Ensure the service password credential is correct to successfully authenticate and obtain a session cookie; failure results in an error 'Failed to get session cookie'.
  • Verify the OData filter, sort, select, and expand strings are correctly formatted to avoid API errors.
  • If JSON parsing errors occur in other operations, check the JSON syntax carefully.

Links

Discussion