List Missions
Retrieve missions with pagination and filtering options, or get all missions for a specific request.GET /mision
List missions with pagination and multiple filter options.Query Parameters
Page number. Must be >= 1.
Records per page. Must be between 1 and 100.
Filter by request ID.
Filter by mission state ID.
Filter by state code (e.g.,
PROGRAMADA, EN_EJECUCION, COMPLETADA, CANCELADA).Filter by assigned vehicle ID.
Filter by assigned driver ID.
Filter by start date in
YYYY-MM-DD format.Filter by end date in
YYYY-MM-DD format.General search term.
Response
Indicates if the request was successful.
Response message: “Listado de misiones obtenido exitosamente”
Paginated mission data.
GET /mision/por-solicitud/
List all active missions for a specific request, including stops.Path Parameters
ID of the request to get missions for.
Response
Indicates if the request was successful.
Response message: “Misiones de la solicitud obtenidas exitosamente”
Array of mission objects with stops included.