openapi: 3.2.0 info: version: V1 title: Orion Connect Trading/Overlays API x-swagger-net-version: 8.4.12.001 servers: - url: https://api.orionadvisor.com/api tags: - name: Trading/Overlays paths: /v1/Trading/Overlays: get: tags: - Trading/Overlays summary: Gets the overlay grid rows (overlay, restriction count, Last Edited) that the… operationId: Overlays_GetAsync parameters: - name: cancellationToken in: header required: true responses: '200': description: OK content: text/plain: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayDto' xml: name: OverlayDto wrapped: true type: array application/json: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayDto' xml: name: OverlayDto wrapped: true type: array text/json: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayDto' xml: name: OverlayDto wrapped: true type: array application/xml: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayDto' xml: name: OverlayDto wrapped: true type: array text/xml: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayDto' xml: name: OverlayDto wrapped: true type: array multipart/form-data: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayDto' xml: name: OverlayDto wrapped: true type: array security: - Authorization: [] /v1/Trading/Overlays/{key}: get: tags: - Trading/Overlays summary: Gets a single overlay by key. operationId: Overlays_GetByKeyAsync parameters: - name: key in: path required: true schema: type: integer format: int32 - name: cancellationToken in: header required: true responses: '200': description: OK content: text/plain: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayDto' application/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayDto' text/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayDto' application/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayDto' text/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayDto' multipart/form-data: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayDto' security: - Authorization: [] put: tags: - Trading/Overlays summary: Sets the per-overlay Use Restrictions toggle. Returns the updated overlay operationId: Overlays_UpdateAsync parameters: - name: key in: path required: true schema: type: integer format: int32 - name: cancellationToken in: header required: true responses: '200': description: OK content: text/plain: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayDto' application/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayDto' text/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayDto' application/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayDto' text/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayDto' multipart/form-data: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayDto' security: - Authorization: [] requestBody: content: text/plain: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayDto' application/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayDto' text/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayDto' application/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayDto' text/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayDto' application/x-www-form-urlencoded: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayDto' multipart/form-data: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayDto' required: true /v1/Trading/Overlays/Restrictions: get: tags: - Trading/Overlays summary: Gets the overlay restrictions for the given {overlayId} (or all accessible ones) operationId: OverlayRestrictions_GetAsync parameters: - name: cancellationToken in: header required: true - name: overlayId in: query required: false schema: type: integer format: int32 responses: '200': description: OK content: text/plain: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayRestrictionDto' xml: name: OverlayRestrictionDto wrapped: true type: array application/json: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayRestrictionDto' xml: name: OverlayRestrictionDto wrapped: true type: array text/json: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayRestrictionDto' xml: name: OverlayRestrictionDto wrapped: true type: array application/xml: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayRestrictionDto' xml: name: OverlayRestrictionDto wrapped: true type: array text/xml: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayRestrictionDto' xml: name: OverlayRestrictionDto wrapped: true type: array multipart/form-data: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayRestrictionDto' xml: name: OverlayRestrictionDto wrapped: true type: array security: - Authorization: [] post: tags: - Trading/Overlays summary: Creates a new overlay restriction. operationId: OverlayRestrictions_CreateAsync parameters: - name: cancellationToken in: header required: true responses: '200': description: OK content: text/plain: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayRestrictionDto' application/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayRestrictionDto' text/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayRestrictionDto' application/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayRestrictionDto' text/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayRestrictionDto' multipart/form-data: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayRestrictionDto' security: - Authorization: [] requestBody: content: text/plain: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayRestrictionDto' application/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayRestrictionDto' text/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayRestrictionDto' application/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayRestrictionDto' text/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayRestrictionDto' application/x-www-form-urlencoded: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayRestrictionDto' multipart/form-data: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayRestrictionDto' required: true /v1/Trading/Overlays/Restrictions/{key}: get: tags: - Trading/Overlays summary: Gets a single overlay restriction by key. operationId: OverlayRestrictions_GetByKeyAsync parameters: - name: key in: path required: true schema: type: integer format: int32 - name: cancellationToken in: header required: true responses: '200': description: OK content: text/plain: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayRestrictionDto' application/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayRestrictionDto' text/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayRestrictionDto' application/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayRestrictionDto' text/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayRestrictionDto' multipart/form-data: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayRestrictionDto' security: - Authorization: [] put: tags: - Trading/Overlays summary: Updates an existing overlay restriction operationId: OverlayRestrictions_UpdateAsync parameters: - name: key in: path required: true schema: type: integer format: int32 - name: cancellationToken in: header required: true responses: '200': description: OK content: text/plain: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayRestrictionDto' application/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayRestrictionDto' text/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayRestrictionDto' application/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayRestrictionDto' text/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayRestrictionDto' multipart/form-data: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayRestrictionDto' security: - Authorization: [] requestBody: content: text/plain: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayRestrictionDto' application/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayRestrictionDto' text/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayRestrictionDto' application/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayRestrictionDto' text/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayRestrictionDto' application/x-www-form-urlencoded: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayRestrictionDto' multipart/form-data: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Trading.OverlayRestrictionDto' required: true delete: tags: - Trading/Overlays summary: Deletes an existing overlay restriction. Returns a 204 on success operationId: OverlayRestrictions_DeleteAsync parameters: - name: key in: path required: true schema: type: integer format: int32 - name: cancellationToken in: header required: true responses: '200': description: OK content: text/plain: schema: type: object application/json: schema: type: object text/json: schema: type: object multipart/form-data: schema: type: object security: - Authorization: [] components: schemas: OAS.WebApi.DTO.Trading.OverlayRestrictionDto: properties: id: type: integer format: int32 overlayId: type: integer format: int32 entityId: type: integer format: int32 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 entityName: type: string validationMessage: type: string createdBy: type: string createdDate: type: string format: date-time auditedByDisplay: type: string auditedDate: type: string format: date-time xml: name: OverlayRestrictionDto type: object OAS.WebApi.DTO.Trading.OverlayDto: properties: id: type: integer format: int32 overlayGlobalId: example: 00000000-0000-0000-0000-000000000000 type: string format: uuid name: type: string description: type: string isActive: type: boolean useRestrictions: type: boolean restrictionCount: type: integer format: int32 auditedByDisplay: type: string auditedDate: type: string format: date-time xml: name: OverlayDto type: object securitySchemes: Authorization: type: apiKey description: 'JWT Authorization header using the Session scheme. Example: "Authorization: Session {token}"' name: Authorization in: header