GET api/ledger/profit-loss/{USER_SEQ}/{TOKAN_NO}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| USER_SEQ | integer |
Required |
|
| TOKAN_NO | string |
Required |
Body Parameters
None.
Response Information
Resource Description
ResponseProfitLossTrading| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | string |
None. |
|
| Message | string |
None. |
|
| ProfitLoss | Collection of VIEW_PROFIT_LOSS_REPORT |
None. |
|
| Trading | Collection of VIEW_TRADING_REPORT |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": "sample string 1",
"Message": "sample string 2",
"ProfitLoss": [
{
"SR": 1,
"AC_GROUP_SEQ": 1,
"AC_TYPE": "sample string 2",
"NAME": "sample string 3",
"DEBIT_AMOUNT": 1.0,
"CREDIT_AMOUNT": 1.0
},
{
"SR": 1,
"AC_GROUP_SEQ": 1,
"AC_TYPE": "sample string 2",
"NAME": "sample string 3",
"DEBIT_AMOUNT": 1.0,
"CREDIT_AMOUNT": 1.0
}
],
"Trading": [
{
"SR": 1,
"AC_GROUP_SEQ": 1,
"AC_TYPE": "sample string 2",
"NAME": "sample string 3",
"AMOUNT": 1.0,
"USER_TYPE": "sample string 4"
},
{
"SR": 1,
"AC_GROUP_SEQ": 1,
"AC_TYPE": "sample string 2",
"NAME": "sample string 3",
"AMOUNT": 1.0,
"USER_TYPE": "sample string 4"
}
]
}