# Major unit sales extraction

Use this pattern to retrieve major-unit sale summaries and request full deal detail for selected `DealId` values.

## Prerequisites

- MU Deal access is approved for the dealership credential.
- The integration is authorized to process buyer, cobuyer, trade, financing, lienholder, payment, tax, fee, incentive, and F&I data.
- A durable deal checkpoint and `DealId` deduplication store are available.


## Retrieve sale summaries

Send `POST /v1/MajorUnitDeal/Summary` with an `ApiDealSearchCriteria` body. Available criteria include:

- `Take`, `Skip`, and `OrderBy`;
- `DealNo`, `CustId`, and `DealStatus`;
- `FromCreatedDate`, `ToCreatedDate`, `FromUpdatedDate`, and `ToUpdatedDate`.


Keep the date range unchanged while paging. Deduplicate `Items[].DealId`, not the display-oriented `DealNo`. Summary also returns `CustId`, dates, deal status, parts amount, and units; use the reference for exact schema detail.

## Retrieve selected deal detail

Use `Items[].DealId` as `{id}` in `GET /v1/MajorUnitDeal/GetSaleDealDetail/{id}`. Do not substitute `DealNo`.

The complete detail schema contains related parties, units, trades, financing, payments, sale totals, and requested parts/services. Each `Units[]` item can contain `FiProducts[]`; `ApiDealDetailFiProduct` includes `Name`, `Cost`, and the other product fields shown in the [v1 API reference](/docs/dx1-dealership-api/openapi/dx1-dealership-api).

Review [Cost and profitability data](/docs/dx1-dealership-api/guides/field-conventions#cost-and-profitability-data) before using sale, price, or cost-related fields.

## Retrieve eligible salespeople

Use `GET /v1/MajorUnitDeal/GetSalespersons` to retrieve salespeople eligible for the authenticated organization and dealership. All filters are optional:

- `UserId` performs an exact user-ID match;
- `FirstName` performs a case-insensitive partial first-name match;
- `LastName` performs a case-insensitive partial last-name match.


The response is `ListResult<ApiMuSalesperson>`. Each item can contain `UserId`, `FirstName`, `LastName`, and `DisplayName`. This operation requires the DX1 bearer token and valid organization, dealership, and API configuration claims. It does not require an additional role.

## Commit and retry safely

Commit the updated-date checkpoint after every required deal detail is durably processed. Retry the unchanged summary or detail read only for an identified transient condition. The documented APIs are read-only.

Sale detail contains personal and commercially sensitive values. Use synthetic cobuyer, trade, financing, and lienholder scenarios in public tests.