POST api/Holdings/GetHoldingsByAccountID

Get holdings by UserInstitutionAccountID

Request Information

URI Parameters

None.

Body Parameters

GetHoldingsByAccountIDParams
NameDescriptionTypeAdditional information
AccountID

Guid-type AccountID of a UserInstitutionAccount

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountID": "d5f9dd50-61b1-4cd1-80e3-4dbbdf346243"
}

application/xml, text/xml

Sample:
Coming soon.

Response Information

Resource Description

List of holdings associated with specified UserInstitutionAccount.

Collection of HoldingInformation
NameDescriptionTypeAdditional information
Symbol

Symbol for this holding.

string

None.

Quantity

Amount of shares for this holding.

decimal number

None.

LastUpdateDate

Last updated date for this holding.

date

None.

CurrentValue

Current market value for this holding.

decimal number

None.

CostBasis

Cost basis for this holding.

decimal number

None.

LastPrice

Last unit price by LastUpdateDate

decimal number

None.

TodaysGL

Today's Gain/Loss with regarding to LastUpdateDate

decimal number

None.

TotalGL

Total Gain/Loss by LastUpdateDate

decimal number

None.

Description

Description for this holding.

string

None.

UserInstitutionAccountID

Guid-type ID of the UserInstitutionAccount from which the holding was downloaded.

globally unique identifier

None.

HoldingID

Guid-type ID of the Holding.

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "UserInstitutionAccountID": "db8f488b-6245-471c-b78e-f7a144b0532f",
    "HoldingID": "fbb13449-bdcd-46f9-b3d6-bf098ab1d783",
    "Symbol": "sample string 1",
    "Quantity": 1.0,
    "LastUpdateDate": "2024-04-24T02:02:12.3172303+00:00",
    "CurrentValue": 3.0,
    "CostBasis": 1.0,
    "LastPrice": 1.0,
    "TodaysGL": 1.0,
    "TotalGL": 1.0,
    "Description": "sample string 4"
  },
  {
    "UserInstitutionAccountID": "db8f488b-6245-471c-b78e-f7a144b0532f",
    "HoldingID": "fbb13449-bdcd-46f9-b3d6-bf098ab1d783",
    "Symbol": "sample string 1",
    "Quantity": 1.0,
    "LastUpdateDate": "2024-04-24T02:02:12.3172303+00:00",
    "CurrentValue": 3.0,
    "CostBasis": 1.0,
    "LastPrice": 1.0,
    "TodaysGL": 1.0,
    "TotalGL": 1.0,
    "Description": "sample string 4"
  }
]

application/xml, text/xml

Sample:
Coming soon.