How to create a End To End Condition for a Autosys Filewatcher job linked to a CA7 job
1. First you must Authenticate to the API using the swagger page or using another tool.
You can use the POST /api/authentication/login API endpoint below to authenticate.
2. Below is the API call you want to use POST /CustomConditions, once there, click "Try it out"
The screenshot may look a little different in 24.0.1 and earlier as this was just updated in 24.1:
{
"customConditionType": "jobEndToEndDependency",
"schedulerName": "AutosysSchedulerName",
"jobIdentifier": "ca7_to_autosys_file_watcherJob",
"dependantJobServerName": "CA7_SchedulerName",
"dependantJobIdentifier": "CA7JOB",
"type": "Success"
}
Copy pate the above into the into the box that allows you to specify the JSON you want to use.
Edit the jobs names and scheduler names and click "Execute"
If you get a 200 code the Custom Condition was successfully added.
If there is a problem and error will be displayed.