---
title: "GET /api/app/product-reports/product-report-v2"
method: GET
path: "/api/app/product-reports/product-report-v2"
tags: ["ProductReports"]
---

# GET /api/app/product-reports/product-report-v2

`GET /api/app/product-reports/product-report-v2`

## Request

- Base URL: `https://api.khaasfood.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.khaasfood.com/api/app/product-reports/product-report-v2`
- Auth: OAuth 2
  - Authorization code: `https://api.khaasfood.com/connect/authorize`
  - Token URL: `https://api.khaasfood.com/connect/token`

## Query parameters

- `Keyword` string
- `StartDate` string, date-time
- `EndDate` string, date-time
- `SalesTire` string
- `WarehouseId` string
- `SaleFrom` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14
- `ProductGroupId` string
- `ProductCategoryId` string
- `ExcludeProductCategoryId` string
- `OrderState` string
- `IsGetAll` boolean
- `GroupBy` string
- `PageIndex` integer
- `PageSize` integer
- `Sorting` string
- `SkipCount` integer
- `MaxResultCount` integer

## Response `200`

Success

- VoloAbpApplicationDtosPagedResultDto1KhaasFoodReportsDtosProductReportV2DtoKhaasFoodApplicationContractsVersion1000CultureNeutralPublicKeyTokenNull
  - `items` KhaasFoodReportsDtosProductReportV2Dto[], nullable
    - `productName` string, nullable
    - `totalQuantity` integer
    - `totalSaleAmount` number, double
    - `damageQuantity` integer
    - `damageAmount` number, double
    - `giftQuantity` integer
    - `giftAmount` number, double
    - `netQuantity` integer
    - `netsaleAmount` number, double
    - `noOfOrderCount` integer
    - `discountAmount` integer
    - `wastageQuantity` integer
    - `wastageValue` number, double
    - `runningRate` number, double
    - `contribution` number, double
    - `growth` number, double
    - `totalCount` integer
  - `totalCount` integer

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Server Error
- `501`: Server Error

---

[API](https://skmtc.dev/khaasfood/apis/khaasfood-api.md) - [All operations](https://skmtc.dev/khaasfood/apis/khaasfood-api/llms.txt) - [OpenAPI document](https://skmtc.dev/khaasfood/apis/khaasfood-api/revisions/149b6034bea9?raw)
