GET REST API Exposed by SAM to Retrieve Status Types
SAM provides a built-in GET REST API to access a list of all of the configured approval statuses.
To get list of statuses, make a GET call to http://<SAM server>/sam/status using the Postman application.
The JSON output will contain information such as,
{
"data": [
{
"statusId": "88@30993086",
"statusName": "Draft",
},
{
"statusId": "88@30993089",
"statusName": "Pending Manager Approval",
},
{
"statusId": "0CX@32325368",
"statusName": "New",
}
]
}