---
title: "List User's Business Roles"
method: POST
path: "/accountmanager.fetchbusinessroles/{userId}"
tags: ["User Admin"]
---

# List User's Business Roles

`POST /accountmanager.fetchbusinessroles/{userId}`

## Request

- Base URL: `https://companynode.pricefx.com/pricefx/companypartition`
- URL: `https://companynode.pricefx.com/pricefx/companypartition/accountmanager.fetchbusinessroles/{userId}`
- Auth: one of:
  - HTTP basic
  - API key in header `X-PriceFx-jwt`
- TypeScript: <https://skmtc.dev/pricefx/apis/the-pricefx-backend-api/docs/accountmanager.fetchbusinessroles/:userId/post.ts> (a function with typed inputs; its response is checked against the schema)

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

## Response `200`

OK

- object
  - `response` object
    - `node` string
    - `csrfToken` string
    - `data` object[]
      - `version` number
      - `typedId` string
      - `uniqueName` string
      - `label` string
      - `additionalInfo1` unknown
      - `additionalInfo2` unknown
      - `additionalInfo3` unknown
      - `additionalInfo4` unknown
      - `createDate` string
      - `createdBy` number
      - `lastUpdateDate` string
      - `lastUpdateBy` number
    - `totalRows` number
    - `status` number

---

[API](https://skmtc.dev/pricefx/apis/the-pricefx-backend-api.md) - [All operations](https://skmtc.dev/pricefx/apis/the-pricefx-backend-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pricefx/apis/the-pricefx-backend-api/revisions/23d941b00ac0?raw)
