dingtalk.smartwork.bpms.processinstance.list (获取审批实例列表)
按照说明后修改代码如下:
//获取菜单审批信息
IDingTalkClient client = new DefaultDingTalkClient("https://eco.taobao.com/router/rest");
SmartworkBpmsProcessinstanceListRequest req = new SmartworkBpmsProcessinstanceListRequest();
req.ProcessCode = "76648092"; //菜单ID
req.StartTime = ConvertDataTimeToLong(DateTime.Parse("2017-10-01"));
req.EndTime = ConvertDataTimeToLong(DateTime.Parse("2017-12-10"));
req.Size = 8;
req.Cursor = 0;
//req.UseridList = "manager1,manager2";
SmartworkBpmsProcessinstanceListResponse rsp = client.Execute(req, access_token);
Console.WriteLine(rsp.Body);
Console.WriteLine("***************************************");
返回的结果如下:
<?xml version="1.0" encoding="utf-8" ?><dingtalk_smartwork_bpms_processinstance_list_response>
<result> <ding_open_errcode>0</ding_open_errcode>
<result></result> <success>true</success>
</result> <request_id>rx6bf21rubvf</request_id>
</dingtalk_smartwork_bpms_processinstance_list_response><!--top011186096016.eu13-->
谁能告诉我什么原因,菜鸟啊,不懂,不懂,谢谢啦!
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。