Documentation Index
Fetch the complete documentation index at: https://mintlify.com/LizandroCanul/back_sdo/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Localidades (localities) are geographic entities associated with municipalities. This catalog provides reference data for localities within the Yucatan region.Get All Localidades
Retrieves a list of all localities in the system.Authentication
This endpoint requires authentication using a Bearer token.Response
Unique identifier for the locality
Name of the locality (max 100 characters)
Optional code or key for the locality
Status flag indicating if the locality is active (default: true)
ID of the municipality this locality belongs to
Related municipality entity object
Example Request
Example Response
Get Localidad by ID
Retrieves a single locality by its unique identifier.Authentication
This endpoint requires authentication using a Bearer token.Path Parameters
The unique identifier of the locality to retrieve
Response
Returns a single locality object with the following fields:Unique identifier for the locality
Name of the locality
Optional code or key for the locality
Status flag indicating if the locality is active
ID of the municipality this locality belongs to
Related municipality entity object
Example Request
Example Response
Error Responses
HTTP status code (404 if locality not found)
Error message describing what went wrong
Create Localidad
Creates a new locality in the system.Authentication
This endpoint requires authentication using a Bearer token.Request Body
Name of the locality (max 100 characters)
Optional code or key for the locality
ID of the municipality this locality belongs to
Status flag (defaults to true if not provided)
Example Request
Example Response
Update Localidad
Updates an existing locality.Authentication
This endpoint requires authentication using a Bearer token.Path Parameters
The unique identifier of the locality to update
Request Body
All fields are optional. Only include fields you want to update.Name of the locality
Code or key for the locality
ID of the municipality
Status flag
Example Request
Delete Localidad
Deletes a locality from the system.Authentication
This endpoint requires authentication using a Bearer token.Path Parameters
The unique identifier of the locality to delete