REST API for Latepoint icon

REST API for Latepoint

Consume REST API for LatePoint on Tools

Actions40

Overview

This node provides access to the LatePoint REST API, enabling interaction with various resources such as bookings, customers, agents, services, payments, orders, coupons, locations, availability, system info, and test endpoints. It supports operations like retrieving single or multiple records, creating, updating, deleting, and checking availability.

For the Test resource with the Get operation, the node fetches information from the /test endpoint of the LatePoint API. This can be used to verify connectivity or retrieve test data from the API.

Common scenarios:

  • Verifying API connectivity or testing API responses.
  • Fetching diagnostic or informational data from the LatePoint system.
  • Using the test endpoint as a placeholder or for development purposes before working with live data.

Practical example:

  • A user wants to confirm that their API credentials and connection to LatePoint are correctly configured by performing a simple "Get" request on the Test resource, which returns basic system or test information.

Properties

Name Meaning
Description Provide a description or prompt for the AI to understand the context and purpose of this API operation.

Note: For the Test resource's Get operation, only the "Description" property is relevant based on the provided input properties.

Output

The output JSON contains the response returned by the LatePoint API's /test endpoint. The structure depends on what the API returns for this test call, typically some informational or diagnostic data.

  • If the response is an array, each item is output as a separate JSON object.
  • If the response is a single object, it is output directly as JSON.
  • No binary data output is indicated for this resource-operation.

Dependencies

  • Requires an API key credential for authenticating requests to the LatePoint REST API.
  • The base URL and API key must be configured in the node credentials.
  • The node sends HTTP requests with Authorization: Bearer <API_KEY> header and expects JSON responses.
  • No additional external dependencies beyond the LatePoint API and proper credential setup.

Troubleshooting

  • No credentials configured!
    Error thrown if the API key credential is missing. Ensure you have set up the required API authentication token in n8n credentials.

  • Invalid JSON in body:
    Not applicable for the Test Get operation since no request body is sent, but relevant for other operations where JSON input is parsed.

  • HTTP errors or unexpected responses:
    Check that the base URL and API key are correct and that the LatePoint API service is reachable.

  • Empty or unexpected output:
    Verify that the Test endpoint is enabled and returns data in your LatePoint installation.

Links and References

Discussion