GET api/InvestmentStock/{id}?type={type}

Gets a list of investment stock.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Organization Id.

integer

Required

type

List Type.

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of InvestmentStock
NameDescriptionTypeAdditional information
UpdateType

string

None.

InvestmentStockId

integer

None.

StockSymbol

string

None.

StockName

string

None.

LastPrice

decimal number

None.

LastPriceDate

date

None.

SortOrder

integer

None.

GlobalId

string

None.

OrganizationId

integer

None.

UpdatedDate

date

None.

UpdatedBy

string

None.

UpdatedByName

string

None.

CurrentQuantity

decimal number

None.

CurrentAmount

decimal number

None.

Change

decimal number

None.

ChangePercentage

decimal number

None.

Volume

integer

None.

OpenPrice

decimal number

None.

PreviousPrice

decimal number

None.

HighPrice

decimal number

None.

LowPrice

decimal number

None.

Color

string

None.

PriceApiKey

string

None.

Price52WeekHigh

string

None.

Price52WeekLow

string

None.

AverageVolume

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "UpdateType": "sample string 1",
    "InvestmentStockId": 2,
    "StockSymbol": "sample string 3",
    "StockName": "sample string 4",
    "LastPrice": 1.0,
    "LastPriceDate": "2025-01-18T10:50:16.3501121+00:00",
    "SortOrder": 1,
    "GlobalId": "sample string 5",
    "OrganizationId": 1,
    "UpdatedDate": "2025-01-18T10:50:16.3501121+00:00",
    "UpdatedBy": "sample string 6",
    "UpdatedByName": "sample string 7",
    "CurrentQuantity": 1.0,
    "CurrentAmount": 1.0,
    "Change": 1.0,
    "ChangePercentage": 1.0,
    "Volume": 1,
    "OpenPrice": 1.0,
    "PreviousPrice": 1.0,
    "HighPrice": 1.0,
    "LowPrice": 1.0,
    "Color": "sample string 8",
    "PriceApiKey": "sample string 9",
    "Price52WeekHigh": "sample string 10",
    "Price52WeekLow": "sample string 11",
    "AverageVolume": "sample string 12"
  },
  {
    "UpdateType": "sample string 1",
    "InvestmentStockId": 2,
    "StockSymbol": "sample string 3",
    "StockName": "sample string 4",
    "LastPrice": 1.0,
    "LastPriceDate": "2025-01-18T10:50:16.3501121+00:00",
    "SortOrder": 1,
    "GlobalId": "sample string 5",
    "OrganizationId": 1,
    "UpdatedDate": "2025-01-18T10:50:16.3501121+00:00",
    "UpdatedBy": "sample string 6",
    "UpdatedByName": "sample string 7",
    "CurrentQuantity": 1.0,
    "CurrentAmount": 1.0,
    "Change": 1.0,
    "ChangePercentage": 1.0,
    "Volume": 1,
    "OpenPrice": 1.0,
    "PreviousPrice": 1.0,
    "HighPrice": 1.0,
    "LowPrice": 1.0,
    "Color": "sample string 8",
    "PriceApiKey": "sample string 9",
    "Price52WeekHigh": "sample string 10",
    "Price52WeekLow": "sample string 11",
    "AverageVolume": "sample string 12"
  }
]

application/xml, text/xml

Sample:
<ArrayOfInvestmentStock xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomersdbWebShared.Models">
  <InvestmentStock>
    <AverageVolume>sample string 12</AverageVolume>
    <Change>1</Change>
    <ChangePercentage>1</ChangePercentage>
    <Color>sample string 8</Color>
    <CurrentAmount>1</CurrentAmount>
    <CurrentQuantity>1</CurrentQuantity>
    <GlobalId>sample string 5</GlobalId>
    <HighPrice>1</HighPrice>
    <InvestmentStockId>2</InvestmentStockId>
    <LastPrice>1</LastPrice>
    <LastPriceDate>2025-01-18T10:50:16.3501121+00:00</LastPriceDate>
    <LowPrice>1</LowPrice>
    <OpenPrice>1</OpenPrice>
    <OrganizationId>1</OrganizationId>
    <PreviousPrice>1</PreviousPrice>
    <Price52WeekHigh>sample string 10</Price52WeekHigh>
    <Price52WeekLow>sample string 11</Price52WeekLow>
    <PriceApiKey>sample string 9</PriceApiKey>
    <SortOrder>1</SortOrder>
    <StockName>sample string 4</StockName>
    <StockSymbol>sample string 3</StockSymbol>
    <UpdateType>sample string 1</UpdateType>
    <UpdatedBy>sample string 6</UpdatedBy>
    <UpdatedByName>sample string 7</UpdatedByName>
    <UpdatedDate>2025-01-18T10:50:16.3501121+00:00</UpdatedDate>
    <Volume>1</Volume>
  </InvestmentStock>
  <InvestmentStock>
    <AverageVolume>sample string 12</AverageVolume>
    <Change>1</Change>
    <ChangePercentage>1</ChangePercentage>
    <Color>sample string 8</Color>
    <CurrentAmount>1</CurrentAmount>
    <CurrentQuantity>1</CurrentQuantity>
    <GlobalId>sample string 5</GlobalId>
    <HighPrice>1</HighPrice>
    <InvestmentStockId>2</InvestmentStockId>
    <LastPrice>1</LastPrice>
    <LastPriceDate>2025-01-18T10:50:16.3501121+00:00</LastPriceDate>
    <LowPrice>1</LowPrice>
    <OpenPrice>1</OpenPrice>
    <OrganizationId>1</OrganizationId>
    <PreviousPrice>1</PreviousPrice>
    <Price52WeekHigh>sample string 10</Price52WeekHigh>
    <Price52WeekLow>sample string 11</Price52WeekLow>
    <PriceApiKey>sample string 9</PriceApiKey>
    <SortOrder>1</SortOrder>
    <StockName>sample string 4</StockName>
    <StockSymbol>sample string 3</StockSymbol>
    <UpdateType>sample string 1</UpdateType>
    <UpdatedBy>sample string 6</UpdatedBy>
    <UpdatedByName>sample string 7</UpdatedByName>
    <UpdatedDate>2025-01-18T10:50:16.3501121+00:00</UpdatedDate>
    <Volume>1</Volume>
  </InvestmentStock>
</ArrayOfInvestmentStock>