---
title: "GET /api/services/app/PharmacySaleHistory/GetAll"
method: GET
path: "/api/services/app/PharmacySaleHistory/GetAll"
tags: ["PharmacySaleHistory"]
---

# GET /api/services/app/PharmacySaleHistory/GetAll

`GET /api/services/app/PharmacySaleHistory/GetAll`

## Request

- Base URL: `https://api.dalieu.vn` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dalieu.vn/api/services/app/PharmacySaleHistory/GetAll`
- Auth: none declared

## Query parameters

- `Filter` string
- `PharmacyId` integer
- `Source` 1 | 2
- `Status` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
- `FromDate` string, date-time
- `ToDate` string, date-time
- `Sorting` string
- `MaxResultCount` integer
- `SkipCount` integer

## Response `200`

Success

- PagedResultDtoOfPharmacySaleDto
  - `items` PharmacySaleDto[], nullable
    - `id` integer
    - `pharmacyId` integer
    - `pharmacyName` string, nullable
    - `sessionKey` string, uuid, nullable
    - `source` 1 | 2
    - `status` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
    - `serviceReqCode` string, nullable
    - `treatmentCode` string, nullable
    - `patientCode` string, nullable
    - `patientName` string, nullable
    - `expMestId` integer, nullable
    - `expMestCode` string, nullable
    - `expMestSttId` integer, nullable
    - `transactionCode` string, nullable
    - `transReqCode` string, nullable
    - `payFormId` integer, nullable
    - `amount` number, double, nullable
    - `paymentAmount` number, double, nullable
    - `isPaid` boolean
    - `paidTime` string, date-time, nullable
    - `dispensedTime` string, date-time, nullable
    - `cancelledTime` string, date-time, nullable
    - `cancelReason` 1 | 2 | 3 | 4 | 5 | 6
    - `lastError` string, nullable
    - `creationTime` string, date-time
    - `lastModificationTime` string, date-time, nullable
  - `totalCount` integer

## Changes

- **2026-10-09** `438fff8364ac`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/dalieu/apis/portaldalieu-api/changes/api/services/app/PharmacySaleHistory/GetAll/get.md)

---

[API](https://skmtc.dev/dalieu/apis/portaldalieu-api.md) - [All operations](https://skmtc.dev/dalieu/apis/portaldalieu-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dalieu/apis/portaldalieu-api/revisions/4504abab950f?raw)
