---
title: "Get an authorization code by its ID."
method: GET
path: "/api/v2/AuthorizationCodes/{id}"
tags: ["AuthorizationCodes"]
---

# Get an authorization code by its ID.

`GET /api/v2/AuthorizationCodes/{id}`

## Request

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

No Documentation Found.

## Path parameters

- `id` integer, required

## Response `200`

OK

- AuthorizationCodesSharedModelsAuthorizationCode: Represents the model containing an authorization code used to unlock a feature in machines and EDT
  - `ID` integer: The identifier for the authorization code. Read only.
  - `Code` string: The code to enter to unlock a feature. Read only.
  - `DefinitionID` string: The id of the definition for this authorization code. May not be updated.
  - `ValidationParameters` AuthorizationCodesSharedModelsParameter[]: The parameters and values used to validate this authorization code. May not be updated.
    - `Name` string, required: The name of the parameter. May not be updated.
    - `Value` string, required: The value of the parameter. May not be updated.
  - `DataParameters` AuthorizationCodesSharedModelsParameter[]: The parameters and values contained as data in this authorization code. May not be updated.
    - `Name` string, required: The name of the parameter. May not be updated.
    - `Value` string, required: The value of the parameter. May not be updated.
  - `CreatedByUserID` integer: The ID of the user that created this authorization code. Read only.
  - `CreatedDate` string, date-time: A timestamp of when this code was created. Read only.
  - `IsDeleted` boolean: Indicates whether this code is deleted.
  - `DeletedByUserID` integer: The ID of the user that deleted this authorization code. Read only.
  - `DeletedDate` string, date-time: A timestamp of when this authorization code was deleted. Read only.
  - `EffectiveDate` string, date-time: A date at which this code should begin being valid. Optional. Set on create only.

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