Accounts

Note

Endpoint for fetching either the “Accoutn Owner” of an account or the list of permitted Accounts for a user

Example

Request:
GET /accountOwner?accountNumber=string

Response:
{
  "contactPerson": {
    "cpBestTimeToContact": "string",
    "cpContactPersonId": 0,
    "cpEmail": "string",
    "cpFirstName": "string",
    "cpIsActive": true,
    "cpIsMainContact": true,
    "cpJobTitle": "string",
    "cpLastName": "string",
    "cpLeLegalEntityId": 0,
    "cpMiddleName": "string",
    "cpNfaIdentifier": "string",
    "cpPhone": "string",
    "cpRelationship": "string",
    "cpRemarks": "string",
    "cpSuffixName": "string"
  },
  "country": "string",
  "leAddress1": "string",
  "leAddress2": "string",
  "leBirthDate": "string",
  "leCity": "string",
  "leCmeSmpId": "string",
  "leDisplayAs": "string",
  "leEmail": "string",
  "leEmployerName": "string",
  "leFirstName": "string",
  "leJobTitle": "string",
  "leLastName": "string",
  "leLei": "string",
  "leNfaIdentifier": "string",
  "lePhone": "string",
  "lePostalCode": "string",
  "leStateProvince": "string",
  "leTaxId": "string",
  "leWebsite": "string",
  "legalEntityType": "string"
}

Request:
GET /userAccounts

Response:
[
  {
    "accountNumber": "string",
    "accountType": "string",
    "currency": "string",
    "dateOpen": "string",
    "description": "string",
    "isActive": true,
    "isHedge": true,
    "isOmnibus": true,
    "lastTradingActivity": "string"
  }
]