Refactor testing js file and made more modular.

This commit is contained in:
Patrick Fic
2024-08-15 10:17:11 -07:00
parent 5cf6f47bdc
commit 85c446bc57
3 changed files with 466 additions and 219 deletions

18
Fortellis Notes.md Normal file
View File

@@ -0,0 +1,18 @@
Fortellis Notes
Subscription ID
* Appears to give us a list of all dealerships we have access to, and `apiDmsInfo` contains the integrations that are enabled for that dealership.
* Will likely need to filter based on the DMS ID or something?
* Should store the whole subscription object. Contains department information needed in subsequent calls.
Department ID
* May have multiple departments. Appears that financial stuff goes to Accounting, History will go to Service.
* TODO: How do we handle the multiple departments that may come up.
# Feedback
* Receiving bad request errors, with no details. API errors page doesn't indicate what's wrong.
# API Error
* Not in real time - appaers to be every 3 minutes?