action agco_ats_get_api_v2_vouchers_voucher_code { label: "Get a voucher" description: "No Documentation Found." provider: agco_ats method: GET path: "/api/v2/Vouchers/{VoucherCode}" encoding: json input: { type: "object" properties: { Deleted: { type: "string" enum: ["NotDeleted", "Deleted", "All"] } VoucherCode: { type: "string" } } required: ["VoucherCode"] additionalProperties: false } output: { type: "object" description: "A voucher for EDT activation" properties: { CreatedDate: { type: "string" format: "date-time" description: "Read-Only. The date the voucher was created." } DealerCode: { type: "string" description: "The dealer code the voucher is assigned to. Required for commercial and right to repair vouchers." } Deleted: { type: "boolean" description: "Read-Only. True if voucher has been deleted." } Email: { type: "string" description: "Required for internal vouchers." } ExpirationDate: { type: "string" format: "date-time" description: "The expiration date of the voucher. Required for Temporary and Right to Repair Vouchers." } LicenseTo: { type: "string" description: "Required for Internal Vouchers" } ModifiedBy: { type: "string" description: "Read-Only. The user that made the last modification to the voucher." } OrderNumber: { type: "string" description: "The order number of a license. Required for Commercial and Right To Repair Vouchers. Not supported for other Vouchers." } Punched: { type: "boolean" description: "True if voucher has aleady been used. False if the voucher has not been used." } PunchedDate: { type: "string" format: "date-time" description: "Read-Only. The date the voucher was punched." } Purpose: { type: "string" description: "Required for Internal Vouchers. Not supported for other Vouchers." } Type: { type: "string" description: "The type of voucher. Commercial is the default if not specified." enum: ["Commercial", "Internal", "Temporary", "RightToRepair"] } VoucherCode: { type: "string" description: "The voucher code." } } } }