GET api/OrderManagement/GetAccountPortfolio?ClientNo={ClientNo}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ClientNo

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of AccountPortfolio
NameDescriptionTypeAdditional information
StockCode

string

None.

StockName

string

None.

Quantity

integer

None.

AvgCost

decimal number

None.

InvCost

decimal number

None.

ClsPrice

decimal number

None.

MktValue

decimal number

None.

ProfitLoss

decimal number

None.

PctChg

decimal number

None.

PctPF

decimal number

None.

BrokerCd

string

None.

BrokerName

string

None.

Holding

integer

None.

ShortName

string

None.

IsSyariah

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "StockCode": "sample string 1",
    "StockName": "sample string 2",
    "Quantity": 3,
    "AvgCost": 4.0,
    "InvCost": 5.0,
    "ClsPrice": 6.0,
    "MktValue": 7.0,
    "ProfitLoss": 8.0,
    "PctChg": 9.0,
    "PctPF": 10.0,
    "BrokerCd": "sample string 11",
    "BrokerName": "sample string 12",
    "Holding": 13,
    "ShortName": "sample string 14",
    "IsSyariah": true
  },
  {
    "StockCode": "sample string 1",
    "StockName": "sample string 2",
    "Quantity": 3,
    "AvgCost": 4.0,
    "InvCost": 5.0,
    "ClsPrice": 6.0,
    "MktValue": 7.0,
    "ProfitLoss": 8.0,
    "PctChg": 9.0,
    "PctPF": 10.0,
    "BrokerCd": "sample string 11",
    "BrokerName": "sample string 12",
    "Holding": 13,
    "ShortName": "sample string 14",
    "IsSyariah": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfAccountPortfolio xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POEMSWEBAPI.Models.OrderManagement">
  <AccountPortfolio>
    <AvgCost>4</AvgCost>
    <BrokerCd>sample string 11</BrokerCd>
    <BrokerName>sample string 12</BrokerName>
    <ClsPrice>6</ClsPrice>
    <Holding>13</Holding>
    <InvCost>5</InvCost>
    <IsSyariah>true</IsSyariah>
    <MktValue>7</MktValue>
    <PctChg>9</PctChg>
    <PctPF>10</PctPF>
    <ProfitLoss>8</ProfitLoss>
    <Quantity>3</Quantity>
    <ShortName>sample string 14</ShortName>
    <StockCode>sample string 1</StockCode>
    <StockName>sample string 2</StockName>
  </AccountPortfolio>
  <AccountPortfolio>
    <AvgCost>4</AvgCost>
    <BrokerCd>sample string 11</BrokerCd>
    <BrokerName>sample string 12</BrokerName>
    <ClsPrice>6</ClsPrice>
    <Holding>13</Holding>
    <InvCost>5</InvCost>
    <IsSyariah>true</IsSyariah>
    <MktValue>7</MktValue>
    <PctChg>9</PctChg>
    <PctPF>10</PctPF>
    <ProfitLoss>8</ProfitLoss>
    <Quantity>3</Quantity>
    <ShortName>sample string 14</ShortName>
    <StockCode>sample string 1</StockCode>
    <StockName>sample string 2</StockName>
  </AccountPortfolio>
</ArrayOfAccountPortfolio>