OapiV2DepartmentListparentbydeptRequest.py 340 B

1234567891011121314
  1. '''
  2. Created by auto_sdk on 2020.10.10
  3. '''
  4. from dingtalk.api.base import RestApi
  5. class OapiV2DepartmentListparentbydeptRequest(RestApi):
  6. def __init__(self,url=None):
  7. RestApi.__init__(self,url)
  8. self.dept_id = None
  9. def getHttpMethod(self):
  10. return 'POST'
  11. def getapiname(self):
  12. return 'dingtalk.oapi.v2.department.listparentbydept'