Reports - Gamification
Reports
Generate reports for gamification data export.
12.1 Report Types
| Report Type | Description |
|---|---|
certificate | All certificate data |
entryCertificate | Per-entry certificate data |
userCertificate | Per-user certificate status |
entryUserCertificate | Per-user per-entry certificate status |
badge | All badge data |
userBadge | Per-user badge status with per-rule progress |
userScore | Leaderboard scores and rankings |
userLeadScoring | Lead scoring data with group assignments |
12.2 Generate Report
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
reportType | string | Yes | One of: certificate, entryCertificate, userCertificate, entryUserCertificate, badge, userBadge, userScore, userLeadScoring |
gameObjectId | string | Yes | ID of the game object to generate the report for |
curl -X POST "$KALTURA_SCM_URL/report/generate" \
-H "Authorization: Bearer $KALTURA_KS" \
-H "Content-Type: application/json" \
-d '{
"reportType": "userScore",
"gameObjectId": "'$LEADERBOARD_ID'"
}'