Authorization: ********************{
"companyName": "string",
"name": "string",
"categoryName": "string",
"description": "string",
"coverUrl": "string",
"isActive": true,
"isOfferToken": true,
"offerTokenName": "string",
"offerTokenAmount": 0,
"isOfferReward": true,
"offerRewardName": "string"
}curl --location --request POST 'https://api.gofive.co.th/api/v1/achievements' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"companyName": "string",
"name": "string",
"categoryName": "string",
"description": "string",
"coverUrl": "string",
"isActive": true,
"isOfferToken": true,
"offerTokenName": "string",
"offerTokenAmount": 0,
"isOfferReward": true,
"offerRewardName": "string"
}'{
"statusCode": 0,
"message": "string",
"error": "string",
"errorList": {
"achievementId": 0,
"achievementName": "string",
"coverUrl": "string",
"description": "string",
"isActive": true
},
"totals": 0,
"data": {
"achievementId": 0,
"achievementName": "string",
"coverUrl": "string",
"description": "string",
"isActive": true
}
}