action agco_ats_get_api_v2_authorization_code_definitions_id { label: "Get an authorization code definition by its ID" description: "No Documentation Found." provider: agco_ats method: GET path: "/api/v2/AuthorizationCodeDefinitions/{id}" encoding: json input: { type: "object" properties: { id: { type: "string" } } required: ["id"] additionalProperties: false } output: { type: "object" description: "Represents the model used to define how a type of authorization code is generated." required: ["Name"] properties: { AuthorizationID: { type: "string" description: "The value used for securing codes generated." } CreatedByUserID: { type: "integer" format: "int32" description: "The ID of the user that created this definition. Read only." } CreatedDate: { type: "string" format: "date-time" description: "A timestamp of when this definition was created. Read only." } DataFields: { type: "array" description: "The defined fields to include in authorization codes generated from this definition. May not be updated." items: { type: "object" required: ["Type", "Name"] properties: { DigitsPrecision: { type: "integer" format: "int32" description: "The number of decimal digits to be used by this data field. Required only by the 'Float' data type. Must be in range 1 - 15." } MaxExponent: { type: "integer" format: "int32" description: "The maximum exponent to be used by this data field. Required only by the 'Float' data type. May not be greater than 307." } MaxValue: { type: "number" format: "double" description: "The maximum value that can be represented by this data field. Required only by the 'Decimal' data type." } MinExponent: { type: "integer" format: "int32" description: "The minimum exponent to be used by this data field. Required only by the 'Float' data type. May not be less than -292." } MinValue: { type: "number" format: "double" description: "The minimum value that can be represented by this data field. Required only by the 'Decimal' data type." } Name: { type: "string" description: "The name of the field." } ScaleFactor: { type: "number" format: "double" description: "The resolution of values that can be represented by this data field. The base value is multiplied by this to compute the final value. Required only by the 'Decimal' data type." } Signed: { type: "boolean" description: "Indicates whether this value is signed. Required only by the 'Float' data type." } Type: { type: "string" description: "The type of this data field." enum: ["Boolean", "Decimal", "Float", "VariableLengthByteArray"] } } } } DeletedByUserID: { type: "integer" format: "int32" description: "The ID of the user that deleted this definition. Read only." } DeletedDate: { type: "string" format: "date-time" description: "A timestamp of when this definition was deleted. Read only." } Description: { type: "string" description: "A description of this definition. May not be updated." } DurationAccuracy: { type: "integer" format: "int32" description: "The number of bits used for timestamp verification. Defaults to 5. May not be updated." } DurationAmount: { type: "integer" format: "int32" description: "The amount of duration for the specified duration unit used to calculate the Authorization Code. Defaults to 1. May not be updated." } DurationUnits: { type: "string" description: "The units of duration used to calculate the Authorization Code. Defaults to 'Days'. May not be updated." enum: ["Weeks", "Days", "Hours", "Minutes"] } HashLength: { type: "integer" format: "int32" description: "The bit length of the hash data which will be used for the authorization code. Defaults to 20. May not be updated." } ID: { type: "string" description: "The ID of the authorization code definition. Read only." } IsDeleted: { type: "boolean" description: "Indicates whether this definition is enabled. True if generating codes is disabled." } Name: { type: "string" description: "The name of the authorization code definition. May not be updated." } RandomLength: { type: "integer" format: "int32" description: "The bit length of random data which will be included in the authorization code. This is necessary to allow creation of \"identical\" authorization codes containing the same timestamp. Defaults to 5. May not be updated." } ValidationFields: { type: "array" description: "The defined fields to verify when reading authorization codes generated from this definition. May not be updated." items: { type: "object" required: ["Type", "Name"] properties: { Name: { type: "string" description: "The name of the field." } Type: { type: "string" description: "The type for this validation field." enum: ["Boolean", "Float", "Int", "StringCaseInsensitive", "StringCaseSensitive"] } } } } } } }