Get Current Time

Get the current time of the server.

Request Format

GET https://{apigw-address}/dataflow-batch-service/v2.0/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 Server internal exception Internal server exception.

For other error codes, see Common Error Codes.

Samples

Request Sample

url: https://{apigw-address}/dataflow-batch-service/v2.0/time?action=getCurrentTime
method: GET

Return Sample

{
  "status": 0,
  "msg": "Success",
  "data": 1565251865242
}

SDK Samples


You can access the SDK samples for batch processing service on GitHub: