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
Body
application/json
Identifies the user who is creating an XP goal.
Example:
"user1"
The desired amount of experience points (XP) the user aims to achieve with this goal.
Example:
"100"
The date by which the user intends to achieve the XP goal, in dd/mm/yyyy format.
Example:
"30/07/2024"
Response
200
application/json
OK
Provides additional information confirming that the request was successful.
Example:
"Goal created successfully"