Use these endpoints to manage the full lifecycle of a place record — from initial creation through updates and eventual deletion. All endpoints are prefixed withDocumentation 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.
/api/Places.
GET /api/Places
Returns an array of all place records.Response
Unique identifier for the place.
Display name of the place.
Numeric ID of the place type.
Human-readable label for the place type (read-only, resolved by the database).
Optional text description of the place.
Street or postal address.
Numeric ID of the city.
Human-readable city name (read-only, resolved by the database).
Opening hours as a free-form string (e.g.
"Mon–Fri 9 am–6 pm").Admission or usage fees as a free-form string.
Geographic coordinates (e.g.
"4.7110,-74.0721").Contact phone number.
Contact email address.
Social media handle or URL.
Active state of the place.
1 = active, 0 = inactive.Timestamp when the place was created.
Error codes
| Code | Meaning |
|---|---|
500 | Internal server error while retrieving places. |
GET /api/Places/{id}
Returns a single place record by its ID.Path parameters
The numeric ID of the place to retrieve.
Response
Returns a singlePlaces object with the same fields listed under GET /api/Places.
Error codes
| Code | Meaning |
|---|---|
404 | No place found with the given ID. |
500 | Internal server error while retrieving the place. |
POST /api/Places
Creates a new place record.Request body
Display name of the place.
Numeric ID of the place type.
Optional text description of the place.
Street or postal address.
Numeric ID of the city where the place is located.
Opening hours as a free-form string.
Admission or usage fees as a free-form string.
Geographic coordinates, e.g.
"4.7110,-74.0721".Contact phone number.
Contact email address.
Social media handle or URL.
Response
Error codes
| Code | Meaning |
|---|---|
500 | Internal server error while inserting the place. |
PUT /api/Places/{id}
Updates an existing place record. You must supply all editable fields; omitted optional fields are set tonull.
Path parameters
The numeric ID of the place to update.
Request body
Display name of the place.
Numeric ID of the place type.
Text description of the place.
Street or postal address.
Numeric ID of the city.
Opening hours as a free-form string.
Admission or usage fees.
Geographic coordinates.
Contact phone number.
Contact email address.
Social media handle or URL.
Active state.
1 = active, 0 = inactive. Prefer the dedicated activate/deactivate endpoints for toggling status.Response
Error codes
| Code | Meaning |
|---|---|
500 | Database or server error while updating the place. |
PUT /api/Places/activate/{id}
Sets thestatus of a place to active.
Path parameters
The numeric ID of the place to activate.
Response
Error codes
| Code | Meaning |
|---|---|
500 | Internal server error while activating the place. |
PUT /api/Places/deactivate/{id}
Sets thestatus of a place to inactive.
Path parameters
The numeric ID of the place to deactivate.
Response
Error codes
| Code | Meaning |
|---|---|
500 | Internal server error while deactivating the place. |
DELETE /api/Places/{id}
Permanently deletes a place record from the database.Path parameters
The numeric ID of the place to delete.
Response
Error codes
| Code | Meaning |
|---|---|
500 | Database or server error while deleting the place. |