---
title: "Search split lots"
method: POST
path: "/split-lots/account/{AccountIdentifier}/action/search"
tags: ["Split Lots"]
---

# Search split lots

`POST /split-lots/account/{AccountIdentifier}/action/search`

## Request

- Base URL: `https://sandbox.preprod.connect.xpansiv.com/app/api/v1`
- URL: `https://sandbox.preprod.connect.xpansiv.com/app/api/v1/split-lots/account/{AccountIdentifier}/action/search`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/xpansiv/apis/xpansiv-connect-api/docs/split-lots/account/:AccountIdentifier/action/search/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `AccountIdentifier` string, required

## Query parameters

- `page` integer
- `size` integer

## Request body

- object
  - `programs` RefProgram[]
  - `createdDateFrom` string, date-time
  - `createdDateTo` string, date-time
  - `counterpartyName` string

## Response `200`

List of split lots

- object
  - `page` integer, required
  - `size` integer, required
  - `totalPages` integer, required
  - `totalElements` integer, required
  - `content` object[]
    - `identifier` string: Unique identifier.
    - `counterpartyName` string: Counterparty name.
    - `type` string: Type of the split lot.
    - `status` string: Status of the split lot.
    - `quantity` integer: Quantity for the split lot.
    - `taxLotId` integer: TaxLot id for the split lot.
    - `taxLotName` string: TaxLot id for the split lot.
    - `sourceTaxLotId` integer: The identifier of the source TaxLot.
    - `sourceTaxLotName` string: The name of the source TaxLot.
    - `externalTransferIdentifier` string: the external transfer identifier for the split lot.
    - `createdDate` string, date-time: Split lot created date.
    - `lastUpdatedDate` string, date-time: Split lot last updated date.
    - `unitPrice` Price
      - `currency` string, required: Ref.Data.CURRENCY
      - `amount` number, required: The numeric value of the price
    - `ein` string: Environment Instrument Number. Unique identifier associated with an issuance of credits from a given project, vintage, technology/fuel type and associated certification(s)/eligibility(s). An EIN is associated with a position and a position will never be associated with more than 1 EIN.
    - `program` string: Ref.Data.PROGRAM

## Other responses

- `400`: Bad request
- `401`: Not authorized error
- `500`: Internal server error

---

[API](https://skmtc.dev/xpansiv/apis/xpansiv-connect-api.md) - [All operations](https://skmtc.dev/xpansiv/apis/xpansiv-connect-api/llms.txt) - [OpenAPI document](https://skmtc.dev/xpansiv/apis/xpansiv-connect-api/revisions/01c1f2c4ec1e?raw)
