Create Cube Aggregate Creation Schedule
POST/org/:orgId/project/:projectId/cube/:cubeId/aggregates-creation/scheduler
Create a new schedule using cron time expression.
Request
Path Parameters
orgId stringrequired
The Organization ID for which you want to create a schedule.
projectId stringrequired
The Project ID for which you want to create a schedule.
cubeId stringrequired
The Cube ID for which you want to create a schedule.
Query Parameters
time_expression stringrequired
When the schedule should be executed. Defined similarly to Cron job time format, with one more field (seconds) in the beginning. For example: 0 25 06 ? * *
path stringrequired
Use the following value: aggregate/create
- application/json
Body
required
any
Responses
- 200
- 401
- 404
- 500
Success.
- application/json
- Schema
- Example (from schema)
- Example
Schema
any
{
"response": {
"created_at": "2023-05-22T08:50:56.138663Z",
"created_by_user": "admin",
"cube_id": "b89a2fb7-74f4-4828-706e-70f7186e10a0",
"full_build": true,
"job_id": "da67817b-22db-4dbf-91a8-05124e241f77",
"latest_execution": {
"executedAt": "0001-01-01T00:00:00Z",
"id": "",
"jobId": ""
},
"organization_Id": "default",
"path": "aggregate/create",
"project_id": "956a27dd-32b1-482e-7d5c-2488fdb9c943",
"time_expression": "0 25 06 ? * *"
},
"status": {
"i18n_message": "response.ok",
"message": "OK"
}
}
{
"response": {
"created_at": "2023-05-22T08:50:56.138663Z",
"created_by_user": "admin",
"cube_id": "b89a2fb7-74f4-4828-706e-70f7186e10a0",
"full_build": true,
"job_id": "da67817b-22db-4dbf-91a8-05124e241f77",
"latest_execution": {
"executedAt": "0001-01-01T00:00:00Z",
"id": "",
"jobId": ""
},
"organization_Id": "default",
"path": "aggregate/create",
"project_id": "956a27dd-32b1-482e-7d5c-2488fdb9c943",
"time_expression": "0 25 06 ? * *"
},
"status": {
"i18n_message": "response.ok",
"message": "OK"
}
}
This error will occur if calling user does not have access right for the API.
This error will occur if the org identified by orgId does not exist.
A server error occurred. Check the logs for more details.
Loading...