roos-fs tasks #365
openIntegrate Geotab API Call for "KM to Oil Change" per vechicle
0%
Description
General
Enable users in ROOS to click a button and instantly see the remaining kilometers until next oil change for a selected vehicle, based on its VIN number.
We need to integrate the Geotab MyGeotab API into ROOS to fetch the current odometer value of a vehicle (using VIN → Device lookup) and calculate the kilometers remaining until the next oil change.
What data to be fetched and displayed
We need to fetch these data for the vechicled based on its VIN

Flow
- User selects a vehicle (with VIN stated inside)
- go to a seperate tab with the name "GeoTab data".
- User clicks “Check Oil Change” button.
System performs:
- Authenticate with Geotab (if session expired).
- Get Device by VIN.
- Get Odometer Diagnostic Id (or cached globally).
- Get KV and due date
Business logic:
- Retrieve KM statement (see screenshot)
- Retrieve the data for the due oil change dated
Display result to user in the vichicle overview window in a seperate tab.

API DOCUMENTATION
https://developers.geotab.com
TEST
VIN VSSZZZ5FZKR052148
Authentication
user michal.slavik@roos-fs.com
database roos_intern
password Sarka772360MH@@
Files
Updated by Vadim Pariev 8 months ago
- File clipboard-202509052246-fqgdl.png clipboard-202509052246-fqgdl.png added
- Description updated (diff)
Updated by Vadim Pariev 8 months ago
- File clipboard-202509091623-ax4so.png clipboard-202509091623-ax4so.png added
- Description updated (diff)
Updated by Ivan Danyliv 8 months ago
- Status changed from In progress to In review
Updated by Anton Obolientsev 8 months ago
- Status changed from In review to Deployed (QA)
Updated by Vadim Pariev 7 months ago
- Status changed from Deployed (QA) to Ready for Deployment (prod)
Updated by Vadim Pariev 7 months ago
- Status changed from Ready for Deployment (prod) to Closed
Updated by Ivan Danyliv about 1 month ago
- Assignee changed from Ivan Danyliv to Vadim Pariev