Orion Advisor Solutions Portfolio/Tax Lot Assignments API

The Portfolio/TaxLotAssignments API from Orion Advisor Solutions — 6 operation(s) for portfolio/taxlotassignments.

Operations 9

GET /v1/Portfolio/TaxLotAssignments Get all of the #
PUT /v1/Portfolio/TaxLotAssignments Tran tax lots update tax lot #
POST /v1/Portfolio/TaxLotAssignments Tran tax lots create entity #
GET /v1/Portfolio/TaxLotAssignments/{key} Gets the TranTaxLot that has the provided key. #
DELETE /v1/Portfolio/TaxLotAssignments/{key} Deletes the existing TranTaxLot Entry #
GET /v1/Portfolio/TaxLotAssignments/{sellTransactionId}/AssetBuyTransactions/{transDate} Gets a list transactions from the range provided for the asset with the… #
GET /v1/Portfolio/TaxLotAssignments/GetCostBasis/{assetId} Gets a list Tax Lots from the range provided for the asset with the specified… #
GET /v1/Portfolio/TaxLotAssignments/List Returns a list of Assets that are found for the list of Id's posted in the… #
GET /v1/Portfolio/TaxLotAssignments/List/Id Returns a list of Assets that are found for the list of Id's posted in the… #

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-portfolio-taxlotassignments-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-portfolio-taxlotassignments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: V1
  title: Orion Connect Portfolio/Tax Lot Assignments API
  x-swagger-net-version: 8.4.12.001
