JIL syntax check using REST API
search cancel

JIL syntax check using REST API

book

Article ID: 279861

calendar_today

Updated On: 04-15-2025

Products

Autosys Workload Automation

Issue/Introduction

REST API can use a JIL file and verify the JIL as part of the JIL POST operations

Resolution

One way to check the entire JIL file using the following method:

curl -k -X POST "https://WebServer.example.com:9443/AEWS/jil?timeout=300" -H "accept: application/json" -H "Authorization: Basic <encrypted password>" -H "Content-Type: text/plain" --upload-file "yourfileName.jil" -i

 

Additional Information

If there are any timeout errors  (example: CAUAJM_E_71261 Importing jil definitions encountered an exception; exceeded the specified timeout value of 300s), a custom timeout (example: 1200 instead of 300)  can be used in the POST call 

 https://WebServer.example.com:9443/AEWS/jil?timeout=1200