Get Total Badges and Points For User
Get the number of badges and point for a user.
Request URI
GET /users/{userid}/gamificationsummary?
Response Body (XML)
Returns HTTP status code 200 on success and the session list in the response body.
<GamificationAchievementSummary> <TotalBadgeEarned>INT</TotalBadgeEarned> <TotalPointEarned>DECIMAL(15,2)</TotalPointEarned> </GamificationAchievementSummary>
Get List of Badges Earned By User
Get a list of badges and points for a user.
Request URI
GET /users/{userid}/badges?
Response Body (XML)
Returns HTTP status code 200 on success and the session list in the response body.
<Badges> <Badge> <ID>string [max length 50]</ID> <Title>string [max length 500]</Title> <Description>string</Description> <Icon>icon url string</Icon> <IconBgColor>string [max length 500]</IconBgColor> </Badge> <Badge> <ID>string [max length 50]</ID> <Title>string [max length 500]</Title> <Description>string</Description> <Icon>icon url string</Icon> <IconBgColor>string [max length 500]</IconBgColor> </Badge> </Badges>
Get Badges and Points Earned By User
Get the badge and point details for each course record or learning path record completed by a user.
Request URI
GET /users/{userid}/gamificationdetails?
Response Body (XML)
Returns HTTP status code 200 on success and the session list in the response body.
<GamificationAchievedItems> <GamificationAchievedItem> <ID>string [max length 50]</ID> <ItemID>string [max length 50]</ItemID> <ItemName>string [max length 500]</ItemName> <EarnedPoint>DECIMAL(15,2)</EarnedPoint> <EarnedBadgeID>string [max length 50]</EarnedBadgeID> <DateCompleted>datetime [iso 8601 format]</DateCompleted> <Badge> <ID>string [max length 50]</ID> <Title>string [max length 500]</Title> <Description>string</Description> <Icon>icon url string</Icon> <IconBgColor>string [max length 500]</IconBgColor> <IconDisplayUrl>string</IconDisplayUrl> </Badge> <GamificationLearningPathItemList> <GamificationLearningPathItem> <ID>string [max length 50]</ID> <LearningPathID>string [max length 50]</LearningPathID> <LearningPathName>string [max length 255]</LearningPathName> </GamificationLearningPathItem> </GamificationLearningPathItemList> </GamificationAchievedItem> <GamificationAchievedItem> <ID>string [max length 50]</ID> <ItemID>string [max length 50]</ItemID> <ItemName>string [max length 500]</ItemName> <EarnedPoint>DECIMAL(15,2)</EarnedPoint> <EarnedBadgeID>string [max length 50]</EarnedBadgeID> <DateCompleted>datetime [iso 8601 format]</DateCompleted> <Badge> <ID>string [max length 50]</ID> <Title>string [max length 500]</Title> <Description>string</Description> <Icon>icon url string</Icon> <IconBgColor>string [max length 500]</IconBgColor> <IconDisplayUrl>string</IconDisplayUrl> </Badge> <GamificationLearningPathItemList> <GamificationLearningPathItem> <ID>string [max length 50]</ID> <LearningPathID>string [max length 50]</LearningPathID> <LearningPathName>string [max length 255]</LearningPathName> </GamificationLearningPathItem> </GamificationLearningPathItemList> </GamificationAchievedItem> </GamificationAchievedItems>
Get Badges and Points earned by a Team
Get the badge and point details for each course record or learning path record completed by a user belonging to a team record.
Request URI
GET /teams/{teamid}/gamificationdetails?
Response Body (XML)
Returns HTTP status code 200 on success and the session list in the response body.
<GamificationUsers xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <GamificationUser> <Id>string [max length 50]</Id> <FirstName>string [max length 100]</FirstName> <LastName>string [max length 100]</LastName> <GamificationAchievedItems> <GamificationAchievedItem> <ID>string [max length 50]</ID> <ItemID>string [max length 50]</ItemID> <ItemName>string [max length 500]</ItemName> <EarnedPoint>DECIMAL(15,2)</EarnedPoint> <EarnedBadgeID>string [max length 50]</EarnedBadgeID> <DateCompleted>datetime [iso 8601 format]</DateCompleted> <Badge> <ID>string [max length 50]</ID> <Title>string [max length 500]</Title> <Description>string</Description> <Icon>icon url string</Icon> <IconBgColor>string [max length 500]</IconBgColor> <IconDisplayUrl>string</IconDisplayUrl> </Badge> <GamificationLearningPathItemList> <GamificationLearningPathItem> <ID>string [max length 50]</ID> <LearningPathID>string [max length 50]</LearningPathID> <LearningPathName>string [max length 255]</LearningPathName> </GamificationLearningPathItem> </GamificationLearningPathItemList> </GamificationAchievedItem> </GamificationAchievedItems> </GamificationUser> <GamificationUser> <Id>string [max length 50]</Id> <FirstName>string [max length 100]</FirstName> <LastName>string [max length 100]</LastName> <GamificationAchievedItems> <GamificationAchievedItem> <ID>string [max length 50]</ID> <ItemID>string [max length 50]</ItemID> <ItemName>string [max length 500]</ItemName> <EarnedPoint>DECIMAL(15,2)</EarnedPoint> <EarnedBadgeID>string [max length 50]</EarnedBadgeID> <DateCompleted>datetime [iso 8601 format]</DateCompleted> <Badge> <ID>string [max length 50]</ID> <Title>string [max length 500]</Title> <Description>string</Description> <Icon>icon url string</Icon> <IconBgColor>string [max length 500]</IconBgColor> <IconDisplayUrl>string</IconDisplayUrl> </Badge> <GamificationLearningPathItemList> <GamificationLearningPathItem> <ID>string [max length 50]</ID> <LearningPathID>string [max length 50]</LearningPathID> <LearningPathName>string [max length 255]</LearningPathName> </GamificationLearningPathItem> </GamificationLearningPathItemList> </GamificationAchievedItem> </GamificationAchievedItems> </GamificationUser> </GamificationUsers>
Reset Gamification for a User
Resets the gamification badge records and point records earned by a user.
Request URI
PUT /users/[{userid}/gamificationreset?
Response Header
200 OK