Action - getPersonas

Purpose:

When invoked, this action will allow the user to obtain a list of Personas 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 Personas in the EPC API - and associated attributes:

[
   {
      "id":"<personaID>",
      "name":"<name>",
      "isInternal": < isInternal>,
      "isExternal": < isExternal>  
  }
]

If the user does not have permission, the Promise will resolve to an empty object - {}

==> Rejected