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 .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/NewOperationGetFilteredRequest HTTP/1.1 
Host: 107.22.237.214 
Content-Type: application/json
Content-Length: length

{"portfolioId":"00000000000000000000000000000000","portfolios":["String"],"portfolioName":"String","contractCategory":"String","dataSource":"String","contractMaturity":"0001-01-01T00:00:00.0000000","contractStart":"0001-01-01T00:00:00.0000000","contractCreateDate":"0001-01-01T00:00:00.0000000","createdBy":"00000000000000000000000000000000","createdByName":"String","isTemporary":false,"statusId":0,"simulation":false,"appKey":0,"token":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"status":"Success","response":[{"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-01T00:00:00.0000000","quotation":{"initialValue":0},"fixing":{"startDate":"0001-01-01T00:00:00.0000000","endDate":"0001-01-01T00:00:00.0000000","otherDate":"0001-01-01T00:00:00.0000000"}},"settlement":{"quotation":{"initialValue":0},"fixing":{"startDate":"0001-01-01T00:00:00.0000000","endDate":"0001-01-01T00:00:00.0000000","otherDate":"0001-01-01T00:00:00.0000000"}},"cashFlow":{"interest":{"rate":0},"generationRules":{"hasReset":false,"amortization":{"thresholdDate":"0001-01-01T00:00:00.0000000","periodLength":0},"interest":{"thresholdDate":"0001-01-01T00:00:00.0000000","periodLength":0}},"generatedCashFlow":[{"date":"0001-01-01T00:00:00.0000000","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-01T00:00:00.0000000","maturityDate":"0001-01-01T00:00:00.0000000","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-01T00:00:00.0000000","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-01T00:00:00.0000000","contractCashFlowGenerationInterestPeriod":"String","contractCashFlowAmortizationStatus":"String","contractCashFlowAmortizationAdjustment":"String","contractCashFlowAmortizationCurrencyExchange":"String","contractCashFlowInterestLateRate":0,"contractCashFlowInterestFineRate":0,"contractCashFlowInterestFineValue":0,"contractIndexerAbsoluteUpperCap":"String","contractCashFlowPaymentDate":"String"}],"errorMessage":{"message":"String","statusCode":0}}