---
title: "List Account Violations"
method: GET
path: "/accounts/{accountID}/violations"
tags: ["Violations"]
---

# List Account Violations

`GET /accounts/{accountID}/violations`

## Request

- Base URL: `https://bo-api.drivewealth.io/back-office`
- URL: `https://bo-api.drivewealth.io/back-office/accounts/{accountID}/violations`
- Auth: HTTP bearer

Retrives a list of Account Violations by accountID.

## Path parameters

- `accountID` string, required: ![sensitive](data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4NSIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDg1IDIwIj48ZGVmcz48bGluZWFyR3JhZGllbnQgaWQ9ImdyYWQtU0VOU0lUSVZFIiB4MT0iMCIgeTE9IjAiIHgyPSIwIiB5Mj0iMSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2I0NTMwOSIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzkyNDAwZSIvPjwvbGluZWFyR3JhZGllbnQ+PGZpbHRlciBpZD0iZ2xvdy1TRU5TSVRJVkUiIHg9Ii02MCUiIHk9Ii02MCUiIHdpZHRoPSIyMjAlIiBoZWlnaHQ9IjIyMCUiPjxmZUdhdXNzaWFuQmx1ciBzdGREZXZpYXRpb249IjIuMiIvPjwvZmlsdGVyPjwvZGVmcz48cmVjdCB4PSIxIiB5PSIxIiB3aWR0aD0iODMiIGhlaWdodD0iMTgiIHJ4PSI5IiBmaWxsPSIjOTI0MDBlIiBmaWx0ZXI9InVybCgjZ2xvdy1TRU5TSVRJVkUpIiBvcGFjaXR5PSIwLjU1Ii8+PHJlY3QgeD0iMC41IiB5PSIwLjUiIHdpZHRoPSI4NCIgaGVpZ2h0PSIxOSIgcng9IjEwIiBmaWxsPSJ1cmwoI2dyYWQtU0VOU0lUSVZFKSIgc3Ryb2tlPSIjOTI0MDBlIiBzdHJva2Utd2lkdGg9IjEiLz48cGF0aCBkPSJNMTAgNC44TDE0IDYuMlYxMEMxNCAxMi43IDEyLjMgMTQuNCAxMCAxNS40QzcuNyAxNC40IDYgMTIuNyA2IDEwVjYuMloiIGZpbGw9IiNmZmZmZmYiIGZpbHRlcj0idXJsKCNnbG93LVNFTlNJVElWRSkiIG9wYWNpdHk9IjAuNSIvPjxwYXRoIGQ9Ik0xMCA0LjhMMTQgNi4yVjEwQzE0IDEyLjcgMTIuMyAxNC40IDEwIDE1LjRDNy43IDE0LjQgNiAxMi43IDYgMTBWNi4yWiIgZmlsbD0iI2ZmZmZmZiIvPjx0ZXh0IHg9IjE4IiB5PSIxMy41IiBmb250LWZhbWlseT0iSGVsdmV0aWNhLCBBcmlhbCwgc2Fucy1zZXJpZiIgZm9udC1zaXplPSIxMCIgZm9udC13ZWlnaHQ9IjcwMCIgbGV0dGVyLXNwYWNpbmc9IjAuNiIgZmlsbD0iI2ZmZmZmZiI+U0VOU0lUSVZFPC90ZXh0Pjwvc3ZnPg==) The user's unique account identifier.

## Response `200`

Retrieving a list of Account Violations by accountID was Successful.

- ViolationDetailsRes
  - `goodFaithViolations` number: The total number of good faith violations.
  - `patternDayTrades` PatternDayTradesObj[]: An array of pattern day trade violations.
    - `id` string, uuid: A unique ID created by DriveWealth to identify a specific instrument.
    - `symbol` string, nullable: The ticker symbol of the Instrument. Debt Instruments and Global Mutual Funds do not have symbols and are referred to buy their `instrumentID` or `ISIN`.
    - `qty` number: The amount of the instrument in shares.
    - `amount` number: The amount of shares being transacted.
    - `side` 'B' | 'S' | 'BUY_OPEN' | 'BUY_CLOSE' | 'SELL_OPEN' | 'SELL_CLOSE': The side of the order.
    - `createdWhen` string
    - `orderID` string: A unique DriveWealth order identifier created when an order is placed.
    - `orderNo` string: A unique, human-readable DriveWealth order number.
    - `violationSells` ViolationSells[]: An array which orders are in violation.
      - `qty` number: The amount of the instrument in shares.
      - `amount` number: The amount of shares being transacted.
      - `createdWhen` string
      - `orderID` string: A unique DriveWealth order identifier created when an order is placed.
      - `orderNo` string: A unique, human-readable DriveWealth order number.
      - `side` 'B' | 'S' | 'BUY_OPEN' | 'BUY_CLOSE' | 'SELL_OPEN' | 'SELL_CLOSE': The side of the order.
    - `legacyGoodFaithViolations` number: NEEDS DESCRIPTION
    - `message` string: A description of the violation.
  - `accountEquityBreakdown` AccountEquityBreakdownObj
    - `longMarketValue` number: The current long market value.
    - `debitBalance` number: The current debit balance.
    - `accountEquity` number: The current total account equity (longMarketValue - debitBalance).

---

[API](https://skmtc.dev/drivewealth/apis/account-management-apis.md) - [All operations](https://skmtc.dev/drivewealth/apis/account-management-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/drivewealth/apis/account-management-apis/revisions/4fae1b00b068?raw)
