List User's Roles

post/accountmanager.fetchroles/{userId}

Returns a list of role objects that are assigned to the specified user.

Avaialble for the following roles:

  • ADMIN (General Admin)
  • USERADMIN (Administer Users)
  • SUPPORT (Investigate for Support)
  • USERAUDIT (View Audits and Users)
  • PLASMA (Adminster Plasma)
Securitybasic or X-PriceFx-jwt
Request
path Parameters
userId
required
string

The ID of the user you want to retrieve roles for. The userId is the typedId without the U suffix. For example, userId of the 2147490806.U is 2147490806.

Responses
200

OK

Response Schema: application/json
object
node
string non-empty
csrfToken
string non-empty
Array of objects non-empty unique
Array (non-empty)
version
number
typedId
string non-empty
uniqueName
string non-empty
label
string non-empty
additionalInfo1
any
additionalInfo2
any
additionalInfo3
any
additionalInfo4
any
createDate
string non-empty
createdBy
number
lastUpdateDate
string non-empty
lastUpdateBy
number
totalRows
number
status
number
Request samples
Response samples
application/json
{
  • "response": {
    • "node": "string",
    • "csrfToken": "string",
    • "data": [
      • {
        • "version": 0,
        • "typedId": "string",
        • "uniqueName": "string",
        • "label": "string",
        • "additionalInfo1": null,
        • "additionalInfo2": null,
        • "additionalInfo3": null,
        • "additionalInfo4": null,
        • "createDate": "string",
        • "createdBy": 0,
        • "lastUpdateDate": "string",
        • "lastUpdateBy": 0
        }
      ],
    • "totalRows": 0,
    • "status": 0
    }
}