POST api/Holdings/GetHoldingsByAccountID
Get holdings by UserInstitutionAccountID
Request Information
URI Parameters
None.
Body Parameters
GetHoldingsByAccountIDParamsName | Description | Type | Additional information |
---|---|---|---|
AccountID |
Guid-type AccountID of a UserInstitutionAccount |
globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "AccountID": "cb0b9283-da03-4be0-99ce-5275796c206d" }
application/xml, text/xml
Sample:
Coming soon.
Response Information
Resource Description
List of holdings associated with specified UserInstitutionAccount.
Collection of HoldingInformationName | Description | Type | Additional 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": "669834fd-6c1a-4354-ba82-07e33c3273a5", "HoldingID": "f1a3a5fe-24f7-4c77-988d-43dd6e29e272", "Symbol": "sample string 1", "Quantity": 1.0, "LastUpdateDate": "2024-12-11T23:38:23.7120842+00:00", "CurrentValue": 3.0, "CostBasis": 1.0, "LastPrice": 1.0, "TodaysGL": 1.0, "TotalGL": 1.0, "Description": "sample string 4" }, { "UserInstitutionAccountID": "669834fd-6c1a-4354-ba82-07e33c3273a5", "HoldingID": "f1a3a5fe-24f7-4c77-988d-43dd6e29e272", "Symbol": "sample string 1", "Quantity": 1.0, "LastUpdateDate": "2024-12-11T23:38:23.7120842+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.