Need to start/stop api portal through bash shell script

What product/components do you use and which version/fix level are you on?

We are using API Portal and running perfectly good , no need to fix anything.

Is your question related to the free trail, or to a production (customer) instance?

Free Trail

What are you trying to achieve? Please describe in detail.

We are planning to start stop API portal through script but the procedure of STOP/START API Portal, after entering password of it will go to next softwareAG promt like this <acc+>–. In this we need to write startall to start API portal. Please help us to automate for this scripting.

Do you get any error messages? Please provide a full error message screenshot and log file.

No error we are getting, we are attaching the script which we have written please and modify them.

Have you installed all the latest fixes of the products and systems you are using?

Not yet, everything running fine.

Hi Manish,
The attached documentation has some options,
https://documentation.softwareag.com/webmethods/api-portal/yap10-7/10-7_API_Portal_webhelp/index.html#page/api-portal-integrated-webhelp%2Fta-apmgt_starting_api_portal_linux.html%23

Hope this helps!!

Regards.

Hello Prabavthy,

Thank you for your response but this reply did not helped me. I need to automate start and stop webmethod API Portal in single script.