Recommendations
Get Recommendation
Retrieve detailed recommendation by ID
GET
Get Recommendation
Overview
Retrieves complete details of a specific recommendation including user, terrain, tractor, implement data, compatibility score, and detailed observations.Users can only access their own recommendations.
Authentication
Required: Bearer token in Authorization headerPath Parameters
The unique identifier of the recommendation
Response
Indicates if the request was successful
Complete recommendation details
Examples
Response Example (200 OK)
Error Responses
| Status Code | Description |
|---|---|
| 401 | Missing or invalid authentication token |
| 404 | Recommendation not found or doesn’t belong to user |
| 500 | Internal server error |
Observations Field
Theobservations field contains a JSON string with detailed scoring information:
Related Endpoints
Generate Recommendation
Generate new tractor recommendations
Recommendation History
View all recommendations
Source Code Reference
- Route:
src/routes/recommendation.routes.js:312 - Controller:
src/controllers/recommendationController.js:getRecommendationById
Get Recommendation
