Tasks Service API
A powerful, event-driven task management system with real-time updates and comprehensive status tracking
Task Management
Create and track tasks with comprehensive status history and real-time updates
Event-Driven
RabbitMQ integration for real-time event publishing and service communication
Status Tracking
Complete status history with timestamps for full task lifecycle tracking
API Endpoints
POST
/api/task/create
// Request
{
"taskCode": "string",
"userID": "string",
"informationProvider": "string"
}
// Response 200
{
"taskId": "integer"
}
POST
/api/task/update-status
// Request
{
"taskId": "integer",
"status": "open|pending|processed"
}
// Response 200
{
"message": "Task status updated successfully"
}
GET
/api/task/{taskId}/status
// Response 200
{
"taskId": "integer",
"status": "string",
"lastUpdated": "datetime",
"statusHistory": [
{
"status": "string",
"timestamp": "datetime"
}
]
}