Create xp goal
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.
POST
/
create-xp-goal
Body
application/json
userID
string
requiredIdentifies the user who is creating an XP goal.
goalXP
string
requiredThe desired amount of experience points (XP) the user aims to achieve with this goal.
endDate
string
requiredThe date by which the user intends to achieve the XP goal, in dd/mm/yyyy format.
Response
200 - application/json
success
string
Provides additional information confirming that the request was successful.