Creating Schedule from Task Manager Template using REST API
I am trying to create a schedule from template using REST API. I have enabled "Integration Name" override parameter for "Run Data Integration" task type. Is it possible to include this parameter in the payload definition? Below is the screenshot of override parameters window while creating schedule.
Below is the groovy script:
def payload = """{
"jobType": "TM_DEPLOY_TEMPLATE",
"parameters":{
"templateName":"Test",
"scheduleName": "schedulerestapi Test",
"year":"2025",
"period":"Dec",
"dayZeroDate":"22/12/2025"
}
}"""
HttpResponse<String> jsonResponse = operation.application.getConnection("ConnectinName").post("/HyperionPlanning/rest/cmapi/v1/jobs")
.header("Content-Type", "application/json").body(payload).asString()
Can I please get help on this?
Thanks,
Srujan
0