PlantScanner - BEAS Service Layer icon

PlantScanner - BEAS Service Layer

Interact with BEAS Service Layer API

Actions32

Resource → Post

AI-generated

Overview

This node interacts with the BEAS Service Layer API to create a new record for the specified resource. In the context of the 'Resource' resource and 'Post' operation, it sends a POST request to the BEAS Service Layer to create a new resource record using the provided JSON body data. This is useful for automating the creation of resource entries in BEAS, such as adding new personnel, equipment, or other resource types managed by the system.

Use Case Examples

  1. Creating a new resource entry in BEAS by providing the necessary details in JSON format.
  2. Automating resource management workflows by programmatically adding resources through the API.

Properties

Name Meaning
Body The JSON data to send with the POST request to create the new resource record.

Output

JSON

  • json - The response data from the BEAS Service Layer API after creating the resource record.

Dependencies

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

Troubleshooting

  • Ensure the JSON body is valid and correctly formatted; invalid JSON will cause an error.
  • Verify that the BEAS Service Layer API credentials are correct and the service is accessible.
  • Check that the session cookie is successfully obtained; failure to get a session cookie will prevent API requests.
  • Handle API errors gracefully; the node supports continuing on failure to capture error messages in output.

Discussion