Skip to main content
POST
Retrieve discount curves for dates and provider scopes.

Authorizations

Authorization
string
header
required

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

Body

The query payload. At least one descriptor or ISO currency code is required, MarketDates must be non-empty ISO 8601 date/time values, and provider/environment fields optionally constrain the source scopes.

Queries currency discount curves by descriptor or currency across market dates.

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

Opaque identifier of a single market-data provider to use instead of either environment-name option.

entity_access_type
enum<string>

Access classification associated with the selected market-data environment.

Available options:
view,
edit,
owner,
blocked
market_data_environment_names
string[] | null

Names of the market-data environments to use. Do not combine this list with the single-name or provider-ID alternatives.

market_data_environment_name
string | null

Single market-data environment name to use instead of market_data_environment_names or provider_id.

Example:

"Example market data"

descriptors
object[] | null

Structured selectors for the requested discount curves.

currencies
string[] | null

Currencies that narrow the discount curves operation.

market_dates
string<date-time>[] | null

Market dates on which discount curves are requested.

Response

Returns the matching discount curves and any descriptor, date, or provider lookup errors.

Returns currency discount curves and query errors.

$type
enum<string>
required
Available options:
Derivitec.Web.Core.MarketData.ApiGetDiscountCurvesResponse, 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.

discount_curves
object[] | null

Currency discount curves returned by the query.