Orion Advisor Solutions Trading/Trade Generation Status API

The Trading/TradeGenerationStatus API from Orion Advisor Solutions — 2 operation(s) for trading/tradegenerationstatus.

Operations 2

GET /v1/Trading/TradeGenerationStatus/{batchId} Gets the status of trade generation for the batchId provided #
GET /v1/Trading/TradeGenerationStatus/{batchId}/Message Returns a message formatted for the users inbox based on a trade batch id #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/orion-advisor-solutions-trading-tradegenerationstatus-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

orion-advisor-solutions-trading-tradegenerationstatus-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: V1
  title: Orion Connect Trading/Trade Generation Status API
  x-swagger-net-version: 8.4.12.001
servers:
- url: https://api.orionadvisor.com/api
tags:
- name: Trading/TradeGenerationStatus
paths:
  /v1/Trading/TradeGenerationStatus/{batchId}:
    get:
      tags:
      - Trading/TradeGenerationStatus
      summary: Gets the status of trade generation for the batchId provided
      operationId: Trading_TradeGenerationStatus
      parameters:
      - name: batchId
        in: path
        description: Key of the desired return object.
        required: true
        schema:
          type: integer
          format: int32
      - name: includeErrors
        in: query
        description: Default is True.  When true, the Errors collection will be populated with Errors, Warnings, and Informational Messages
        required: false
        schema:
          type: boolean
          default: false
      - name: waitSeconds
        in: query
        description: Default is 0.  If specified, the endpoint will re-check in the specified amount of time before returning.  This is to help reduce polling chatter.
        required: false
        schema:
          type: integer
          format: int32
          default: 0
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/OAS.WebApi.DTO.Utility.BatchProcessingDto'
            application/json:
              schema:
                $ref: '#/components/schemas/OAS.WebApi.DTO.Utility.BatchProcessingDto'
            text/json:
              schema:
                $ref: '#/components/schemas/OAS.WebApi.DTO.Utility.BatchProcessingDto'
            application/xml:
              schema:
                $ref: '#/components/schemas/OAS.WebApi.DTO.Utility.BatchProcessingDto'
            text/xml:
              schema:
                $ref: '#/components/schemas/OAS.WebApi.DTO.Utility.BatchProcessingDto'
            multipart/form-data:
              schema:
                $ref: '#/components/schemas/OAS.WebApi.DTO.Utility.BatchProcessingDto'
      security:
      - Authorization: []
  /v1/Trading/TradeGenerationStatus/{batchId}/Message:
    get:
      tags:
      - Trading/TradeGenerationStatus
      summary: Returns a message formatted for the users inbox based on a trade batch id
      operationId: Trading_TradeGenerationStatusMessage
      parameters:
      - name: batchId
        in: path
        description: Id from tblBatchProcessing
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/OAS.WebApi.DTO.Utility.MessageDto'
            application/json:
              schema:
                $ref: '#/components/schemas/OAS.WebApi.DTO.Utility.MessageDto'
            text/json:
              schema:
                $ref: '#/components/schemas/OAS.WebApi.DTO.Utility.MessageDto'
            application/xml:
              schema:
                $ref: '#/components/schemas/OAS.WebApi.DTO.Utility.MessageDto'
            text/xml:
              schema:
                $ref: '#/components/schemas/OAS.WebApi.DTO.Utility.MessageDto'
            multipart/form-data:
              schema:
                $ref: '#/components/schemas/OAS.WebApi.DTO.Utility.MessageDto'
      security:
      - Authorization: []
components:
  schemas:
    OAS.WebApi.DTO.Utility.BatchProcessingErrorDto:
      properties:
        id:
          type: integer
          format: int32
        batchId:
          type: integer
          format: int32
        errorMessage:
          type: string
        details:
          type: string
        severityCode:
          type: integer
          format: int32
        severity:
          type: string
          enum:
          - Error
          - Warning
          - Information
        createdBy:
          type: string
        createdDate:
          type: string
          format: date-time
      xml:
        name: BatchProcessingErrorDto
      type: object
    OAS.WebApi.DTO.Utility.MessageDetailDto:
      properties:
        severityCode:
          type: integer
          format: int32
        severity:
          type: string
        message:
          type: string
        entityEnum:
          type: string
        entityId:
          type: integer
          format: int32
      xml:
        name: MessageDetailDto
      type: object
    OAS.WebApi.DTO.Utility.BatchProcessingDto:
      properties:
        id:
          type: integer
          format: int32
        correlationId:
          example: 00000000-0000-0000-0000-000000000000
          type: string
          format: uuid
        alClientName:
          type: string
        status:
          type: string
          enum:
          - New
          - Processing
          - Failed
          - PartiallyComplete
          - Complete
          - Canceled
        message:
          readOnly: true
          type: string
        createdBy:
          type: string
        createdDate:
          type: string
          format: date-time
        editedDate:
          type: string
          format: date-time
        elapsed:
          readOnly: true
          type: string
        parentId:
          type: integer
          format: int32
        isDone:
          type: boolean
        totalItems:
          type: integer
          format: int32
        itemsCompleted:
          type: integer
          format: int32
        processingType:
          type: string
          enum:
          - Undefined
          - Trading
          - PendingTransactions
          - CheckForWashTrades
          - CustomImport
          - CostBasis
          - Composites
          - TradeExecution
          - ConvertToSleeves
          - Confirmation
          - DataQueries
          - Notifications
          - Export
          - Maintenance
          - ConfirmationUndo
        errorCount:
          readOnly: true
          type: integer
          format: int32
        warningCount:
          type: integer
          format: int32
        details:
          items:
            $ref: '#/components/schemas/OAS.WebApi.DTO.Utility.BatchProcessingErrorDto'
          xml:
            name: BatchProcessingErrorDto
            wrapped: true
          type: array
      xml:
        name: BatchProcessingDto
      type: object
    OAS.WebApi.DTO.Utility.MessageDto:
      properties:
        entityId:
          type: integer
          format: int32
        entityEnum:
          type: string
        severity:
          type: string
        severityCode:
          type: integer
          format: int32
        receivedDate:
          type: string
          format: date-time
        subject:
          type: string
        message:
          type: string
        details:
          items:
            $ref: '#/components/schemas/OAS.WebApi.DTO.Utility.MessageDetailDto'
          xml:
            name: MessageDetailDto
            wrapped: true
          type: array
      xml:
        name: MessageDto
      type: object
  securitySchemes:
    Authorization:
      type: apiKey
      description: 'JWT Authorization header using the Session scheme. Example: "Authorization: Session {token}"'
      name: Authorization
      in: header