import requests
url = "https://{FUSION HOST}/api/scheduler/schedules"
payload = {
"id": "<string>",
"creatorType": "<string>",
"creatorId": "<string>",
"createTime": "2023-11-07T05:31:56Z",
"startTime": "2023-11-07T05:31:56Z",
"endTime": "2023-11-07T05:31:56Z",
"repeatUnit": "MILLISECOND",
"interval": 123,
"active": True,
"callParams": {
"uri": "<string>",
"method": "GET",
"queryParams": {},
"headers": {},
"entity": {}
}
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.json())