AutoSys Workload Automation

 View Only
  • 1.  Rest api issues with CA Workload automation de

    Posted Jun 25, 2020 11:10 AM
    HI, 

    I am trying to verify if a application definition already exists using CA WORKLOAD AUTOMATION de WEBCLIENT rest api. This seems to work intermittently but most executions slows down and eventually starts giving me 500 internal server error. Please let me know if I am missing something here. I am using Powershell to call the rest api. 

    Here is the code I am trying - 
    $testAplication = Invoke-RestMethod -Uri "https://<servername>:8443/de/api/v1/applicationDefinitions?query=name=='$ApplicationName'" -Method Get -Headers $Headers
    $TestAplication

    Even when I plainly calls-
    Invoke-RestMethod -Uri "https://cawebstgvh01:8443/de/api/v1/applicationDefinitions" -Method Get -Headers $Headers

    It works sometime but on most occasion I get -

    Invoke-RestMethod : The remote server returned an error: (500) Internal Server Error.

    Let me know if I am doing something wrong here.

    ------------------------------
    Abhishek
    ------------------------------


  • 2.  RE: Rest api issues with CA Workload automation de
    Best Answer

    Broadcom Employee
    Posted Jun 26, 2020 05:19 AM
    Hi,

    It needs to be investigated , can you please raise a ticket for this.

    Ravi Kiran


  • 3.  RE: Rest api issues with CA Workload automation de

    Posted Jun 26, 2020 11:55 AM
    I raised a separate ticket for applicationdefinition rest api but I feel almost every rest api for CA WA DE 12.1 is unstable.