New FastAPI python page for easily human reading of the json objects we are capturing. Addition of a template parser that can be used to interpret and send/push jobMaterials to the server. Adding the docs dir just so that it is all together.

This commit is contained in:
2026-04-28 16:14:07 +10:00
parent 9ab1b3ea8f
commit debc442081
11 changed files with 2794 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
### Form response identifiers
Form response from "Quote Template" has UUID - 3621b6be-1d19-4756-9ab4-9d5e4120f6d9
Form response from “job safety analysis” has uuid= “2ab961e2-e029-4aee-8f6e-200b1e865b8b”
Form response from “OSSM Maintenance Report” - “5dfaeff1-362f-4aec-bd36-eed54168fc09”
At this time we are only interested in the response UUID for the "Quote Templates"
There is a nested JSON element called "jobMaterials" within in each "job" (our target object) - each jobMaterial has their own uuid which appears to tbe system created - but we need to create each jobMaterial element using the SDK or REST API from the "Quote Template" "form" details.
##### JSON UUIDs for jobMaterials (Destination field types for the Quote Templates inside the "Job" object")
- all “QUOTE INCLUDE” headers are “uuid” - “b752046f-2543-40a8-82bf-241f035a6c3d”
- top level object has material_uuid = “1924893b-917f-474a-adaa-2093bd622d4b”
- all “QUOTE INCLUDES” subitems have a “material_uuid” = “8c00ca29-2178-403e-be76-241cfaddeedb”
- all QUOTE EXCLUDES headers are “uuid” - “5e9aeda9-2c59-43db-ba64-241f0b7812bd”
- top level object has material_uuid = “4947bfd7-4875-48f7-9caf-2093b9751b9b”
- all “QUOTE EXCLUDES” subitems have a “material_uuid” = “8c00ca29-2178-403e-be76-241cfaddeedb”