I could able to call Third party RestAPI using REST Operation Call mentioned below.
Calling third-party API from CA Release automation ?
Currently our requirement is to send our deployment status , Application name etc details to the external third party REST API POST Call ?
So that third party application will get the update of the deployment status and application name.
Thanks in Advance.
You can use parameters like <Application Name> in Body property.
However, deployment status is not built-in parameter. You need to define your parameters and get the status using other APIs like /release-status and /releases-reports.
/release-status - CA Release Automation - 6.5 - CA Technologies Documentation
/releases-reports - CA Release Automation - 6.5 - CA Technologies Documentation
Thank you Yasuki-san for reply.
I am new to REST API. I understood your point here.
I will mention in Body about parameters details how can I check what is the parameter value CA RA is sending?
NOTE : As of now I don't have access to external API so I am trying to simulate this and I will apply in real environment.
I recommend to use "Add Text to a File" action type and output Body section you mention to a text file instead of calling external REST API without real environment, and check the text file.
Thank you Yasuyuki-san, It worked !!
You may also check if you can form a custom JSON request having the above field inputted to JSON request file and you can use it to invoke the REST API.
However, the above is determine if your REST API accept same (however it is just standards).
Second way I can suggest beside suggestion by Yas, which may require a manual intervention is you can use action "user input- stop for manual operation" in which you can display the value of parameter and on accepting the same it will be following over to the REST call action, passing same.