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.
POST /dependencias
Creates a new government dependency in the system.Authentication
No authentication required in the current implementation.Request Body
Full name of the dependency. This field is required and cannot be empty. Leading and trailing whitespace will be automatically trimmed.Example:
"Secretaría de Desarrollo Urbano"Acronym or abbreviation for the dependency. This field is optional. If provided, it will be automatically converted to uppercase and whitespace will be trimmed.Example:
"SDU" or "sdu" (both become "SDU")Indicates whether the dependency is active. Optional field that defaults to
true if not provided.Example: trueResponse
Returns the newly created dependency object with its assigned ID.Auto-generated unique identifier for the dependency
Full name of the dependency
Acronym or abbreviation for the dependency (uppercase)
Indicates whether the dependency is active
Example Request
Example Responses
201 - Created
400 - Bad Request (Missing Required Field)
400 - Bad Request (Invalid Field Type)
The
nombre field must be unique. If you try to create a dependency with a name that already exists, you’ll receive a database constraint error.