POST api/custom/CustomPriceWorkbench/UpdatePrice
Request Information
URI Parameters
None.
Body Parameters
Collection of CustomPriceWorkbenchUpdateModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PriceInstrumentId | integer |
None. |
|
| PriceDateTime | date |
None. |
|
| Price | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"PriceInstrumentId": 1,
"PriceDateTime": "2025-12-10T08:25:06.5966853-06:00",
"Price": 3.0
},
{
"PriceInstrumentId": 1,
"PriceDateTime": "2025-12-10T08:25:06.5966853-06:00",
"Price": 3.0
}
]
text/html
Sample:
[{"PriceInstrumentId":1,"PriceDateTime":"2025-12-10T08:25:06.5966853-06:00","Price":3.0},{"PriceInstrumentId":1,"PriceDateTime":"2025-12-10T08:25:06.5966853-06:00","Price":3.0}]
application/xml, text/xml
Sample:
<ArrayOfCustomPriceWorkbenchUpdateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gravitate.WebAPI.Areas.Custom.Models">
<CustomPriceWorkbenchUpdateModel>
<Price>3</Price>
<PriceDateTime>2025-12-10T08:25:06.5966853-06:00</PriceDateTime>
<PriceInstrumentId>1</PriceInstrumentId>
</CustomPriceWorkbenchUpdateModel>
<CustomPriceWorkbenchUpdateModel>
<Price>3</Price>
<PriceDateTime>2025-12-10T08:25:06.5966853-06:00</PriceDateTime>
<PriceInstrumentId>1</PriceInstrumentId>
</CustomPriceWorkbenchUpdateModel>
</ArrayOfCustomPriceWorkbenchUpdateModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
None.