I have multiple tables in my database, a company(company) with drivers(drivers) and vehicles(vehicles) & fuel order(fuel request). Where a company can place many orders for multiple vehicles they own.
I am using appgyver and I am looking for Rest API which would enable creating orders with relation to tables and logged in users.
So when I pull a report it can show me fuel ordered for which vehicle and the driver for that vehicle.
Can you point me to the REST API documentation that would serve my scenario?
An advice for database design would be great. to link logged in users to data they interact with.