Advertisement
darkor

update_application_with_response

Oct 10th, 2022
839
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.49 KB | None | 0 0
  1.     def update_application_with_response(
  2.         self,
  3.         *,
  4.         org_id: int,
  5.         flow_run_id: str,
  6.         application_id: int,
  7.         application_data: dict         
  8.     ):
  9.         """
  10.        SERVICE ONLY.
  11.  
  12.        Update application object while get candidate/contact response.
  13.        """
  14.         url = f"{self.STORAGE_SERVICE}/service/application/{flow_run_id}/{application_id}/{org_id}"
  15.         r = self.make_request('patch', url, json=application_data)
  16.         return r
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement