openapi: 3.2.0 info: version: V1 title: Orion Connect Reporting/Gain Loss API x-swagger-net-version: 8.4.12.001 servers: - url: https://api.orionadvisor.com/api tags: - name: Reporting/GainLoss paths: /v1/Reporting/GainLoss/Realized/DrillDownSummary: post: tags: - Reporting/GainLoss summary: Returns gain loss information for each asset in the requested entity / entityid operationId: GainLoss_GetRealizedDrillDownAsync parameters: - name: cancellationToken in: header required: true responses: '200': description: OK content: text/plain: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Reporting.Activity.GainLossDrillDownSummaryBase' xml: name: GainLossDrillDownSummaryBase wrapped: true type: array application/json: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Reporting.Activity.GainLossDrillDownSummaryBase' xml: name: GainLossDrillDownSummaryBase wrapped: true type: array text/json: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Reporting.Activity.GainLossDrillDownSummaryBase' xml: name: GainLossDrillDownSummaryBase wrapped: true type: array application/xml: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Reporting.Activity.GainLossDrillDownSummaryBase' xml: name: GainLossDrillDownSummaryBase wrapped: true type: array text/xml: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Reporting.Activity.GainLossDrillDownSummaryBase' xml: name: GainLossDrillDownSummaryBase wrapped: true type: array multipart/form-data: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Reporting.Activity.GainLossDrillDownSummaryBase' xml: name: GainLossDrillDownSummaryBase wrapped: true type: array security: - Authorization: [] requestBody: content: text/plain: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Reporting.Activity.RealizedDrillDownSettingsDto' application/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Reporting.Activity.RealizedDrillDownSettingsDto' text/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Reporting.Activity.RealizedDrillDownSettingsDto' application/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Reporting.Activity.RealizedDrillDownSettingsDto' text/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Reporting.Activity.RealizedDrillDownSettingsDto' application/x-www-form-urlencoded: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Reporting.Activity.RealizedDrillDownSettingsDto' multipart/form-data: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Reporting.Activity.RealizedDrillDownSettingsDto' required: true /v1/Reporting/GainLoss/Unrealized/DrillDownSummary: post: tags: - Reporting/GainLoss summary: Returns gain loss information for each asset in the requested entity / entityid operationId: GainLoss_GetUnrealizedDrillDownAsync parameters: - name: cancellationToken in: header required: true responses: '200': description: OK content: text/plain: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Reporting.Activity.GainLossDrillDownSummaryBase' xml: name: GainLossDrillDownSummaryBase wrapped: true type: array application/json: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Reporting.Activity.GainLossDrillDownSummaryBase' xml: name: GainLossDrillDownSummaryBase wrapped: true type: array text/json: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Reporting.Activity.GainLossDrillDownSummaryBase' xml: name: GainLossDrillDownSummaryBase wrapped: true type: array application/xml: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Reporting.Activity.GainLossDrillDownSummaryBase' xml: name: GainLossDrillDownSummaryBase wrapped: true type: array text/xml: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Reporting.Activity.GainLossDrillDownSummaryBase' xml: name: GainLossDrillDownSummaryBase wrapped: true type: array multipart/form-data: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Reporting.Activity.GainLossDrillDownSummaryBase' xml: name: GainLossDrillDownSummaryBase wrapped: true type: array security: - Authorization: [] requestBody: content: text/plain: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Reporting.Activity.UnrealizedDrillDownSettingsDto' application/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Reporting.Activity.UnrealizedDrillDownSettingsDto' text/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Reporting.Activity.UnrealizedDrillDownSettingsDto' application/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Reporting.Activity.UnrealizedDrillDownSettingsDto' text/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Reporting.Activity.UnrealizedDrillDownSettingsDto' application/x-www-form-urlencoded: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Reporting.Activity.UnrealizedDrillDownSettingsDto' multipart/form-data: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Reporting.Activity.UnrealizedDrillDownSettingsDto' required: true components: schemas: OAS.WebApi.DTO.Reporting.Activity.UnrealizedDrillDownSettingsDto: properties: entity: type: string enum: - Undefined - Payee - BrokerDealer - Wholesaler - Representative - Client - Registration - Account - Asset - Product - Transaction - Distribution - FundFamily - Personal - PayoutSchedule - FeeSchedule - Platform - RIA - Custodian - Journal - SWP - Other - NASD - CashFunding - Bill - BillInstance - BillMasterPayout - Model - NewAccountClient - NewAccountReg - DownloadExclusion - Price - UserDefinedFields - NewAcctUserDef - ManagersMessage - IndexEntry - PerformanceFee - PerformancePayout - NewAccountAsset - Owner - Administrator - OutsideClient - SubAdvisor - ModelRange - FaxCover - Fax - OneTimeDistribution - WebLogin - Plan401k - BillAccountItem - ThirdPartyAdministrator - CrmContact - Participant - PlanSponsor - CRMEmailList - ThirdParty - WorkflowItem - WorkflowAction - ServiceAccount - EntityOption - HouseholdMember - DownloadSymbol - IndexBlend - NABenefit - AggregateModel - CompositeRange - RepAccountManager - ScriptsScrubs - ServiceAccountBrokerDealer - BusinessLine - Blob - AssetClass - ServiceAccountLite - NewAcctUserDefDtl - Branch - AssetLevelStrategy - Report - DataQueries - PriceUnUsed - ModelItem - AssetCategory - RiskCategory - PlatformRange - Dividend - RegistrationType - CustodianCommon - RepState - QpeDashboard - ReportBatch - ModelGroup - ShareClass - DownloadFile - User - DynamicGrouping - ProductType - ProductSubType - InvestmentObjective - PortfolioGroup - OrionRealizedLot - OrionUnrealizedLot - CustodianRealizedLot - CustodianUnrealizedLot - AssetCategoryParent - TaxType - AuditRequest - AuditRequestLetter - ManagedUnmanaged - AuditRowAttachment - InformPolicy - InformAnswerAttachment - UserDetail - BillPayMethod - ModelInclusion - CommunityModel - EclipseModel - Global - ClientCategory - Taxability - Qualified - TaxID - BondState - ProductTaxability - TargetAllocation - RIATable - ProductRegion - ProductPropertyType - ProductManagerAip - MoodyRating - SPRating - BondMaturityYear - InterestRate - RegistrationTaxType - MaturityPeriod - NewHousehold - BillPayoutDashboardPayment - OptionLevel - MarginAgreement - PrimeBrokerage - InformHistoricalDocument - SleeveStrategyAggregate - MorningstarSector - BillEntity - SleeveStrategy - MorningstarGeography - GenericProspect - BillEntityType - AdditionalRep - BillPayoutReport - ProductSubHolding - DownloadSource - ModelVsActual - ProductVintageYear - EclipsePortfolio - Country - Currency - SecurityClassification1 - SecurityClassification2 - SecurityClassification3 - SecurityClassification4 - SecurityClassification5 - SecurityClassification6 - SecurityClassification7 - SecurityClassification8 - SecurityClassification9 - SecurityClassification10 - SecurityClassification11 - SecurityClassification12 - SecurityClassification13 - SecurityClassification14 - SecurityClassification15 - SecurityClassification16 - SecurityClassification17 - SecurityClassification18 - SecurityClassification19 - SecurityClassification20 - SecurityClassification21 - SecurityClassification22 - SecurityClassification23 - SecurityClassification24 - SecurityClassification25 - DownloadRecord - CustomGrouping - Cotenant - AllocatedUnrealizedCostBasis - AllocatedRealizedCostBasis entityId: type: integer format: int32 groupings: items: type: string enum: - Undefined - Representative - Client - Registration - Account - Asset - AssetClass - ProductType - Platform - RiskCategory - Product - IndexBlend - AssetCategory - AssetLevelStrategy - AggregateModel - AccountType - PortfolioGroup xml: name: ReportGrouping wrapped: true type: array asOfDate: type: string format: date-time xml: name: UnrealizedDrillDownSettingsDto type: object OAS.WebApi.DTO.Reporting.Activity.RealizedDrillDownSettingsDto: properties: entity: type: string enum: - Undefined - Payee - BrokerDealer - Wholesaler - Representative - Client - Registration - Account - Asset - Product - Transaction - Distribution - FundFamily - Personal - PayoutSchedule - FeeSchedule - Platform - RIA - Custodian - Journal - SWP - Other - NASD - CashFunding - Bill - BillInstance - BillMasterPayout - Model - NewAccountClient - NewAccountReg - DownloadExclusion - Price - UserDefinedFields - NewAcctUserDef - ManagersMessage - IndexEntry - PerformanceFee - PerformancePayout - NewAccountAsset - Owner - Administrator - OutsideClient - SubAdvisor - ModelRange - FaxCover - Fax - OneTimeDistribution - WebLogin - Plan401k - BillAccountItem - ThirdPartyAdministrator - CrmContact - Participant - PlanSponsor - CRMEmailList - ThirdParty - WorkflowItem - WorkflowAction - ServiceAccount - EntityOption - HouseholdMember - DownloadSymbol - IndexBlend - NABenefit - AggregateModel - CompositeRange - RepAccountManager - ScriptsScrubs - ServiceAccountBrokerDealer - BusinessLine - Blob - AssetClass - ServiceAccountLite - NewAcctUserDefDtl - Branch - AssetLevelStrategy - Report - DataQueries - PriceUnUsed - ModelItem - AssetCategory - RiskCategory - PlatformRange - Dividend - RegistrationType - CustodianCommon - RepState - QpeDashboard - ReportBatch - ModelGroup - ShareClass - DownloadFile - User - DynamicGrouping - ProductType - ProductSubType - InvestmentObjective - PortfolioGroup - OrionRealizedLot - OrionUnrealizedLot - CustodianRealizedLot - CustodianUnrealizedLot - AssetCategoryParent - TaxType - AuditRequest - AuditRequestLetter - ManagedUnmanaged - AuditRowAttachment - InformPolicy - InformAnswerAttachment - UserDetail - BillPayMethod - ModelInclusion - CommunityModel - EclipseModel - Global - ClientCategory - Taxability - Qualified - TaxID - BondState - ProductTaxability - TargetAllocation - RIATable - ProductRegion - ProductPropertyType - ProductManagerAip - MoodyRating - SPRating - BondMaturityYear - InterestRate - RegistrationTaxType - MaturityPeriod - NewHousehold - BillPayoutDashboardPayment - OptionLevel - MarginAgreement - PrimeBrokerage - InformHistoricalDocument - SleeveStrategyAggregate - MorningstarSector - BillEntity - SleeveStrategy - MorningstarGeography - GenericProspect - BillEntityType - AdditionalRep - BillPayoutReport - ProductSubHolding - DownloadSource - ModelVsActual - ProductVintageYear - EclipsePortfolio - Country - Currency - SecurityClassification1 - SecurityClassification2 - SecurityClassification3 - SecurityClassification4 - SecurityClassification5 - SecurityClassification6 - SecurityClassification7 - SecurityClassification8 - SecurityClassification9 - SecurityClassification10 - SecurityClassification11 - SecurityClassification12 - SecurityClassification13 - SecurityClassification14 - SecurityClassification15 - SecurityClassification16 - SecurityClassification17 - SecurityClassification18 - SecurityClassification19 - SecurityClassification20 - SecurityClassification21 - SecurityClassification22 - SecurityClassification23 - SecurityClassification24 - SecurityClassification25 - DownloadRecord - CustomGrouping - Cotenant - AllocatedUnrealizedCostBasis - AllocatedRealizedCostBasis entityId: type: integer format: int32 groupings: items: type: string enum: - Undefined - Representative - Client - Registration - Account - Asset - AssetClass - ProductType - Platform - RiskCategory - Product - IndexBlend - AssetCategory - AssetLevelStrategy - AggregateModel - AccountType - PortfolioGroup xml: name: ReportGrouping wrapped: true type: array startDate: type: string format: date-time endDate: type: string format: date-time xml: name: RealizedDrillDownSettingsDto type: object OAS.WebApi.DTO.Reporting.Activity.GainLossDrillDownSummaryBase: properties: shortTermGainLoss: type: number format: double longTermGainLoss: type: number format: double gainLoss: readOnly: true type: number format: double costBasis: type: number format: double xml: name: GainLossDrillDownSummaryBase type: object securitySchemes: Authorization: type: apiKey description: 'JWT Authorization header using the Session scheme. Example: "Authorization: Session {token}"' name: Authorization in: header