servers:
- url: https://api.orionadvisor.com/api
tags:
- name: Portfolio/TaxLotAssignments
paths:
  /v1/Portfolio/TaxLotAssignments:
    get:
      tags:
      - Portfolio/TaxLotAssignments
      summary: Get all of the
      operationId: TranTaxLots_GetAllTaxLot
      parameters:
      - name: assetId
        in: query
        description: AssetId of the desired return object.
        required: false
        schema:
          type: integer
          format: int32
      - name: transactionId
        in: query
        required: false
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                items:
                  $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
                xml:
                  name: TranTaxLotDto
                  wrapped: true
                type: array
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
                xml:
                  name: TranTaxLotDto
                  wrapped: true
                type: array
            text/json:
              schema:
                items:
                  $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
                xml:
                  name: TranTaxLotDto
                  wrapped: true
                type: array
            application/xml:
              schema:
                items:
                  $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
                xml:
                  name: TranTaxLotDto
                  wrapped: true
                type: array
            text/xml:
              schema:
                items:
                  $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
                xml:
                  name: TranTaxLotDto
                  wrapped: true
                type: array
            multipart/form-data:
              schema:
                items:
                  $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
                xml:
                  name: TranTaxLotDto
                  wrapped: true
                type: array
      security:
      - Authorization: []
    put:
      tags:
      - Portfolio/TaxLotAssignments
      operationId: TranTaxLots_UpdateTaxLot
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                items:
                  $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
                xml:
                  name: TranTaxLotDto
                  wrapped: true
                type: array
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
                xml:
                  name: TranTaxLotDto
                  wrapped: true
                type: array
            text/json:
              schema:
                items:
                  $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
                xml:
                  name: TranTaxLotDto
                  wrapped: true
                type: array
            application/xml:
              schema:
                items:
                  $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
                xml:
                  name: TranTaxLotDto
                  wrapped: true
                type: array
            text/xml:
              schema:
                items:
                  $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
                xml:
                  name: TranTaxLotDto
                  wrapped: true
                type: array
            multipart/form-data:
              schema:
                items:
                  $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
                xml:
                  name: TranTaxLotDto
                  wrapped: true
                type: array
      security:
      - Authorization: []
      requestBody:
        content:
          text/plain:
            schema:
              items:
                $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
              xml:
                name: TranTaxLotDto
                wrapped: true
              type: array
          application/json:
            schema:
              items:
                $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
              xml:
                name: TranTaxLotDto
                wrapped: true
              type: array
          text/json:
            schema:
              items:
                $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
              xml:
                name: TranTaxLotDto
                wrapped: true
              type: array
          application/xml:
            schema:
              items:
                $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
              xml:
                name: TranTaxLotDto
                wrapped: true
              type: array
          text/xml:
            schema:
              items:
                $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
              xml:
                name: TranTaxLotDto
                wrapped: true
              type: array
          application/x-www-form-urlencoded:
            schema:
              items:
                $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
              xml:
                name: TranTaxLotDto
                wrapped: true
              type: array
          multipart/form-data:
            schema:
              items:
                $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
              xml:
                name: TranTaxLotDto
                wrapped: true
              type: array
        required: true
      summary: Tran tax lots update tax lot
      x-summary-source: derived
    post:
      tags:
      - Portfolio/TaxLotAssignments
      operationId: TranTaxLots_CreateEntity
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                items:
                  $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
                xml:
                  name: TranTaxLotDto
                  wrapped: true
                type: array
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
                xml:
                  name: TranTaxLotDto
                  wrapped: true
                type: array
            text/json:
              schema:
                items:
                  $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
                xml:
                  name: TranTaxLotDto
                  wrapped: true
                type: array
            application/xml:
              schema:
                items:
                  $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
                xml:
                  name: TranTaxLotDto
                  wrapped: true
                type: array
            text/xml:
              schema:
                items:
                  $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
                xml:
                  name: TranTaxLotDto
                  wrapped: true
                type: array
            multipart/form-data:
              schema:
                items:
                  $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
                xml:
                  name: TranTaxLotDto
                  wrapped: true
                type: array
      security:
      - Authorization: []
      requestBody:
        content:
          text/plain:
            schema:
              items:
                $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
              xml:
                name: TranTaxLotDto
                wrapped: true
              type: array
          application/json:
            schema:
              items:
                $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
              xml:
                name: TranTaxLotDto
                wrapped: true
              type: array
          text/json:
            schema:
              items:
                $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
              xml:
                name: TranTaxLotDto
                wrapped: true
              type: array
          application/xml:
            schema:
              items:
                $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
              xml:
                name: TranTaxLotDto
                wrapped: true
              type: array
          text/xml:
            schema:
              items:
                $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
              xml:
                name: TranTaxLotDto
                wrapped: true
              type: array
          application/x-www-form-urlencoded:
            schema:
              items:
                $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
              xml:
                name: TranTaxLotDto
                wrapped: true
              type: array
          multipart/form-data:
            schema:
              items:
                $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
              xml:
                name: TranTaxLotDto
                wrapped: true
              type: array
        required: true
      summary: Tran tax lots create entity
      x-summary-source: derived
  /v1/Portfolio/TaxLotAssignments/{key}:
    get:
      tags:
      - Portfolio/TaxLotAssignments
      summary: Gets the TranTaxLot that has the provided key.
      operationId: TranTaxLots_GetTaxLotByKey
      parameters:
      - name: key
        in: path
        description: Key of the desired return object.
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
            application/json:
              schema:
                $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
            text/json:
              schema:
                $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
            application/xml:
              schema:
                $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
            text/xml:
              schema:
                $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
            multipart/form-data:
              schema:
                $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
      security:
      - Authorization: []
    delete:
      tags:
      - Portfolio/TaxLotAssignments
      summary: Deletes the existing TranTaxLot Entry
      operationId: TranTaxLots_Delete
      parameters:
      - name: key
        in: path
        required: true
        schema:
          type: integer
          format: int32
      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: []
  /v1/Portfolio/TaxLotAssignments/{sellTransactionId}/AssetBuyTransactions/{transDate}:
    get:
      tags:
      - Portfolio/TaxLotAssignments
      summary: Gets a list transactions from the range provided for the asset with the…
      operationId: TranTaxLots_GetAssetBuyTransactions
      parameters:
      - name: sellTransactionId
        in: path
        description: Id of the Sell Transaction that is to be matched.
        required: true
        schema:
          type: integer
          format: int32
      - name: transDate
        in: path
        description: TransDate for the sell transaction.  All transaction brought back in this get have to be from before this date.
        required: true
        schema:
          type: string
          format: date-time
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                items:
                  $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.AssetTranLotDto'
                xml:
                  name: AssetTranLotDto
                  wrapped: true
                type: array
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.AssetTranLotDto'
                xml:
                  name: AssetTranLotDto
                  wrapped: true
                type: array
            text/json:
              schema:
                items:
                  $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.AssetTranLotDto'
                xml:
                  name: AssetTranLotDto
                  wrapped: true
                type: array
            application/xml:
              schema:
                items:
                  $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.AssetTranLotDto'
                xml:
                  name: AssetTranLotDto
                  wrapped: true
                type: array
            text/xml:
              schema:
                items:
                  $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.AssetTranLotDto'
                xml:
                  name: AssetTranLotDto
                  wrapped: true
                type: array
            multipart/form-data:
              schema:
                items:
                  $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.AssetTranLotDto'
                xml:
                  name: AssetTranLotDto
                  wrapped: true
                type: array
      security:
      - Authorization: []
  /v1/Portfolio/TaxLotAssignments/GetCostBasis/{assetId}:
    get:
      tags:
      - Portfolio/TaxLotAssignments
      summary: Gets a list Tax Lots from the range provided for the asset with the specified…
      operationId: TranTaxLots_GetTaxLotByAsset
      parameters:
      - name: assetId
        in: path
        description: Key of the desired return object.
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                items:
                  $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.AssetTaxLotDto'
                xml:
                  name: AssetTaxLotDto
                  wrapped: true
                type: array
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.AssetTaxLotDto'
                xml:
                  name: AssetTaxLotDto
                  wrapped: true
                type: array
            text/json:
              schema:
                items:
                  $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.AssetTaxLotDto'
                xml:
                  name: AssetTaxLotDto
                  wrapped: true
                type: array
            application/xml:
              schema:
                items:
                  $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.AssetTaxLotDto'
                xml:
                  name: AssetTaxLotDto
                  wrapped: true
                type: array
            text/xml:
              schema:
                items:
                  $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.AssetTaxLotDto'
                xml:
                  name: AssetTaxLotDto
                  wrapped: true
                type: array
            multipart/form-data:
              schema:
                items:
                  $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.AssetTaxLotDto'
                xml:
                  name: AssetTaxLotDto
                  wrapped: true
                type: array
      security:
      - Authorization: []
  /v1/Portfolio/TaxLotAssignments/List:
    get:
      tags:
      - Portfolio/TaxLotAssignments
      summary: Returns a list of Assets that are found for the list of Id's posted in the…
      operationId: TranTaxLots_GetTaxLotByKeys
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                items:
                  $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
                xml:
                  name: TranTaxLotDto
                  wrapped: true
                type: array
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
                xml:
                  name: TranTaxLotDto
                  wrapped: true
                type: array
            text/json:
              schema:
                items:
                  $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
                xml:
                  name: TranTaxLotDto
                  wrapped: true
                type: array
            application/xml:
              schema:
                items:
                  $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
                xml:
                  name: TranTaxLotDto
                  wrapped: true
                type: array
            text/xml:
              schema:
                items:
                  $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
                xml:
                  name: TranTaxLotDto
                  wrapped: true
                type: array
            multipart/form-data:
              schema:
                items:
                  $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
                xml:
                  name: TranTaxLotDto
                  wrapped: true
                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/x-www-form-urlencoded:
            schema:
              items:
                type: integer
                format: int32
              type: array
          multipart/form-data:
            schema:
              items:
                type: integer
                format: int32
              type: array
        description: Keys of the desired return object.
        required: true
  /v1/Portfolio/TaxLotAssignments/List/Id:
    get:
      tags:
      - Portfolio/TaxLotAssignments
      summary: Returns a list of Assets that are found for the list of Id's posted in the…
      operationId: TranTaxLots_GetV1PortfolioTaxLotAssignmentsListId
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                items:
                  $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
                xml:
                  name: TranTaxLotDto
                  wrapped: true
                type: array
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
                xml:
                  name: TranTaxLotDto
                  wrapped: true
                type: array
            text/json:
              schema:
                items:
                  $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
                xml:
                  name: TranTaxLotDto
                  wrapped: true
                type: array
            application/xml:
              schema:
                items:
                  $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
                xml:
                  name: TranTaxLotDto
                  wrapped: true
                type: array
            text/xml:
              schema:
                items:
                  $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
                xml:
                  name: TranTaxLotDto
                  wrapped: true
                type: array
            multipart/form-data:
              schema:
                items:
                  $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.TranTaxLotDto'
                xml:
                  name: TranTaxLotDto
                  wrapped: true
                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/x-www-form-urlencoded:
            schema:
              items:
                type: integer
                format: int32
              type: array
          multipart/form-data:
            schema:
              items:
                type: integer
                format: int32
              type: array
        description: Keys of the desired return object.
        required: true
