OapiCrmGroupCreateRequest.py 438 B

123456789101112131415161718
  1. '''
  2. Created by auto_sdk on 2022.04.25
  3. '''
  4. from dingtalk.api.base import RestApi
  5. class OapiCrmGroupCreateRequest(RestApi):
  6. def __init__(self,url=None):
  7. RestApi.__init__(self,url)
  8. self.colleague_userid_list = None
  9. self.contact_id_list = None
  10. self.customer_corpid = None
  11. self.customer_id = None
  12. self.group_owner = None
  13. def getHttpMethod(self):
  14. return 'POST'
  15. def getapiname(self):
  16. return 'dingtalk.oapi.crm.group.create'