Create XP Goal
Create an experience points (XP) goal for the user. XP goals have an ID
, type
, title
, end date
, status
(failed, completed, or in progress), fail date
(if failed), and data storing
(start date, starting XP, desired XP) properties.
Body
Identifies the user who is creating an XP goal.
"eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiIsImtpZCI6ImEzMmZkZDRiMTQ2Njc3NzE5YWIyMzcyODYxYmRlZDg5In0.eyJpc3MiOiJodHRwOi8vZG9scGhpbmZsYXNoY2FyZHMuY29tIiwiYXVkIjoiYXBpIiwic3ViIjoidU5RR2lIencxdk9EaExybTVDRWtaQ1ZoTU93MSIsImFjY2Vzc190b2tlbiI6IjRiZTA2NDNmLTFkOTgtNTczYi05N2NkLWNhOThhNjUzNDdkZCIsImFjY2Vzc190b2tlbl9yYXciOiJ0ZXN0IiwiaWF0IjoxNzI2Nzc0MTYzfQ.F-fxFitPQF-gGHyhGPGxE_zj_b8XJybqe4J_iYG66BC4Dqm4LTb8RpcDLyYUhRCcpphihpWGbdp"
The desired amount of experience points (XP) the user aims to achieve with this goal.
"100"
The date by which the user intends to achieve the XP goal, in dd/mm/yyyy format.
"30/07/2024"
Response
Provides additional information confirming that the request was successful.
"Goal created successfully"