Closed emichaud closed 2 years ago
Added multiple field update method to remaining api's. Note: /time/time_sheets_api.py does not implment an update method /system/document_api.py - update methods are there but are not implemented (pass) - added new method but did not implement
hey @markciecior, just wanted to let you know I added in support for the new method across all the api's. check it out when you get a minute.
Currently the _update function in cw_controller takes in a single key and value and constructs a api request. This requires one request per each field that requires an update. The new method added to the TicketApi allows for a dictionary of key updates to be provided and it will construct a multi-field update within a single request.
This will address concerns (eventually) from open issue #14. I only modified the TicketApi within this update but will update the other endpoints after determining if this is an ideal update for the project. Please provide feedback for required changes.