Skip to main content
POST
Store discount curves for a market-data provider.

Authorizations

Authorization
string
header
required

OAuth2 access-token requested from AWS Cognito and provided as a Auth Bearer header

Body

The upload payload. DiscountCurves must be non-empty; ProviderId and the market-data environment fields select the writable destination.

Submits currency discount curves.

$type
enum<string>
required
Available options:
Derivitec.Web.Core.MarketData.ApiUploadDiscountCurvesRequest, Derivitec.Web.Core
market_data_environment_name
string | null

Name of the market-data environment to use. Supply either this name or provider_id, not both.

Example:

"Example market data"

provider_id
string | null

Opaque identifier of the market-data provider to use. Supply either this identifier or market_data_environment_name, not both.

discount_curves
object[] | null

Currency discount curves to upload.

Response

Returns whether the curves were stored and any validation or unsupported-curve errors.

Returns the success flag and error messages from a discount-curve upload.

$type
enum<string>
required
Available options:
Derivitec.Web.Core.MarketData.ApiUploadDiscountCurvesResponse, Derivitec.Web.Core
is_success
boolean

Whether the operation completed successfully. The default is true; error outcomes set it to false.

Example:

true

error_messages
string[] | null

Messages explaining operation-level failures. The collection is empty by default.