GET api/YearlyMonthesProfit?accountId={accountId}&year={year}

Gets all monthly profit data for an account for a specific year.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
accountId

integer

Required

year

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of GetAllMonthProfitResult
NameDescriptionTypeAdditional information
AccountNumber

string

None.

BrokerName

string

None.

StrategyName

string

None.

Risk_Profile

string

None.

Profit

decimal number

None.

Year

integer

None.

Month

integer

None.

P_L_Percentage

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "AccountNumber": "sample string 1",
    "BrokerName": "sample string 2",
    "StrategyName": "sample string 3",
    "Risk_Profile": "sample string 4",
    "Profit": 1.0,
    "Year": 5,
    "Month": 6,
    "P_L_Percentage": 1.0
  },
  {
    "AccountNumber": "sample string 1",
    "BrokerName": "sample string 2",
    "StrategyName": "sample string 3",
    "Risk_Profile": "sample string 4",
    "Profit": 1.0,
    "Year": 5,
    "Month": 6,
    "P_L_Percentage": 1.0
  }
]