Get Current Time¶
Get the current time of the server.
Request Format¶
GET https://{apigw-address}/batch-processing-service/v2.1/time?action=getCurrentTime
Response Parameters¶
Name |
Data Type |
Description |
---|---|---|
data |
Long |
The current time of the server, by UTC format in milliseconds. |
Error Code¶
Code |
Message |
Description |
---|---|---|
62109 |
Internal server exception |
Internal server exception. |
For other error codes, see Common Error Codes.
Samples¶
Request Sample¶
url: https://{apigw-address}/batch-processing-service/v2.1/time?action=getCurrentTime
method: GET
Return Sample¶
{
"code": 0,
"msg": "OK",
"data": 1565251865242
}
SDK Samples¶
You can access the SDK samples for batch processing service on GitHub: