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

HTTP + JSV

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

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

{
	portfolioId: 00000000000000000000000000000000,
	portfolios: 
	[
		String
	],
	portfolioName: String,
	contractCategory: String,
	dataSource: String,
	contractMaturity: 0001-01-01,
	contractStart: 0001-01-01,
	contractCreateDate: 0001-01-01,
	createdBy: 00000000000000000000000000000000,
	createdByName: String,
	isTemporary: False,
	statusId: 0,
	simulation: False,
	appKey: 0,
	token: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
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-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
		}
	],
	errorMessage: 
	{
		message: String,
		statusCode: 0
	}
}