components:
  schemas:
    OAS.WebApi.DTO.Portfolio.AssetTranLotDto:
      properties:
        pkTransaction:
          type: integer
          format: int32
        transDate:
          type: string
          format: date-time
        noUnits:
          type: number
          format: double
        transAmount:
          type: number
          format: double
        unitCost:
          type: number
          format: double
        description:
          type: string
        unitsRemaining:
          type: number
          format: double
        unitsSold:
          type: number
          format: double
      xml:
        name: AssetTranLotDto
      type: object
    OAS.WebApi.DTO.Portfolio.AssetTaxLotDto:
      properties:
        accountId:
          type: integer
          format: int32
        aquiredDate:
          type: string
        isCash:
          type: boolean
        productId:
          type: integer
          format: int32
        productName:
          type: string
        symbol:
          type: string
        totalCost:
          type: number
          format: double
        units:
          type: number
          format: double
        costBasisPerUnit:
          type: number
          format: double
        cusip:
          type: string
        taxTransType:
          type: string
          enum:
          - Sell
          - Buy
          - WashSale
          - NotUsed
          - MoneyMarket
          - StepUp
          - Spinoff
        transactionId:
          type: integer
          format: int32
        transDate:
          type: string
          format: date-time
      xml:
        name: AssetTaxLotDto
      type: object
    OAS.WebApi.DTO.Portfolio.TranTaxLotDto:
      properties:
        id:
          type: integer
          format: int32
        transactionId:
          type: integer
          format: int32
        tranBuyId:
          type: integer
          format: int32
        noUnits:
          type: number
          format: double
        description:
          type: string
        taxLotType:
          type: string
          enum:
          - None
          - SpecificId
          - LinkedHistory
          - Normal
          - Unrealized
          - StepUp
          - Spinoff
      xml:
        name: TranTaxLotDto
      type: object
  securitySchemes:
    Authorization:
      type: apiKey
      description: 'JWT Authorization header using the Session scheme. Example: "Authorization: Session {token}"'
      name: Authorization
      in: header