Purpose:
When invoked, this action will allow the user to obtain a list of Roles from Encompass Settings exposed to Encompass Partner Connect, so that a partner can support configurations based on that data. The user calling this action needs to have the required permission configured in the Encompass Settings..
Inputs:
None
Returns:
Type: Promise
==> Resolved:
A list of the Roles in the EPC API - and associated attributes:
[
{
"roleAbbr":"<roleAbbr>",
"roleID":"<roleID>",
"roleName":"<roleName>"
}
]
If the user does not have permission, the Promise will resolve to an empty object - {}
==> Rejected
An error is raised, containing a message attribute with details on the error that occurred
{
message: "{{ERROR_DETAILS}}"
}
