All Products
Search
Document Center

Data Management:GetDBTaskSQLJobLog

Last Updated:Oct 21, 2024

Queries the log that records the scheduling details of an SQL task.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
JobIdlongYes

The ID of the SQL task. You can call the ListDBTaskSQLJob operation to query the ID of the SQL task.

1276****
TidlongNo

The ID of the tenant. You can call the GetUserActiveTenant operation to query the tenant ID.

3***

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

The ID of the request.

4AC23904-55DE-550B-9676-E8946F07****
Successboolean

Indicates whether the request was successful. Valid values:

  • true: The request was successful.
  • false: The request failed.
true
ErrorMessagestring

The error message returned.

JobId is mandatory for this action.
ErrorCodestring

The error code returned.

MissingJobId
Logstring

The log that records the scheduling details.

log_****

Examples

Sample success responses

JSONformat

{
  "RequestId": "4AC23904-55DE-550B-9676-E8946F07****",
  "Success": true,
  "ErrorMessage": "JobId is mandatory for this action.",
  "ErrorCode": "MissingJobId",
  "Log": "log_****"
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history