openapi: 3.2.0 info: version: V1 title: Orion Connect Portfolio/Custodian Realized API x-swagger-net-version: 8.4.12.001 servers: - url: https://api.orionadvisor.com/api tags: - name: Portfolio/CustodianRealized paths: /v1/Portfolio/CustodianRealized: get: tags: - Portfolio/CustodianRealized summary: TODO operationId: CustodianRealized_GetListFiltered parameters: - name: entity in: query required: false schema: 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 - name: entityId in: query required: false schema: type: integer format: int32 - name: accountId in: query required: false schema: type: integer format: int32 - name: downloadFormatId in: query required: false schema: type: integer format: int32 - name: downloadSourceId in: query required: false schema: type: integer format: int32 - name: auditType in: query required: false style: form explode: true schema: type: array items: type: string enum: - CustodialRealizedSharesDoNotMatch - CustodialRealizedMissing - CustodialUnrealizedMissing - CustodialRealizedUnknownAcquiredDate - CustodialUnrealizedUnknownAcquiredDate - CustodialRealizedUnknownCostBasis - CustodialUnrealizedUnknownCostBasis - OrionUnknownCostBasis - MoneyMarketProducts - OrionMissingCostBasis - name: startDate in: query required: false schema: type: string format: date-time - name: endDate in: query required: false schema: type: string format: date-time - name: hasErrors in: query required: false schema: type: boolean - name: assetHasErrors in: query required: false schema: type: boolean - name: returnStyle in: query required: false schema: type: string enum: - Standard - WithErrors default: 0 responses: '200': description: OK content: text/plain: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.CostBasis.CustodianRealizedDto' xml: name: CustodianRealizedDto wrapped: true type: array application/json: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.CostBasis.CustodianRealizedDto' xml: name: CustodianRealizedDto wrapped: true type: array text/json: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.CostBasis.CustodianRealizedDto' xml: name: CustodianRealizedDto wrapped: true type: array application/xml: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.CostBasis.CustodianRealizedDto' xml: name: CustodianRealizedDto wrapped: true type: array text/xml: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.CostBasis.CustodianRealizedDto' xml: name: CustodianRealizedDto wrapped: true type: array multipart/form-data: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.CostBasis.CustodianRealizedDto' xml: name: CustodianRealizedDto wrapped: true type: array security: - Authorization: [] post: tags: - Portfolio/CustodianRealized operationId: CustodianRealized_CreateEntity responses: '200': description: OK content: text/plain: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.CostBasis.CustodianRealizedDto' application/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.CostBasis.CustodianRealizedDto' text/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.CostBasis.CustodianRealizedDto' application/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.CostBasis.CustodianRealizedDto' text/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.CostBasis.CustodianRealizedDto' multipart/form-data: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.CostBasis.CustodianRealizedDto' security: - Authorization: [] requestBody: content: text/plain: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.CostBasis.CustodianRealizedDto' application/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.CostBasis.CustodianRealizedDto' text/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.CostBasis.CustodianRealizedDto' application/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.CostBasis.CustodianRealizedDto' text/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.CostBasis.CustodianRealizedDto' application/x-www-form-urlencoded: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.CostBasis.CustodianRealizedDto' multipart/form-data: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.CostBasis.CustodianRealizedDto' required: true summary: Custodian realized create entity x-summary-source: derived /v1/Portfolio/CustodianRealized/{key}: get: tags: - Portfolio/CustodianRealized summary: Gets the custodian realized lot that has the provided key. operationId: CustodianRealized_GetByKey parameters: - name: key in: path description: Key of the desired return object. required: true schema: type: integer format: int32 - name: returnStyle in: query required: false schema: type: string enum: - Standard - WithErrors default: 0 responses: '200': description: OK content: text/plain: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.CostBasis.CustodianRealizedDto' application/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.CostBasis.CustodianRealizedDto' text/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.CostBasis.CustodianRealizedDto' application/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.CostBasis.CustodianRealizedDto' text/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.CostBasis.CustodianRealizedDto' multipart/form-data: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.CostBasis.CustodianRealizedDto' security: - Authorization: [] put: tags: - Portfolio/CustodianRealized operationId: CustodianRealized_UpdateEntity parameters: - name: key in: path required: true schema: type: integer format: int32 responses: '200': description: OK content: text/plain: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.CostBasis.CustodianRealizedDto' application/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.CostBasis.CustodianRealizedDto' text/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.CostBasis.CustodianRealizedDto' application/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.CostBasis.CustodianRealizedDto' text/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.CostBasis.CustodianRealizedDto' multipart/form-data: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.CostBasis.CustodianRealizedDto' security: - Authorization: [] requestBody: content: text/plain: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.CostBasis.CustodianRealizedDto' application/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.CostBasis.CustodianRealizedDto' text/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.CostBasis.CustodianRealizedDto' application/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.CostBasis.CustodianRealizedDto' text/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.CostBasis.CustodianRealizedDto' application/x-www-form-urlencoded: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.CostBasis.CustodianRealizedDto' multipart/form-data: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.CostBasis.CustodianRealizedDto' required: true summary: Custodian realized update entity x-summary-source: derived /v1/Portfolio/CustodianRealized/Action/Delete: put: tags: - Portfolio/CustodianRealized operationId: CustodianRealized_ActionDelete responses: '200': description: OK content: text/plain: schema: items: type: integer format: int32 type: array application/json: schema: items: type: integer format: int32 type: array text/json: schema: items: type: integer format: int32 type: array application/xml: schema: items: type: integer format: int32 type: array text/xml: schema: items: type: integer format: int32 type: array multipart/form-data: schema: items: type: integer format: int32 type: array security: - Authorization: [] requestBody: content: text/plain: schema: items: type: integer format: int32 type: array application/json: schema: items: type: integer format: int32 type: array text/json: schema: items: type: integer format: int32 type: array application/xml: schema: items: type: integer format: int32 type: array text/xml: schema: items: type: integer format: int32 type: array application/x-www-form-urlencoded: schema: items: type: integer format: int32 type: array multipart/form-data: schema: items: type: integer format: int32 type: array required: true summary: Custodian realized action delete x-summary-source: derived components: schemas: OAS.WebApi.DTO.Portfolio.CostBasis.CustodianRealizedDto: properties: assetId: type: integer format: int32 productName: type: string acquiredDate: type: string format: date-time sellDate: type: string format: date-time holdPeriodDate: type: string format: date-time costAmt: type: number format: double amortizationAmt: type: number format: double noUnits: type: number format: double id: type: integer format: int32 source: type: integer format: int32 method: type: string proceedAmt: type: number format: double washSaleImpacted: type: boolean effectiveDate: type: string format: date-time custodianCommonCode: type: string createdDate: type: string format: date-time createdBy: type: string editedDate: type: string format: date-time editedBy: type: string isLongTerm: type: boolean isInherited: type: boolean isWashSale: type: boolean isUnknown: type: boolean isVarious: type: boolean clientId: type: integer format: int32 registrationId: type: integer format: int32 registrationName: type: string accountId: type: integer format: int32 productId: type: integer format: int32 accountNumber: type: string productTicker: type: string householdName: type: string registrationType: type: string isQualified: type: boolean representative: type: string representativeNumber: type: string custodian: type: string accountCreatedDate: type: string format: date-time costBasisMethod: type: integer format: int32 custodianRecordId: type: string xml: name: CustodianRealizedDto type: object securitySchemes: Authorization: type: apiKey description: 'JWT Authorization header using the Session scheme. Example: "Authorization: Session {token}"' name: Authorization in: header