Three read-only endpoints let you explore the places catalog beyond simple ID lookups. UseDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/jparra-amell/api_solsql/llms.txt
Use this file to discover all available pages before exploring further.
info_rapida for fast bulk listings, buscar for keyword-driven search, and {id}/detalle when you need the full profile of a single place — optionally enriched with a specific user’s favorites and reactions.
GET /api/Places/info_rapida
Returns a lightweight summary for every place in the database. This endpoint calls thepa_obtener_info_general_lugares stored procedure and returns an array of vw_general_lugar objects, which are optimized for listing views and map interfaces.
Response
An array of objects with the following fields:Unique identifier for the place.
Display name of the place.
Short text description of the place.
Street or postal address.
Opening hours as a free-form string.
Human-readable label for the place type.
Name of the city where the place is located.
URL of the place’s primary photo, if available.
Error codes
| Code | Meaning |
|---|---|
500 | Internal server error while retrieving place summaries. |
GET /api/Places/buscar
Searches places by a keyword term. The query calls thepa_buscar_lugares stored procedure and returns an array of vw_general_lugar objects that match the search term.
Query parameters
The search keyword or phrase. The endpoint returns a
400 error if this parameter is missing or blank.Response
An array ofvw_general_lugar objects matching the search term. The fields are identical to those described for GET /api/Places/info_rapida.
Example response
Error codes
| Code | Meaning |
|---|---|
400 | The busqueda parameter is missing or empty. |
500 | Internal server error while executing the search. |
GET /api/Places/{id}/detalle
Returns the full detail profile for a single place. This endpoint calls thepa_detalle_lugar_interaccion_usuario stored procedure, which can optionally include data about whether a specific user has favorited the place or left a reaction.
Path parameters
The numeric ID of the place whose detail you want to retrieve.
Query parameters
The numeric ID of the authenticated user. When provided, the response includes that user’s interaction state for the place — whether they have marked it as a favorite and which reaction type (if any) they have applied.
Response
A singlePlaceDetail object with the following fields:
Unique identifier for the place.
Display name of the place.
Text description of the place.
Street or postal address.
Opening hours as a free-form string.
Admission or usage fees.
Geographic coordinates (e.g.
"4.7110,-74.0721").Contact phone number.
Contact email address.
Social media handle or URL.
Human-readable label for the place type.
Name of the city where the place is located.
Whether the requesting user has favorited this place.
1 = yes, 0 = no. null when no userId was supplied.The reaction type the requesting user has applied to this place (e.g.
"me gusta", "interesante"). null if the user has not reacted or no userId was supplied.Error codes
| Code | Meaning |
|---|---|
404 | No place found with the given ID. |
500 | Internal server error while retrieving the place detail. |