Request Status Catalog API
Manage the catalog of request statuses (EstadoSolicitud) used to track the lifecycle of transportation requests. This catalog includes workflow ordering and final state indicators. Base Path:/estado-solicitud
Endpoints
Create Request Status
Request Body
Field Validations
- codigo (required): Unique, uppercase, no spaces
- nombre (required): Unique across active records
- esEstadoFinal (required): Boolean indicating if this is a final workflow state
- orden (required): Unique integer defining position in workflow
- color (optional): Hex color for visual representation
- descripcion (optional): Max 250 characters
Response
Get Request Status by ID
Path Parameters
- id_estado_solicitud (integer, required): Request status ID
Response
List Request Statuses (Paginated)
Orden field.
Query Parameters
- pagina (integer, optional, default: 1): Page number (min: 1)
- por_pagina (integer, optional, default: 10): Records per page (min: 1, max: 100)
- codigo (string, optional): Filter by code (partial match)
- nombre (string, optional): Filter by name (partial match)
- esEstadoFinal (boolean, optional): Filter by final state indicator
- busqueda (string, optional): General search in code, name, and description
Response
List All Request Statuses (No Pagination)
Orden field.
Query Parameters
- codigo (string, optional): Filter by code
- nombre (string, optional): Filter by name
- esEstadoFinal (boolean, optional): Filter by final state indicator
- busqueda (string, optional): General search
Response
Update Request Status
Path Parameters
- id_estado_solicitud (integer, required): Request status ID
Request Body
Validations
- Record must exist and be active
- If changing
codigo, must be unique - If changing
nombre, must be unique - If changing
orden, must be unique among active records
Response
Delete Request Status
Path Parameters
- id_estado_solicitud (integer, required): Request status ID
Validations
- Record must exist and be active
- Cannot have active requests in the historical status log