【问题标题】:how to get data in Json form by postman for TFS API?如何通过邮递员为 TFS API 获取 Json 形式的数据?
【发布时间】:2018-07-23 12:19:54
【问题描述】:

【问题讨论】:

    标签: json visual-studio api tfs postman


    【解决方案1】:

    由于您只想获得一个工作项,因此您应该参考文档的这一部分:

    https://www.visualstudio.com/en-us/docs/integrate/api/wit/work-items#get-a-work-item

    Postman 中,您应该使用GET 的以下链接

    http://apactfs.cbre.com:8080/tfs/cbre.apac.applications/_apis/wit/workitems/61092?api-version=1.0
    

    【讨论】:

    • 感谢您的帮助,我怎样才能获得与其相关的所有子工作项/任务 =61092
    • 试试http://apactfs.cbre.com:8080/tfs/cbre.apac.applications/_apis/wit/workitems/61092?$expand=relations&api-version=1.0,检查:visualstudio.com/en-us/docs/integrate/api/wit/…
    • thanks man 1 last Question how to get all task's of a workitem ?
    • 这个 api 应该有这个工作项的所有链接和附件。
    • 是的,但我没有得到用户为我想要的工作项的任务分配的时间(工作项中所有任务的时间)请帮助
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-11-29
    • 2018-12-21
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多