Creates multiple calculation jobs.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
pairec:CreateCalculationJobs |
create |
*All Resource
|
None | None |
Request syntax
POST /api/v1/batch/calculationjobs/create HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| ABMetricIds |
string |
Yes |
A comma-separated list of A/B metric IDs. |
2,3,4 |
| StartDate |
string |
Yes |
The start date. |
2023-01-01 |
| EndDate |
string |
Yes |
The end date. |
2023-01-03 |
| InstanceId |
string |
Yes |
The instance ID. Call the ListInstances operation to get this ID. |
pairec-cn-test1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response schema. |
||
| RequestId |
string |
The request ID. |
8C27790E-CCA5-56BB-BA17-646295DEC0A2 |
| CalculationJobIds |
array |
A list of calculation job IDs. |
|
|
string |
A calculation job ID. |
["12","13","14"] |
Examples
Success response
JSON format
{
"RequestId": "8C27790E-CCA5-56BB-BA17-646295DEC0A2",
"CalculationJobIds": [
"[\"12\",\"13\",\"14\"]"
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.