---
title: "Gets a list of vouchers"
method: GET
path: "/api/v2/Vouchers"
tags: ["Vouchers"]
---

# Gets a list of vouchers

`GET /api/v2/Vouchers`

## Request

- Base URL: `https://secure.agco-ats.com`
- URL: `https://secure.agco-ats.com/api/v2/Vouchers`
- Auth: none declared

No Documentation Found.

## Query parameters

- `Type` 'Commercial' | 'Internal' | 'Temporary' | 'RightToRepair'
- `DealerCode` string
- `LicenseTo` string
- `Purpose` string
- `OrderNumber` string
- `Email` string
- `ModifiedBy` string
- `CreatedAfter` string, date-time
- `CreatedBefore` string, date-time
- `PunchedAfter` string, date-time
- `PunchedBefore` string, date-time
- `Punched` boolean
- `ExpirationAfter` string, date-time
- `ExpirationBefore` string, date-time
- `Deleted` 'NotDeleted' | 'Deleted' | 'All'
- `limit` integer
- `offset` integer

## Response `200`

OK

- APIPagedResponseDealerDBModelsVoucher: A response containing a page of results and metadata concerning the results
  - `Metadata` APIPagedResponseMetadata, required: Metadata for the paged response
    - `TotalCount` integer, required: The total number of entities matching the request.
    - `Limit` integer, required: The number of entities this paged response is limited to.
    - `Offset` integer, required: The number of entities prior to this page of items.
  - `Entities` DealerDBModelsVoucher[], required: The set of entities that make up this page.
    - `VoucherCode` string: The voucher code.
    - `Type` 'Commercial' | 'Internal' | 'Temporary' | 'RightToRepair': The type of voucher. Commercial is the default if not specified.
    - `DealerCode` string: The dealer code the voucher is assigned to. Required for commercial and right to repair vouchers.
    - `LicenseTo` string: Required for Internal Vouchers
    - `Purpose` string: Required for Internal Vouchers. Not supported for other Vouchers.
    - `OrderNumber` string: The order number of a license. Required for Commercial and Right To Repair Vouchers. Not supported for other Vouchers.
    - `Email` string: Required for internal vouchers.
    - `ModifiedBy` string: Read-Only. The user that made the last modification to the voucher.
    - `CreatedDate` string, date-time: Read-Only. The date the voucher was created.
    - `PunchedDate` string, date-time: Read-Only. The date the voucher was punched.
    - `Punched` boolean: True if voucher has aleady been used. False if the voucher has not been used.
    - `Deleted` boolean: Read-Only. True if voucher has been deleted.
    - `ExpirationDate` string, date-time: The expiration date of the voucher. Required for Temporary and Right to Repair Vouchers.

---

[API](https://skmtc.dev/agco-ats/apis/agco-ats-api.md) - [All operations](https://skmtc.dev/agco-ats/apis/agco-ats-api/llms.txt) - [OpenAPI document](https://skmtc.dev/agco-ats/apis/agco-ats-api/revisions/8b416443df5c?raw)
