Get

[POST] .../v1/useraccount/get

Returns user account information. Use this method to list account assignments for a user before showing account access settings or changing those assignments. The response returns UserAccount rows with assignment id, user_id and the assigned account object; the request body is required and supports filters for user_id. The caller must have user-account get permission 605 and user_id must be positive. Missing body, invalid user_id, denied permission, invalid filters and persistent lookup failures are returned as HTTP 200 ErrorResult business errors.

Request Parameters

Name Type Required Description
filters Array of Filter Optional Optional filters by fields available for this API method.

Filterable Fields

Field Type Description
user_id int User ID.

Request Example

{
  "filters": [
    {
      "Field": "user_id",
      "Operator": "Equal",
      "Value": "17"
    }
  ]
}

Response Parameters

Name Type Description
ok Boolean Indicates whether the request completed successfully.
result Array of UserAccount Result array.

Response Example

{
  "ok": true,
  "result": [
    {
      "id": 42,
      "user_id": 17,
      "account": {
        "id": 5,
        "name": "Main cash account",
        "deleted_mark": false,
        "last_update": 1712345600
      }
    }
  ]
}