---
title: "Get a voucher"
method: GET
path: "/api/v2/Vouchers/{VoucherCode}"
tags: ["Vouchers"]
---

# Get a voucher

`GET /api/v2/Vouchers/{VoucherCode}`

## Request

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

No Documentation Found.

## Path parameters

- `VoucherCode` string, required

## Query parameters

- `Deleted` 'NotDeleted' | 'Deleted' | 'All'

## Response `200`

OK

- DealerDBModelsVoucher: A voucher for EDT activation
  - `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)
