Queries the details of a baseline instance.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
BaselineId | long | Yes | The ID of the baseline. | 1234 |
Bizdate | string | Yes | The data timestamp of the baseline instance. Specify the time in the ISO 8601 standard in the yyyy-MM-dd'T'HH:mm:ssZ format. The time must be in UTC. | 2020-07-07T00:00:00+0800 |
InGroupId | integer | Yes | The ID of the scheduling cycle of the baseline instance. For a baseline instance that is scheduled by day, the value of this parameter is 1. For a baseline instance that is scheduled by hour, the value of this parameter ranges from 1 to 24. | 1 |
Response parameters
Examples
Sample success responses
JSON
format
{
"HttpStatusCode": 200,
"RequestId": "0000-ABCD-EFG****",
"ErrorMessage": "The specified parameters are invalid.",
"ErrorCode": "1031203110005",
"Success": true,
"Data": {
"Status": "SAFE",
"Owner": "9527952795****",
"FinishTime": 1553443200000,
"ProjectId": 1234,
"Priority": 1,
"EndCast": 1553443200000,
"InGroupId": 1,
"BaselineName": "Baseline name\n",
"BaselineId": 1234,
"FinishStatus": "UNFINISH",
"Bizdate": 1553443200000,
"Buffer": 1200,
"SlaTime": 1553443200000,
"ExpTime": 1553443200000,
"LastInstance": {
"Status": "SUCCESS",
"Owner": "9527952795****",
"FinishTime": 1553443200000,
"NodeName": "Node name\n",
"ProjectId": 1234,
"InstanceId": 12345,
"EndCast": 1553443200000,
"NodeId": 1234
},
"BlockInstance": {
"Status": "SUCCESS",
"Owner": "9527952795****",
"FinishTime": 1553443200000,
"NodeName": "Node name\n",
"ProjectId": 1234,
"InstanceId": 12345,
"EndCast": 1553443200000,
"NodeId": 1234
}
}
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
403 | Forbidden.Access | Access is forbidden. Please first activate DataWorks Enterprise Edition or Flagship Edition. | No permission, please authorize |
429 | Throttling.Api | The request for this resource has exceeded your available limit. | - |
429 | Throttling.Api.Risk | The request for this resource has exceeded your daily available limit. | - |
429 | Throttling.System | The DataWorks system is busy. Try again later. | - |
429 | Throttling.User | Your request is too frequent. Try again later. | - |
500 | Forbidden.Not.Server | The dataworksAPI service is not available in this area. Please try it in another area. | - |
500 | InternalError.System | An internal system error occurred. Try again later. | - |
500 | InternalError.UserId.Missing | An internal system error occurred. Try again later. | - |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history