API:GetQuestExp QuestDetail

Returns the amount of Experiance the Quest will give you. GetQuestExp_QuestDetail

Returns
Experiance Points

Example
/script DEFAULT_CHAT_FRAME:AddMessage(GetQuestExp_QuestDetail);