如何在Project Server 2016中使用REST获取任务批准信息 [英] how to get task approval information using REST in Project Server 2016

查看:73
本文介绍了如何在Project Server 2016中使用REST获取任务批准信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

如何在Project Server 2016中使用REST获取任务批准信息?我无法在rest api中找到任何批准信息,谢谢。

how to get task approval information using REST in Project Server 2016? i can not find any approval informaion in rest api, thanks.

BR。

方浩

peardong

推荐答案

"TimesheetLines"您可以找到"TimesheetLineStatus",它显示每个时间表行的状态。更多信息:

https://msdn.microsoft.com/en-us/library/office/jj163012.aspx

within the table "TimesheetLines" you may find "TimesheetLineStatus", which displays the status of each timesheet line. More information here: https://msdn.microsoft.com/en-us/library/office/jj163012.aspx

也许时间表级别的粒度对您来说足够了?如果是这样,请使用"Timesheets"和"Timesheets"。表并显示"TimesheetStatusId"。 0 =正在进行中,1 =已提交,2 =已接受,3 =已批准,4 =已拒绝,5 =正在等待提交。

Maybe a granularity on a timesheet level is enough for you? If so, use the "Timesheets" table and display the "TimesheetStatusId". 0 = In Progress, 1 = Submitted, 2 = Accepted, 3 = Approved, 4 = Rejected, 5 = Pending Submit.

如果您不使用时间表,我不认为除了在服务器设置中启用单一输入模式之外,还有一种简单的方法来获取数据。

If you don't use timesheets, I don't think there's an easy way to get the data except enabling the single entry mode within the server settings.


这篇关于如何在Project Server 2016中使用REST获取任务批准信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