REST API for Latepoint icon

REST API for Latepoint

Consume REST API for LatePoint on Tools

Locations → Get

AI-generated

Summary

Retrieves a single LatePoint location by ID by sending a GET request to /locations/{id} on the configured REST API base URL.

Inputs

  • ID (required) — Unique identifier of the location to fetch. It is appended to the endpoint path as /locations/{id}. It can be filled by an AI agent when the node is used as a tool.
  • Description — Free-text prompt describing the purpose of the call, intended as AI context. The execute code does not read it, so it has no effect on the request.

Output shape

One n8n item per input item. Its json is the location object taken from the API response's data field.

If the response has no data field but is an array, each element becomes its own item. Otherwise the whole response is returned as-is. Authentication uses a Bearer API key from the restApiLatepointApi credential. With Continue On Fail enabled, a failed request produces an item with an error message instead of stopping the workflow.

Examples

Example 1: Look up details of a specific location before creating a booking.

Resource: Locations, Operation: Get, ID: 3

Example 2: Fetch location details for each ID coming from a previous node.

Resource: Locations, Operation: Get, ID: ={{ $json.location_id }}

Links

Discussion