---
title: "GET /v1/report/deal/totals/source"
method: GET
path: "/v1/report/deal/totals/source"
tags: ["Report"]
---

# GET /v1/report/deal/totals/source

`GET /v1/report/deal/totals/source`

## Request

- Base URL: `https://api.infoset.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.infoset.app/v1/report/deal/totals/source`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Api-Key`
- TypeScript: <https://skmtc.dev/infoset/apis/infoset-rest-api/docs/v1/report/deal/totals/source/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `Currency` string, required
- `FromDate` string, date-time, required
- `ToDate` string, date-time, required
- `PipelineIds` string
- `ViewType` 0 | 1: <p>Enum values:</p><ul><li><i>0 = List</i></li><li><i>1 = Kanban</i></li></ul>
- `Page` integer
- `ItemsPerPage` integer
- `ReturnTotalItems` boolean

## Response `200`

OK

- ReportTotalDealsSourceModelQueryResult
  - `totalItems` integer
  - `items` ReportTotalDealsSourceModel[], nullable
    - `source` integer
    - `status` 1 | 2 | 3 | 4: <p>Enum values:</p><ul><li><i>1 = Open</i></li><li><i>2 = Lost</i></li><li><i>3 = Won</i></li><li><i>4 = Deleted</i></li></ul>
    - `total` integer
    - `totalValue` number, double
    - `currency` string, nullable

---

[API](https://skmtc.dev/infoset/apis/infoset-rest-api.md) - [All operations](https://skmtc.dev/infoset/apis/infoset-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/infoset/apis/infoset-rest-api/revisions/709c8123f593?raw)
