@Srikanth P,
If you're going to use the Web API feature you can make use of the
Common Authentication section, within the Web API service definition, to configure your authentication needs. You don't have to define your own action to get the token. You simply select the type of OAuth authentication the service uses (ex.
OAuth Client Credential or
OAuth JWT Bearer Token), select a credential from
Credential Manager that contains the necessary client ID and client secret or issues and private key information and Blue Prism will handle the negotiation with the REST service for you whenever you can one of the other actions on the Web API.
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------