PUT FuturesMonth/PutFuturesMonth
Update basis prices.
Request Information
URI Parameters
Body Parameters
clsAPIFuturesPriceName | Description | Type | Additional Information |
---|---|---|---|
BasisList | Collection of Basis |
List cannot be empty |
Request Formats
application/json, text/json
Sample:
{ "BasisList": [ { "Location": "sample string 1", "BidCriteria": "sample string 2", "BasisPrice": 3.1, "BasisDate": "sample string 4", "BasisTime": "sample string 5", "DeliveryStartDate": "sample string 6", "DeliveryEndDate": "sample string 7", "FuturesContract": "sample string 8" }, { "Location": "sample string 1", "BidCriteria": "sample string 2", "BasisPrice": 3.1, "BasisDate": "sample string 4", "BasisTime": "sample string 5", "DeliveryStartDate": "sample string 6", "DeliveryEndDate": "sample string 7", "FuturesContract": "sample string 8" } ] }
application/xml, text/xml
Sample:
<clsAPIFuturesPrice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SSI.API"> <BasisList> <Basis> <BasisDate>sample string 4</BasisDate> <BasisPrice>3.1</BasisPrice> <BasisTime>sample string 5</BasisTime> <BidCriteria>sample string 2</BidCriteria> <DeliveryEndDate>sample string 7</DeliveryEndDate> <DeliveryStartDate>sample string 6</DeliveryStartDate> <FuturesContract>sample string 8</FuturesContract> <Location>sample string 1</Location> </Basis> <Basis> <BasisDate>sample string 4</BasisDate> <BasisPrice>3.1</BasisPrice> <BasisTime>sample string 5</BasisTime> <BidCriteria>sample string 2</BidCriteria> <DeliveryEndDate>sample string 7</DeliveryEndDate> <DeliveryStartDate>sample string 6</DeliveryStartDate> <FuturesContract>sample string 8</FuturesContract> <Location>sample string 1</Location> </Basis> </BasisList> </clsAPIFuturesPrice>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Update basis prices.
AgvFuturesMonthName | Description | Type | Additional Information |
---|---|---|---|
Status |
Status of the API call. |
string | |
Message |
Message of the API call. |
string | |
Count |
Count of how many FuturesMonth JSON dictionaries. |
string | |
FuturesList |
JSON dictionary of FuturesMonth. |
Collection of FuturesMonth |
Response Formats
application/json, text/json
Sample:
{ "Status": "sample string 1", "Message": "sample string 2", "Count": "sample string 3", "FuturesList": [ { "Commodity": "sample string 1", "Location": "sample string 2", "Exchange": "sample string 3", "BidCriteria": "sample string 4", "FuturesMonthName": "sample string 5", "FutureMonthEndDate": "sample string 6", "FuturesPrice": "sample string 7", "FuturesPriceDateTimeLocal": "2024-11-21T09:43:15.3274103+00:00", "BasisPrice": 8.1, "BasisPriceDateTimeLocal": "2024-11-21T09:43:15.3274103+00:00", "CommoditySymbol": "sample string 9", "StartingDeliveryPeriod": "2024-11-21T09:43:15.3274103+00:00", "EndingDeliveryPeriod": "2024-11-21T09:43:15.3274103+00:00", "FuturesMonthAliasId": "sample string 10", "LastModifiedUtc": "2024-11-21T09:43:15.3274103+00:00" }, { "Commodity": "sample string 1", "Location": "sample string 2", "Exchange": "sample string 3", "BidCriteria": "sample string 4", "FuturesMonthName": "sample string 5", "FutureMonthEndDate": "sample string 6", "FuturesPrice": "sample string 7", "FuturesPriceDateTimeLocal": "2024-11-21T09:43:15.3274103+00:00", "BasisPrice": 8.1, "BasisPriceDateTimeLocal": "2024-11-21T09:43:15.3274103+00:00", "CommoditySymbol": "sample string 9", "StartingDeliveryPeriod": "2024-11-21T09:43:15.3274103+00:00", "EndingDeliveryPeriod": "2024-11-21T09:43:15.3274103+00:00", "FuturesMonthAliasId": "sample string 10", "LastModifiedUtc": "2024-11-21T09:43:15.3274103+00:00" } ] }
application/xml, text/xml
Sample:
<AgvFuturesMonth xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.Contract.Purchase"> <Count>sample string 3</Count> <FuturesList> <AgvFuturesMonth.FuturesMonth> <BasisPrice>8.1</BasisPrice> <BasisPriceDateTimeLocal>2024-11-21T09:43:15.3274103+00:00</BasisPriceDateTimeLocal> <BidCriteria>sample string 4</BidCriteria> <Commodity>sample string 1</Commodity> <CommoditySymbol>sample string 9</CommoditySymbol> <EndingDeliveryPeriod>2024-11-21T09:43:15.3274103+00:00</EndingDeliveryPeriod> <Exchange>sample string 3</Exchange> <FutureMonthEndDate>sample string 6</FutureMonthEndDate> <FuturesMonthAliasId>sample string 10</FuturesMonthAliasId> <FuturesMonthName>sample string 5</FuturesMonthName> <FuturesPrice>sample string 7</FuturesPrice> <FuturesPriceDateTimeLocal>2024-11-21T09:43:15.3274103+00:00</FuturesPriceDateTimeLocal> <LastModifiedUtc>2024-11-21T09:43:15.3274103+00:00</LastModifiedUtc> <Location>sample string 2</Location> <StartingDeliveryPeriod>2024-11-21T09:43:15.3274103+00:00</StartingDeliveryPeriod> </AgvFuturesMonth.FuturesMonth> <AgvFuturesMonth.FuturesMonth> <BasisPrice>8.1</BasisPrice> <BasisPriceDateTimeLocal>2024-11-21T09:43:15.3274103+00:00</BasisPriceDateTimeLocal> <BidCriteria>sample string 4</BidCriteria> <Commodity>sample string 1</Commodity> <CommoditySymbol>sample string 9</CommoditySymbol> <EndingDeliveryPeriod>2024-11-21T09:43:15.3274103+00:00</EndingDeliveryPeriod> <Exchange>sample string 3</Exchange> <FutureMonthEndDate>sample string 6</FutureMonthEndDate> <FuturesMonthAliasId>sample string 10</FuturesMonthAliasId> <FuturesMonthName>sample string 5</FuturesMonthName> <FuturesPrice>sample string 7</FuturesPrice> <FuturesPriceDateTimeLocal>2024-11-21T09:43:15.3274103+00:00</FuturesPriceDateTimeLocal> <LastModifiedUtc>2024-11-21T09:43:15.3274103+00:00</LastModifiedUtc> <Location>sample string 2</Location> <StartingDeliveryPeriod>2024-11-21T09:43:15.3274103+00:00</StartingDeliveryPeriod> </AgvFuturesMonth.FuturesMonth> </FuturesList> <Message>sample string 2</Message> <Status>sample string 1</Status> </AgvFuturesMonth>