Place types categorize every place registered in SolSQL. Examples include restaurant, park, museum, or hotel. Each place type has a human-readable name and an optional description. You assign a place type when you create or update a place.Documentation 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.
Endpoints
GET /api/PlaceTypes
Returns all place types in the system.Unique identifier for the place type (
type_id column).Short label for the place type (e.g.
"Restaurant").Optional longer description of the place type.
GET /api/PlaceTypes/
Returns a single place type by its ID.Path parameters
The place type ID to look up.
POST /api/PlaceTypes
Creates a new place type.Request body
A short label for the new place type.
An optional description that explains what this place type covers.
PUT /api/PlaceTypes/
Updates an existing place type.Path parameters
The ID of the place type to update.
Request body
The updated label for the place type.
The updated description for the place type.
DELETE /api/PlaceTypes/
Deletes a place type by its ID.Path parameters
The ID of the place type to delete.
Error codes
| Status | Meaning |
|---|---|
| 200 | Request succeeded. |
| 500 | A database or server error occurred. The response body contains message and error fields with details. |