Time接口可以用来获取当前服务器时间。业务单元的时区设置将被应用.
参数 | 类型 | 描述 |
---|---|---|
apiKey | string | 您的API key,为了认证身份。必填. |
https://api.esv2.com/v2/Api/Time?apiKey=YOUR_API_KEY_HERE |
元素/属性 | 类型 | 描述 |
---|---|---|
Data | dateTime | 目前服务器日期和时间* |
GET https://api.esv2.com/v2/Api/Time?apiKey=test_api_key1 HTTP/1.1
Accept-Encoding: gzip,deflate
Host: api.esv2.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
|
HTTP/1.1 200 OK Cache-Control: private Content-Type: text/xml; charset=utf-8 Server: Microsoft-IIS/7.5 X-AspNetMvc-Version: 3.0 X-AspNet-Version: 4.0.30319 X-Powered-By: ASP.NET Date: Wed, 24 Apr 2013 10:33:09 GMT Content-Length: 173<ApiResponse xmlns:xsd=”http://www.w3.org/2001/XMLSchema” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”> <Data>2013-04-24T10:33:09.4338472Z</Data> </ApiResponse> |