POST api/custom/CustomTradePerformance/GetTradePerformance?tradeId={tradeId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| tradeId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
CustomTradePerformanceModel| Name | Description | Type | Additional information |
|---|---|---|---|
| NearestTradeMonth | date |
None. |
|
| NearestRemainingQuantity | decimal number |
None. |
|
| ContractToDateRemainingQuantity | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{
"NearestTradeMonth": "2025-12-10T08:25:17.0374287-06:00",
"NearestRemainingQuantity": 1.0,
"ContractToDateRemainingQuantity": 1.0
}
text/html
Sample:
{"NearestTradeMonth":"2025-12-10T08:25:17.0374287-06:00","NearestRemainingQuantity":1.0,"ContractToDateRemainingQuantity":1.0}
application/xml, text/xml
Sample:
<CustomTradePerformanceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gravitate.WebAPI.Areas.Custom.Models"> <ContractToDateRemainingQuantity>1</ContractToDateRemainingQuantity> <NearestRemainingQuantity>1</NearestRemainingQuantity> <NearestTradeMonth>2025-12-10T08:25:17.0374287-06:00</NearestTradeMonth> </CustomTradePerformanceModel>