---
title: "Gets a list of licenses with the specified criteria."
method: GET
path: "/api/v2/Licenses"
tags: ["Licenses"]
---

# Gets a list of licenses with the specified criteria.

`GET /api/v2/Licenses`

## Request

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

No Documentation Found.

## Query parameters

- `VoucherCode` string
- `DealerCode` string
- `Status` 'Active' | 'Inactive' | 'All'
- `limit` integer
- `offset` integer

## Response `200`

OK

- APIPagedResponseDealerDBModelsLicense: 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` DealerDBModelsLicense[], required: The set of entities that make up this page.
    - `LicenseID` string: The LicenseID
    - `VoucherCode` string: The voucher code that generated the license.
    - `LicenseActivationType` 'EDT' | 'EDTLite': The type of license (e.g. EDT, EDT Lite)
    - `CreatedDate` string, date-time: The date the license was created.
    - `RefreshDate` string, date-time: The date the license was refreshed.
    - `DeactivatedDate` string, date-time: The date the license was deactivated.
    - `Active` boolean: True if license is active.
    - `LicenseVersion` string: The version of the license.
    - `UpdatedLicenseVersion` string: The updated version of the license. A value in this field indicates that the update has not been confirmed.
    - `SystemInfo` string: Information about the system which is licensed.

## Other responses

- `default`: API Error Response

---

[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)
