用于检索VSO时区信息的API [英] API to Retrieve VSO Time Zone information

查看:79
本文介绍了用于检索VSO时区信息的API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有任何API或库或其他方法可用于检索我们在"设置"下看到的实际时区 - > VisualStudio主页中的帐户。你能帮忙吗?


请注意,使用ReST API检索时间戳总是以UTC为单位。  



谢谢,


Nalini

解决方案

嗨Nalini Natartjan,



感谢您在此发帖。



您使用的是Visual Studio Team Service还是Team Foundation Server?据我所知,您可以使用以下rest api获取配置文件,然后时间戳包含在响应中:


https://www.visualstudio.com/en-us/docs/integrate/api/shared/profiles



最好的问候


Limitxiao Gao


Is there any API or library or other ways available to retrieve the actual Time Zone we see under Settings - > Accounts in VisualStudio home page. Can you please help?

Notice that time stamp is always in UTC when retrieved using ReST API.  

Thanks,

Nalini

解决方案

Hi Nalini Natartjan,

Thank you for posting here.

Did you use Visual Studio Team Service or Team Foundation Server? As I known, you could use the following rest api to get the profile, then timestamp is included in the response:

https://www.visualstudio.com/en-us/docs/integrate/api/shared/profiles

Best Regards

Limitxiao Gao


这篇关于用于检索VSO时区信息的API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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