Gets the details of a specified calculation job.
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 ID of the calculation job. |
1 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the instance. Call the ListInstances operation to obtain this ID. |
pairec-cn-test1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response schema. |
||
| RequestId |
string |
The request ID. |
7D59453C-48AA-5FC5-8848-2D373BD1A17F |
| ABMetricId |
string |
The ID of the AB metric. |
1 |
| ABMetricName |
string |
The name of the AB metric. |
pv |
| Status |
string |
The status of the calculation job. Valid values:
|
Success |
| JobMessage |
array |
The job messages. |
|
|
string |
A job message. |
success |
|
| Config |
string |
The job configuration. |
{} |
| GmtRanTime |
string |
The runtime of the job. |
2021-12-15T23:24:33.132+08:00 |
| BizDate |
string |
The business date. |
2021-12-15 |
| JobSource |
string |
The job 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.