GetCalculationJob
Retrieves the details of a specified compute task.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
pairec:GetCalculationJob |
get |
*All Resource
|
None | None |
Request syntax
GET /api/v1/calculationjobs/{CalculationJobId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| CalculationJobId |
string |
Yes |
The compute task ID. |
1 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. You can call ListInstances to obtain the instance ID. |
pairec-cn-test1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
7D59453C-48AA-5FC5-8848-2D373BD1A17F |
| ABMetricId |
string |
The AB metric ID. |
1 |
| ABMetricName |
string |
The AB metric name. |
pv |
| Status |
string |
The status of the compute task. Valid values:
|
Success |
| JobMessage |
array |
The task information. |
|
|
string |
The task information. |
success |
|
| Config |
string |
The task configuration. |
{} |
| GmtRanTime |
string |
The time when the task ran. The value is in ISO 8601 format and includes a time zone offset. |
2021-12-15T23:24:33.132+08:00 |
| BizDate |
string |
The business date. The value is in YYYY-MM-DD format. |
2021-12-15 |
| JobSource |
string |
The task source. Valid values:
|
CronOffline |
Examples
Success response
JSON format
{
"RequestId": "7D59453C-48AA-5FC5-8848-2D373BD1A17F",
"ABMetricId": "1",
"ABMetricName": "pv",
"Status": "Success",
"JobMessage": [
"success"
],
"Config": "{}",
"GmtRanTime": "2021-12-15T23:24:33.132+08:00",
"BizDate": "2021-12-15",
"JobSource": "CronOffline"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.