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 .csv suffix or ?format=csv

HTTP + CSV

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

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

OperationId,IsTemporary,AppKey,Token
00000000000000000000000000000000,False,0,String

HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

OperationId,PortfolioId,Status,Response,ErrorMessage
00000000000000000000000000000000,00000000000000000000000000000000,Success,"{id:String,categoryTicker:String,instrumentTicker:String,underlyingTicker:String,startDate:0001-01-01,maturityDate:0001-01-01,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-01,cashFlowGenerationPeriodUnit:String,cashFlowGenerationPeriodLength:0,cashFlowGenerationIndexPercentage:0,cashFlowGenerationInterestRate:0,cashFlowInterestTermConvention:String,cashFlows:[{id:0,date:0001-01-01,paymentDate:0001-01-01,interest:0,amortizationPercentage:0,amortization:0,total:0}],position:String,contractFixingTicker:String,contractFixingStartDate:0001-01-01,contractFixingEndDate:0001-01-01,contractFixingOtherDate:0001-01-01,settlementCurrencyFixing:String,settlementCurrencyFixingStartDate:0001-01-01,settlementCurrencyFixingEndDate:0001-01-01,settlementCurrencyFixingOtherDate:0001-01-01,unitPrice:0,dataSource:String,underlyingQuotationType:String,underlyingCurrencyQuotationType:String,contractWarrantyValue:0,calendar:String,settlementCurrencyQuotationType:String,settlementCurrencyCurrencyQuotationType:String,contractIndexStartDate:0001-01-01,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-01,generationInterestCompoundRule:String,interestPeriod:0,interestRate:0,interestThreshould:0001-01-01,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-01,fixingOtherDate:0001-01-01,fixingResetDates:String,fixingStartDate:0001-01-01,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:[{}]}","{message:String,statusCode:0}"