Python
import requests url = "https://{FUSION HOST}/api/jobs/{resource}/schedule" payload = {} headers = {"Content-Type": "*/*"} response = requests.put(url, json=payload, headers=headers) print(response.text)
{ "resource": "datasource:ratings-db", "triggers": [ { "type": "cron", "enabled": true, "expression": "0 15 10 ? * MON-FRI" } ] }
Configure the schedule for the specified job.
The job ID.
Validate that the job config exists.
JSON-formatted configuration values.
Resource reference as a string, such as 'datasource:ratings-db'
successful operation
Show child attributes
Was this page helpful?