Affluenza REST API

<back to all web services

OperationGetRequest

The following routes are available for this service:
GET, OPTIONS/operations/{operationId}

To override the Content-type in your clients HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/OperationGetRequest HTTP/1.1 
Host: www.plusrated.com 
Content-Type: application/json
Content-Length: length

{"operationId":"00000000000000000000000000000000","isTemporary":false,"appKey":0,"token":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"operationId":"00000000000000000000000000000000","portfolioId":"00000000000000000000000000000000","status":"Success","response":{"id":"String","categoryTicker":"String","instrumentTicker":"String","underlyingTicker":"String","startDate":"0001-01-01T00:00:00.0000000","maturityDate":"0001-01-01T00:00:00.0000000","baseValue":0,"baseValueType":"String","settlementCurrencyTicker":"String","feeUpFront":0,"iof":0,"counterParty":"String","warrantyType":"String","warrantyInformation":"String","observation":"String","contractId":"String","hedgeAccounting":"String","externalKey":"String","cashFlowGenerationRule":"String","cashFlowGenerationStartDate":"0001-01-01T00:00:00.0000000","cashFlowGenerationPeriodUnit":"String","cashFlowGenerationPeriodLength":0,"cashFlowGenerationIndexPercentage":0,"cashFlowGenerationInterestRate":0,"cashFlowInterestTermConvention":"String","cashFlows":[{"id":0,"date":"0001-01-01T00:00:00.0000000","paymentDate":"0001-01-01T00:00:00.0000000","interest":0,"amortizationPercentage":0,"amortization":0,"total":0}],"position":"String","contractFixingTicker":"String","contractFixingStartDate":"0001-01-01T00:00:00.0000000","contractFixingEndDate":"0001-01-01T00:00:00.0000000","contractFixingOtherDate":"0001-01-01T00:00:00.0000000","settlementCurrencyFixing":"String","settlementCurrencyFixingStartDate":"0001-01-01T00:00:00.0000000","settlementCurrencyFixingEndDate":"0001-01-01T00:00:00.0000000","settlementCurrencyFixingOtherDate":"0001-01-01T00:00:00.0000000","unitPrice":0,"dataSource":"String","underlyingQuotationType":"String","underlyingCurrencyQuotationType":"String","contractWarrantyValue":0,"calendar":"String","settlementCurrencyQuotationType":"String","settlementCurrencyCurrencyQuotationType":"String","contractIndexStartDate":"0001-01-01T00:00:00.0000000","quotationFactor":"String","notional":0,"quantity":0,"underlyingCurrencyQuotationDirection":"String","calculationTicker":"String","curveTicker":"String","curvePricingCalendar":"String","curveTermConvention":"String","curveInterestConvention":"String","curveInterpolation":"String","curvePercentage":"String","discountCurveTicker":"String","discountCurveTermConvention":"String","discountCurveInterestConvention":"String","discountCurveInterpolation":"String","discountCurvePricingCalendar":"String","currencyTicker":"String","amortizationType":"String","amortizationDate":"String","indexPercentage":"String","amortizationPercentage":"String","amortizationStartDate":"String","amortizationTicker":"String","amortizationPeriod":0,"amortizationPeriodUnit":"String","amortizationThreshould":"0001-01-01T00:00:00.0000000","generationInterestCompoundRule":"String","interestPeriod":0,"interestRate":0,"interestThreshould":"0001-01-01T00:00:00.0000000","genarationRule":"String","interestCompoundRule":"String","interestDate":"String","interestHasReset":false,"interestIndexPercentage":"String","interestIndexTicker":"String","interestInterestConvention":"String","interestSpreadRate":"String","interestStartDate":"String","interestTermConvention":"String","feeupfrontType":"String","fixingEndDate":"0001-01-01T00:00:00.0000000","fixingOtherDate":"0001-01-01T00:00:00.0000000","fixingResetDates":"String","fixingStartDate":"0001-01-01T00:00:00.0000000","indexHasReset":false,"indexerFactorPrecisionDegress":0,"indexerFactorPrecisionFunction":"String","indexerPercentage":"String","paymentType":"String","contractType":"String","counterPartyType":"String","dutiesIOFTVM":false,"dutiesIR":false,"precisionDegrees":0,"precisionFunction":"String","unfundedTaxes":0,"unfundedTaxesType":"String","settlementDateAdjustment":"String","settlementQuotationInitialValue":0,"bonus":0,"templateId":"00000000000000000000000000000000","portfolioId":"00000000000000000000000000000000","amortizationStatus":"String","paymentDate":"String","interestLateRate":0,"interestFineRate":0,"interestFineValue":0,"adjustment":"String","brokerageFee":0,"emolument":0,"premium":0,"fairValue":0,"simulation":false,"currencyExchange":"String","settlementCurrencyExchange":0,"contractCategory":false,"earlySettlement":[{}]},"errorMessage":{"message":"String","statusCode":0}}