SmartworkBpmsProcessinstanceCreateRequest.py 535 B

123456789101112131415161718192021
  1. '''
  2. Created by auto_sdk on 2019.07.03
  3. '''
  4. from dingtalk.api.base import RestApi
  5. class SmartworkBpmsProcessinstanceCreateRequest(RestApi):
  6. def __init__(self,url=None):
  7. RestApi.__init__(self,url)
  8. self.agent_id = None
  9. self.approvers = None
  10. self.cc_list = None
  11. self.cc_position = None
  12. self.dept_id = None
  13. self.form_component_values = None
  14. self.originator_user_id = None
  15. self.process_code = None
  16. def getHttpMethod(self):
  17. return 'POST'
  18. def getapiname(self):
  19. return 'dingtalk.smartwork.bpms.processinstance.create'