Affluenza REST API

<back to all web services

NewOperationGetFilteredRequest

The following routes are available for this service:
GET,OPTIONS/operationsv2

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/NewOperationGetFilteredRequest HTTP/1.1 
Host: www.plusrated.com 
Content-Type: text/csv
Content-Length: length

PortfolioId,Portfolios,PortfolioName,ContractCategory,DataSource,ContractMaturity,ContractStart,ContractCreateDate,CreatedBy,CreatedByName,IsTemporary,StatusId,Simulation,AppKey,Token
00000000000000000000000000000000,[String],String,String,String,0001-01-01,0001-01-01,0001-01-01,00000000000000000000000000000000,String,False,0,False,0,String

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

Status,Response,ErrorMessage
Success,"[{id:00000000000000000000000000000000,notional:{base:0,quantity:0},taxes:{feeUpFront:{value:0},unfunded:{value:0}},duties:{ioftvm:False,ir:False},indexer:{indexPercentage:0,paymentDate:0001-01-01,quotation:{initialValue:0},fixing:{startDate:0001-01-01,endDate:0001-01-01,otherDate:0001-01-01}},settlement:{quotation:{initialValue:0},fixing:{startDate:0001-01-01,endDate:0001-01-01,otherDate:0001-01-01}},cashFlow:{interest:{rate:0},generationRules:{hasReset:False,amortization:{thresholdDate:0001-01-01,periodLength:0},interest:{thresholdDate:0001-01-01,periodLength:0}},generatedCashFlow:[{date:0001-01-01,interest:0,amortization:0,amortizationPercentage:0}]},externalKeys:{erp:String,contract:String,isin:String},agents:{custodian:String,fiduciary:String,issuer:String},counterParty:{description:String},warranty:{description:String},unitPrice:0,dataSource:String,observation:String,acquisitionDate:0001-01-01,maturityDate:0001-01-01,status:0,calendar:String,calculationTicker:String,curveInterestConvention:String,curveInterpolation:String,curvePercentage:String,curvePricingCalendar:String,curveTermConvention:String,curveTicker:String,discountCurveInterestConvention:String,discountCurveInterpolation:String,discountCurvePricingCalendar:String,discountCurveTicker:String,discountCurveTermConvention:String,contractIOF:String,quotationFactor:String,contractType:String,fairValue:0,operationPrice:String,operationPremium:String,contractFeeupfrontType:String,operationUnfundedTaxesType:String,contractWarrantyValue:String,operationStart:0001-01-01,contractIOFType:String,iofDeferredType:String,feeDeferredType:String,contractCashFlowGenerationRule:String,contractCashFlowAmortizationDate:String,contractCashFlowAmortizationPercentage:String,contractCashFlowInterestDate:String,contractCashFlowAmortizationTicker:String,contractCashFlowInterestIndexTicker:String,contractCashFlowInterestSpreadRate:String,contractCashFlowInterestIndexPercentage:String,contractCashFlowAmortizationIndexPercentage:String,contractCashFlowInterestStartDate:String,contractCashFlowGenerationAmortizationPeriod:String,contractCashFlowGenerationAmortizationThreshould:0001-01-01,contractCashFlowGenerationInterestPeriod:String,contractCashFlowAmortizationStatus:String,contractCashFlowAmortizationAdjustment:String,contractCashFlowAmortizationCurrencyExchange:String,contractCashFlowInterestLateRate:0,contractCashFlowInterestFineRate:0,contractCashFlowInterestFineValue:0,contractIndexerAbsoluteUpperCap:String,contractCashFlowPaymentDate:String}]","{message:String,statusCode:0}"