PlantScanner - BEAS Service Layer icon

PlantScanner - BEAS Service Layer

Interact with BEAS Service Layer API

Actions32

Reservation → Patch

AI-generated

Overview

This node interacts with the BEAS Service Layer API to update (patch) a Reservation record. It is useful in scenarios where you need to modify specific fields of an existing reservation in the BEAS system without replacing the entire record. For example, updating the quantity or status of a reservation line item.

Use Case Examples

  1. Updating a reservation's quantity based on new inventory data.
  2. Changing the status of a reservation after a production update.

Output

JSON

  • json - The response data from the BEAS Service Layer API after the patch operation, containing the updated reservation record or relevant status information.

Dependencies

  • BEAS Service Layer API endpoint URL and service password credentials for authentication.

Troubleshooting

  • Ensure the 'docEntry' and 'lineNumber' parameters are correctly set to identify the reservation record to patch.
  • Verify the 'patchBody' JSON is valid and correctly formatted; invalid JSON will cause errors.
  • Check that the session cookie is successfully obtained during login; failure to get the cookie will prevent API calls.
  • Common error messages include invalid JSON in the patch body, unsupported operations, or authentication failures. Resolving these involves correcting JSON syntax, using supported operations, and verifying credentials respectively.

Discussion