curl --location -g --request POST 'https://qyapi.weixin.qq.com/cgi-bin/linkedcorp/department/list?access_token=' \
--header 'Content-Type: application/json' \
--data-raw '{"department_id":"LINKEDID/DEPARTMENTID"}'
{"errcode":0,"errmsg":"ok","department_list": [{"department_id":"1","department_name":"测试部门1","parentid":"0","order":100000000},{"department_id":"2","department_name":"测试部门2","parentid":"1","order":99999999}]}
【企业微信】API开发者 微信交流群
用微信扫右侧二维码,加入【企业微信】API开发者 交流群,互助沟通