AchievementID

A whole-number achievementID enumerates every achievement. It is the first field in the payload of an AchievementLink.

Achievements added to the game in later expansions typically have a larger value. For example: Northrend Dungeonmaster, Cataclysm Dungeon Hero and Pandaria Dungeon Hero have ids 1288, 4844 and 6925.

As a payload
The following events provide achievementID in their payload:

As an argument
The following functions accept achievementID as an argument:
 * - Returns detailed info about an achievement's criteria
 * - Returns detailed info about an achievement's criteria
 * - Returns a properly-formatted AchievementLink
 * - Provides detailed information about an achievement (name, completion status and date, icon, etc.)
 * - Returns the category to which an achievement belongs
 * - Returns the number of criteria required to obtain this achievement
 * - Returns information about an item rewarded for completing an achievement
 * - Returns information about the previous achievement in a chain of related achievements
 * - Returns information about the next achievement in a chain of related achievements
 * - Returns a table listing all achievements which supercede the given one (ie, levels 70, 80, 90 and 100 all supercede reaching level 60)
 * - Adds this achievement to the quest tracker
 * - Removes this achievement from the quest tracker

Example
Possible result: "Hurray! You earned Outland Dungeonmaster"