Closed ges134 closed 5 years ago
The ledger creation endpoint should mandatorily take :
Optionally, it can also take a parent ledger id. That way, the ledger can be saved as a tree set in the database.
The endpoint should also be authenticated. Plus, it should also verify that the budget it passed in the request belongs to the user.
Since the application is going to allow insertion and modification at the same time, the ledger creation endpoint should support PUT
PUT
The ledger creation endpoint should mandatorily take :
Optionally, it can also take a parent ledger id. That way, the ledger can be saved as a tree set in the database.
The endpoint should also be authenticated. Plus, it should also verify that the budget it passed in the request belongs to the user.
Since the application is going to allow insertion and modification at the same time, the ledger creation endpoint should support
PUT