GET REST API Exposed by SAM to Retrieve List of Profiles
SAM provides a built-in GET REST API to access a list of all of the configured approval request profiles.
To get the list of profiles, make a GET call to http://<SAM server>/sam/profiles.
The JSON output will contain information such as
{
"profileName": "2.17.x",
"profileId": "88@30990605",
…