project online get approvals task data 获取审批待办任务接口

【project online get approvals task data 获取审批待办任务接口】业无高卑志当坚,男儿有求安得闲?这篇文章主要讲述project online get approvals task data 获取审批待办任务接口相关的知识,希望能为你提供帮助。
调用接口地址:重要 http://xxxx/sites/pwa/_vti_bin/PSI/ProjectServer.svc
Header 三个必要参数:
其中SOAPAction写死就行,如果是online就要用SharePointOnlineCredentials授权,Server版用NetworkCredential授权

project online get approvals task data 获取审批待办任务接口

文章图片

Post数据包含调用接口相关参数:
project online get approvals task data 获取审批待办任务接口

文章图片
< ?xml version=\'1.0\' encoding=\'UTF-8\'?> < soap:Envelope xmlns:xsi=\'http://www.w3.org/2001/XMLSchema-instance\' xmlns:xsd=\'http://www.w3.org/2001/XMLSchema\' xmlns:soap=\'http://schemas.xmlsoap.org/soap/envelope/\'> < soap:Body> < StatusingReadStatusApprovalsForProjectForGridJson2 xmlns=\'http://schemas.microsoft.com/office/project/server/webservices/PWA/\'> < gridSerializerArgs> < SortColumnNames> < /SortColumnNames> < SortColumnOrders> < /SortColumnOrders> < GroupColumnNames> < /GroupColumnNames> < ShowTimeWithDates> false< /ShowTimeWithDates> < PagingInfo> < string> FirstVisible:40< /string> < /PagingInfo> < RequestType> 0< /RequestType> < /gridSerializerArgs> < fromDate> \'\\/Date(1534032000000)\\/\'< /fromDate> < toDate> \'\\/Date(1541980800000)\\/\'< /toDate> < durationFormat> 5< /durationFormat> < workFormat> 2< /workFormat> < filter> 0< /filter> < /StatusingReadStatusApprovalsForProjectForGridJson2> < /soap:Body> < /soap:Envelope>

project online get approvals task data 获取审批待办任务接口

文章图片
返回数据如下图:
project online get approvals task data 获取审批待办任务接口

文章图片

 
project online get approvals task data 获取审批待办任务接口

文章图片


    推荐阅读