Skip to main content
POST
Retrieve the supplied contract payload.

Authorizations

Authorization
string
header
required

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

Body

JSON request with Contract, the tradable model to return.

Tradable contract submitted for round-trip template retrieval.

$type
enum<string>
required
Available options:
Derivitec.Web.Core.TradeBooking.ApiGetTemplateContractRequest, Derivitec.Web.Core
contract
object

Abstract presentation shape combining a tradable's identity, quantity, valuation dates, pricing details, results, and risk data.

Response

Returns the supplied contract with IsSuccess = true.

Successful template response containing the supplied tradable contract.

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

contract
object

Abstract presentation shape combining a tradable's identity, quantity, valuation dates, pricing details, results, and risk data.