Retrieves a RedCritter user profile.
This version of the GetUserProfileByAppDomain command retrieves a copy of the user profile based on the App Domain.
https://redcritterconnecter.com/services/gamificationv1/GetUserProfileByAppDomain?SecretKey={SecretKey}&ProfileEntity={ProfileEntity}&publicKeys={PublicKeys}&keyFiltered=false
SecretKey | string | yes | This SecretKey is an App or App Domain Secret Key. If an App Secret Key is specified, your default App Domain will be assumed. If an App Domain Secret Key is specified, that App Domain will be used. |
ProfileEntity | string | yes | The ProfileEntity represents to whom the API call will apply. This can be an email address or a team name. Multiple email addresses or teams can be specified by separating them with a semicolon. Team names can be any string value other than an email address. If a team's profile does not exist, RedCritter will create one dynamically. |
publicKeys | string | yes | One or more App or AppDomain public keys (semicolon separated). In addition to the profiles items that are publishable these keys determine which non-publishable items will be returned with the profile (by determining that the call has access since the public key was provided) |
keyFiltered | bool | yes | When set to true, keyFiltered means to ignore any public keys that the user has added to their profile (prevents other unneeded items from being return in the key, since it limits the results to items available based on the passed in public keys. |
Code Samples Javascript, C#
GetUserProfileByAppDomain
This is a minimal example of calling the GetUserProfileByAppDomain API via HTML and Javascript. Remember to never use your Secret Keys on the client side.
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<script src="http://ajax.aspnetcdn.com/ajax/jquery/jquery-1.9.0.js"></script>
<style type='text/css'>
body {
font-family: "Arial";
}
.rctable{
padding-top:20px;
padding-bottom:10px;
border-bottom:solid 1px #ccc;
width:600px;
}
.rclabel {
font-size:14px;
font-weight:bold;
}
.rcval{
font-size:14px;
padding-left:10px;
}
</style>
<script type="text/javascript">
var connecterURL = "https://www.redcritterconnecter.com/";
function getUserProfileByAppDomain(secretKey, profileEntity, publicKeys, keyFiltered, cbSuccess, cbFail) {
$.getJSON(connecterURL + "services/gamificationv1/getUserProfileByAppDomain?jsoncallback=?", { secretKey: secretKey, profileEntity: profileEntity, publicKeys:publicKeys, keyFiltered:keyFiltered},
function (data) {
if (data.Result) {
cbSuccess(data);
} els
cbFail(data);
}
});
}
//My Success Callback
function onMygetUserProfileByAppDomainSuccessHandler(data) {
//data is JSON response
renderItems(data)
}
//My Failure Callback
function onMygetUserProfileByAppDomainFailHandler(data) {
//Something went wrong
alert("Something went wrong");
}
//Sample function to generate the list output in html
function renderItems(data) {
var h = "";
var h = "<table class='rctable'>";
h += "<tr><td class='rclabel'>Username : </td><td class='rcval'>" + HTMLEncode(data.Username) + "</td></tr>"
h += "<tr><td class='rclabel'>First Name : </td><td class='rcval'>" + HTMLEncode(data.FirstName) + "</td></tr>"
h += "<tr><td class='rclabel'>Last Name : </td><td class='rcval'>" + HTMLEncode(data.LastName) + "</td></tr>"
h += "<tr><td class='rclabel'>User ID: </td><td class='rcval'>" + HTMLEncode(data.UserID) + "</td></tr>"
h += "<tr><td class='rclabel'>Title: </td><td class='rcval'>" + HTMLEncode(data.Title) + "</td></tr>"
h += "</table>";
$("#results").html(h);
//display the results
$("#results").html(h);
}
function HTMLEncode(str) {
var div = document.createElement('div');
var text = document.createTextNode(str);
div.appendChild(text);
return div.innerHTML;
}
</script>
</head>
<body>
<table>
<tr>
<td>Secret Key</td>
<td>
<input type="text" id="tSecretKey" style="width: 500px" />
</td>
</tr>
<tr>
<td>Profile Entity</td>
<td>
<input type="text" id="tProfileEntity" style="width: 500px" />
</td>
</tr>
<tr>
<td>Public Keys</td>
<td>
<input type="text" id="tPublicKeys" style="width: 500px" />
</td>
</tr>
<tr>
<td>Key Filtered?</td>
<td>
<input type="text" id="tKeyFiltered" style="width: 500px" />
</td>
</tr>
<tr>
<td></td>
<td>
<input type="button" onclick="getUserProfileByAppDomain($('#tSecretKey').val(), $('#tProfileEntity').val(),$('#tPublicKeys').val(),$('#tKeyFiltered').val(), onMygetUserProfileByAppDomainSuccessHandler, onMygetUserProfileByAppDomainFailHandler)" value="Get Team Profile" /></td>
</tr>
</table>
<br />
<div id="results"></div>
</body>
</html>
GetUserProfileByAppDomain with C#
This is a minmal example of calling the GetUserProfileByAppDomain API and parsing the JSON result into a populated C# object. This example uses asynchronous techniques to raise a callback when the response is received.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
using System.IO;
using System.Web; //Add reference to System.Web
using System.Runtime.Serialization.Json; //Add reference to System.Runtime.Serialization
namespace RedCritterConnecter.Samples
{
//Create a class to contain the response
public class GetUserProfileByAppDomainResponse
{
public String Username { get; set; }
public String FirstName { get; set; }
public String LastName { get; set; }
public String Title { get; set; }
public Boolean Result { get; set; }
}
public class GetUserProfileByAppDomain
{
public delegate void OnGetUserProfileByAppDomainResponse(GetUserProfileByAppDomainResponse GetUserProfileByAppDomainResponse);
public event OnGetUserProfileByAppDomainResponse onGetUserProfileByAppDomainResponse;
public delegate void OnGetUserProfileByAppDomainResponseError(GetUserProfileByAppDomainResponse GetUserProfileByAppDomainResponse);
public event OnGetUserProfileByAppDomainResponseError onGetUserProfileByAppDomainResponseError;
const string CONST_ConnecterBaseURL = "https://www.redcritterconnecter.com/";
public void Execute(String SecretKey, String ProfileEntity, String PublicKeys, String KeyFiltered)
{
try
{
//Create url encoded parameters in query string
String queryString = "secretkey=" + System.Web.HttpUtility.UrlEncode(SecretKey) + "&profileentity=" + System.Web.HttpUtility.UrlEncode(ProfileEntity) + "&publickeys=" + System.Web.HttpUtility.UrlEncode(PublicKeys) + "&keyfiltered=" + System.Web.HttpUtility.UrlEncode(KeyFiltered);
//Create a new instance of a WebClient
WebClient wc = new System.Net.WebClient();
//Prevent this request from caching in order to ensure that it is sent to server
wc.CachePolicy = new System.Net.Cache.RequestCachePolicy(System.Net.Cache.RequestCacheLevel.NoCacheNoStore);
//Attach an event handler to receive the response
wc.DownloadStringCompleted += onGetUserProfileByAppDomainResponseReceived;
//Make the call
wc.DownloadStringAsync(new Uri(CONST_ConnecterBaseURL + "services/gamificationv1/GetUserProfileByAppDomain?" + queryString, UriKind.Absolute));
}
catch
{
//Something went wrong communicating with the server
if (onGetUserProfileByAppDomainResponseError != null)
{
onGetUserProfileByAppDomainResponseError(null);
}
}
}
private void onGetUserProfileByAppDomainResponseReceived(object sender, DownloadStringCompletedEventArgs e)
{
try
{
//Create a JSON serializer
System.Runtime.Serialization.Json.DataContractJsonSerializer s = new DataContractJsonSerializer(typeof(GetUserProfileByAppDomainResponse));
//Copy the string into a memory stream
MemoryStream ms = new MemoryStream(Encoding.UTF8.GetBytes(e.Result));
//Read the stream into an object matching the response's type
GetUserProfileByAppDomainResponse GetUserProfileByAppDomainResponse = (GetUserProfileByAppDomainResponse)s.ReadObject(ms);
//Work with the populated response object
if (GetUserProfileByAppDomainResponse.Result == true)
{
//Request was accepted, raise the success event
onGetUserProfileByAppDomainResponse(GetUserProfileByAppDomainResponse);
}
else
{
//Something went wrong
if (onGetUserProfileByAppDomainResponseError != null)
{
//Request failed, raise the error event
onGetUserProfileByAppDomainResponseError(GetUserProfileByAppDomainResponse);
}
}
}
catch
{
//Something went wrong
onGetUserProfileByAppDomainResponseError(null);
}
}
}
}
Responses JSON, XML
XML Response
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="Connecter">
<AboutMe />
<Accolades />
<AnalyticsCode />
<Apps>
<App>
<AppDomains>
<AppDomain>
<AppDomainID>63</AppDomainID>
<Badges>
<Badge>
<BadgeID>103</BadgeID>
<BadgeName>Test</BadgeName>
<Count>8</Count>
<Description>Test Badge that doesn't require an action trigger</Description>
<ExpirationDate>2000-01-01 00:00:00.0000000</ExpirationDate>
<Expires>false</Expires>
<IconURL>
https://connecterstoredev.blob.core.windows.net/badges/badgeicon_0_{s|m|l}.png
</IconURL>
<Modified>2013-08-20T18:29:01.6803311Z</Modified>
<Unlocked>true</Unlocked>
<UserDeleted>false</UserDeleted>
<UserDisabled>false</UserDisabled>
</Badge>
</Badges>
<Certs />
<ExternalAccountID>TestGroup</ExternalAccountID>
<IsPersonal>false</IsPersonal>
<RewardPoints>0</RewardPoints>
<Skills />
<TeamLeaderboards />
<UserLeaderboards />
<ValidatedDomain />
<ValidatedOrg />
</AppDomain>
<AppDomain>
<AppDomainID>59</AppDomainID>
<Badges>
<Badge>
<BadgeID>99</BadgeID>
<BadgeName>Donut Grunt</BadgeName>
<Count>1</Count>
<Description>
You supplied the whole village with donuts. A feast was had by all !
</Description>
<ExpirationDate>2000-01-01 00:00:00.0000000</ExpirationDate>
<Expires>false</Expires>
<IconURL>
https://connecterstoredev.blob.core.windows.net/badges/badgeicon_99_{s|m|l}.png
</IconURL>
<Modified>2013-08-21T13:44:47.3000974Z</Modified>
<Unlocked>true</Unlocked>
<UserDeleted>false</UserDeleted>
<UserDisabled>false</UserDisabled>
</Badge>
</Badges>
<Certs />
<ExternalAccountID>(Default)</ExternalAccountID>
<IsPersonal>false</IsPersonal>
<RewardPoints>99</RewardPoints>
<Skills>
<Skill>
<AppDomainID>0</AppDomainID>
<AppID>0</AppID>
<CurrentLevel>Beginner</CurrentLevel>
<CurrentLevelNum>1</CurrentLevelNum>
<DegredationAmount>0</DegredationAmount>
<DegredationInterval>0</DegredationInterval>
<Deleted>false</Deleted>
<Description>Can bake cookies for coworkers.</Description>
<Enabled>true</Enabled>
<Modified>2013-08-20T13:09:41.8406217</Modified>
<NextLevel>Intermediate</NextLevel>
<Points>5</Points>
<PointsRequiredForCurrentLevel>0</PointsRequiredForCurrentLevel>
<PointsRequiredForNextLevel>100</PointsRequiredForNextLevel>
<Publishable>true</Publishable>
<SkillID>37</SkillID>
<SkillName>Cooking</SkillName>
<TotalLevels>3</TotalLevels>
<UserDeleted>false</UserDeleted>
<UserDisabled>false</UserDisabled>
</Skill>
</Skills>
<TeamLeaderboards />
<UserLeaderboards>
<Skill>
<AppDomainID>59</AppDomainID>
<AppID>40</AppID>
<Deleted>false</Deleted>
<Description>Test Leaderboard</Description>
<Enabled>true</Enabled>
<LeaderboardID>17</LeaderboardID>
<LeaderboardName>Test</LeaderboardName>
<Modified>2013-08-21T13:44:47.4407456Z</Modified>
<NextUserID>0</NextUserID>
<NextUserIconURL />
<NextUserName />
<NextUserPoints>0</NextUserPoints>
<NextUserPosition>0</NextUserPosition>
<PrevUserID>107</PrevUserID>
<PrevUserIconURL>
https://connecterstoredev.blob.core.windows.net/users/usericon_107_{s|m|l}.png
</PrevUserIconURL>
<PrevUserName>Mike</PrevUserName>
<PrevUserPoints>1</PrevUserPoints>
<PrevUserPosition>2</PrevUserPosition>
<Publishable>true</Publishable>
<UserDeleted>false</UserDeleted>
<UserDisabled>false</UserDisabled>
<UserPoints>7</UserPoints>
<UserPosition>1</UserPosition>
</Skill>
</UserLeaderboards>
<ValidatedDomain />
<ValidatedOrg />
</AppDomain>
</AppDomains>
<AppID>40</AppID>
<AppName>Office Heroes</AppName>
<Description>
Do you have what it takes to be the hero of the office ????
</Description>
<IconURL>
https://connecterstoredev.blob.core.windows.net/apps/appicon_40_{s|m|l}.png
</IconURL>
<ValidatedDomain />
<ValidatedOrg />
</App>
<App>
<AppDomains>
<AppDomain>
<AppDomainID>67</AppDomainID>
<Badges />
<Certs />
<ExternalAccountID>TestDomain</ExternalAccountID>
<IsPersonal>false</IsPersonal>
<RewardPoints>0</RewardPoints>
<Skills />
<TeamLeaderboards />
<UserLeaderboards />
<ValidatedDomain />
<ValidatedOrg />
</AppDomain>
<AppDomain>
<AppDomainID>65</AppDomainID>
<Badges />
<Certs />
<ExternalAccountID>Tech Sales</ExternalAccountID>
<IsPersonal>false</IsPersonal>
<RewardPoints>0</RewardPoints>
<Skills />
<TeamLeaderboards />
<UserLeaderboards />
<ValidatedDomain />
<ValidatedOrg />
</AppDomain>
<AppDomain>
<AppDomainID>29</AppDomainID>
<Badges />
<Certs />
<ExternalAccountID>(Default)</ExternalAccountID>
<IsPersonal>false</IsPersonal>
<RewardPoints>0</RewardPoints>
<Skills />
<TeamLeaderboards />
<UserLeaderboards />
<ValidatedDomain />
<ValidatedOrg />
</AppDomain>
</AppDomains>
<AppID>12</AppID>
<AppName>Dynamics Sales</AppName>
<Description>RedCritter Corp. Sales</Description>
<IconURL>
https://connecterstoredev.blob.core.windows.net/apps/appicon_12_{s|m|l}.png
</IconURL>
<ValidatedDomain />
<ValidatedOrg />
</App>
<App>
<AppDomains>
<AppDomain>
<AppDomainID>28</AppDomainID>
<Badges />
<Certs>
<Cert>
<CertID>32</CertID>
<CertName>CRM Expert</CertName>
<DateIssued>2013-08-13T00:00:00</DateIssued>
<Description>You've completed our advanced CRM training!</Description>
<ExpirationDate>2014-01-01T00:00:00</ExpirationDate>
<IconURL>
https://connecterstoredev.blob.core.windows.net/certs/certicon_32_{s|m|l}.png
</IconURL>
<Modified>2013-08-13T14:52:01.8169955Z</Modified>
<UserDeleted>false</UserDeleted>
<UserDisabled>false</UserDisabled>
</Cert>
</Certs>
<ExternalAccountID>(Default)</ExternalAccountID>
<IsPersonal>false</IsPersonal>
<RewardPoints>0</RewardPoints>
<Skills />
<TeamLeaderboards />
<UserLeaderboards />
<ValidatedDomain />
<ValidatedOrg />
</AppDomain>
</AppDomains>
<AppID>11</AppID>
<AppName>Dynamics CRM</AppName>
<Description>RedCritter Corp. CRM</Description>
<IconURL>
https://connecterstoredev.blob.core.windows.net/apps/appicon_11_{s|m|l}.png
</IconURL>
<ValidatedDomain />
<ValidatedOrg />
</App>
<App>
<AppDomains>
<AppDomain>
<AppDomainID>60</AppDomainID>
<Badges>
<Badge>
<BadgeID>102</BadgeID>
<BadgeName>MyFirstBadge</BadgeName>
<Count>3</Count>
<Description>
This is a demonstration to show how easy it is to create a Badge. Give it a try !
</Description>
<ExpirationDate>2000-01-01 00:00:00.0000000</ExpirationDate>
<Expires>false</Expires>
<IconURL>
https://connecterstoredev.blob.core.windows.net/badges/badgeicon_102_{s|m|l}.png
</IconURL>
<Modified>2013-08-09T19:06:48.8506719Z</Modified>
<Unlocked>true</Unlocked>
<UserDeleted>false</UserDeleted>
<UserDisabled>false</UserDisabled>
</Badge>
</Badges>
<Certs />
<ExternalAccountID>(Default)</ExternalAccountID>
<IsPersonal>false</IsPersonal>
<RewardPoints>0</RewardPoints>
<Skills />
<TeamLeaderboards />
<UserLeaderboards />
<ValidatedDomain />
<ValidatedOrg />
</AppDomain>
</AppDomains>
<AppID>41</AppID>
<AppName>MyApp</AppName>
<Description>
This is an App that I am creating to give Badges, Certifications, and Rewards to people that use my Apps.
</Description>
<IconURL>
https://connecterstoredev.blob.core.windows.net/apps/appicon_41_{s|m|l}.png
</IconURL>
<ValidatedDomain />
<ValidatedOrg />
</App>
<App>
<AppDomains>
<AppDomain>
<AppDomainID>56</AppDomainID>
<Badges>
<Badge>
<BadgeID>96</BadgeID>
<BadgeName>Mechanic</BadgeName>
<Count>1</Count>
<Description>Master at fixing the lawnmower</Description>
<ExpirationDate>2000-01-01 00:00:00.0000000</ExpirationDate>
<Expires>false</Expires>
<IconURL>
https://connecterstoredev.blob.core.windows.net/badges/badgeicon_96_{s|m|l}.png
</IconURL>
<Modified>2013-08-07T18:48:15.3915328Z</Modified>
<Unlocked>true</Unlocked>
<UserDeleted>false</UserDeleted>
<UserDisabled>false</UserDisabled>
</Badge>
</Badges>
<Certs />
<ExternalAccountID>(Default)</ExternalAccountID>
<IsPersonal>true</IsPersonal>
<RewardPoints>0</RewardPoints>
<Skills>
<Skill>
<AppDomainID>0</AppDomainID>
<AppID>0</AppID>
<CurrentLevel>Intermediate</CurrentLevel>
<CurrentLevelNum>2</CurrentLevelNum>
<DegredationAmount>0</DegredationAmount>
<DegredationInterval>0</DegredationInterval>
<Deleted>false</Deleted>
<Description>Knows how to run a lawn mower</Description>
<Enabled>true</Enabled>
<Modified>2013-08-07T18:34:58.6170628Z</Modified>
<NextLevel>Advanced</NextLevel>
<Points>10</Points>
<PointsRequiredForCurrentLevel>10</PointsRequiredForCurrentLevel>
<PointsRequiredForNextLevel>25</PointsRequiredForNextLevel>
<Publishable>true</Publishable>
<SkillID>35</SkillID>
<SkillName>LawnMower Operation</SkillName>
<TotalLevels>3</TotalLevels>
<UserDeleted>false</UserDeleted>
<UserDisabled>false</UserDisabled>
</Skill>
</Skills>
<TeamLeaderboards />
<UserLeaderboards />
<ValidatedDomain />
<ValidatedOrg />
</AppDomain>
</AppDomains>
<AppID>37</AppID>
<AppName>Chores</AppName>
<Description>A Sample of giving out Chores to the family</Description>
<IconURL>
https://connecterstoredev.blob.core.windows.net/apps/appicon_37_{s|m|l}.png
</IconURL>
<ValidatedDomain />
<ValidatedOrg />
</App>
<App>
<AppDomains>
<AppDomain>
<AppDomainID>55</AppDomainID>
<Badges>
<Badge>
<BadgeID>93</BadgeID>
<BadgeName>Test</BadgeName>
<Count>3</Count>
<Description>Test</Description>
<ExpirationDate>2000-01-01 00:00:00.0000000</ExpirationDate>
<Expires>false</Expires>
<IconURL>
https://connecterstoredev.blob.core.windows.net/badges/badgeicon_0_{s|m|l}.png
</IconURL>
<Modified>2013-08-19T14:04:44.2757724Z</Modified>
<Unlocked>true</Unlocked>
<UserDeleted>false</UserDeleted>
<UserDisabled>false</UserDisabled>
</Badge>
<Badge>
<BadgeID>94</BadgeID>
<BadgeName>MunchkinPlaya</BadgeName>
<Count>2</Count>
<Description>Play a game of Munchkin</Description>
<ExpirationDate>2000-01-01 00:00:00.0000000</ExpirationDate>
<Expires>false</Expires>
<IconURL>
https://connecterstoredev.blob.core.windows.net/badges/badgeicon_94_{s|m|l}.png
</IconURL>
<Modified>2013-08-14T13:18:11.9178849Z</Modified>
<Unlocked>true</Unlocked>
<UserDeleted>false</UserDeleted>
<UserDisabled>false</UserDisabled>
</Badge>
</Badges>
<Certs />
<ExternalAccountID>(Default)</ExternalAccountID>
<IsPersonal>false</IsPersonal>
<RewardPoints>0</RewardPoints>
<Skills>
<Skill>
<AppDomainID>0</AppDomainID>
<AppID>0</AppID>
<CurrentLevel>Intermediate</CurrentLevel>
<CurrentLevelNum>2</CurrentLevelNum>
<DegredationAmount>0</DegredationAmount>
<DegredationInterval>0</DegredationInterval>
<Deleted>false</Deleted>
<Description>I know how to play Munchkin !!!!</Description>
<Enabled>true</Enabled>
<Modified>2013-07-31T20:32:35.4258475Z</Modified>
<NextLevel>Master</NextLevel>
<Points>130</Points>
<PointsRequiredForCurrentLevel>100</PointsRequiredForCurrentLevel>
<PointsRequiredForNextLevel>200</PointsRequiredForNextLevel>
<Publishable>true</Publishable>
<SkillID>33</SkillID>
<SkillName>Munchkin</SkillName>
<TotalLevels>3</TotalLevels>
<UserDeleted>false</UserDeleted>
<UserDisabled>false</UserDisabled>
</Skill>
</Skills>
<TeamLeaderboards />
<UserLeaderboards />
<ValidatedDomain />
<ValidatedOrg />
</AppDomain>
</AppDomains>
<AppID>36</AppID>
<AppName>GameNight</AppName>
<Description>
An app for giving out badges for Table Top Game Night.
</Description>
<IconURL>
https://connecterstoredev.blob.core.windows.net/apps/appicon_36_{s|m|l}.png
</IconURL>
<ValidatedDomain />
<ValidatedOrg />
</App>
</Apps>
<AskMeAbout />
<BackgroundColor>#000</BackgroundColor>
<BackgroundImageURL>
http://connecterstoreprod.blob.core.windows.net/defaultbackgrounds/DefaultThemeBlue.jpg
</BackgroundImageURL>
<BackgroundLayout>s</BackgroundLayout>
<Company>RedCritter</Company>
<Favorites />
<FeedItems>
<FeedItem>
<AppDomainID>59</AppDomainID>
<AppID>40</AppID>
<AttImage>
https://connecterstoredev.blob.core.windows.net/badges/badgeicon_99_{s|m|l}.png
</AttImage>
<AttMessage>
You supplied the whole village with donuts. A feast was had by all !
</AttMessage>
<DeltaType>Badge_Awarded</DeltaType>
<Message>You earned the Donut Grunt badge.</Message>
<ObjectID>99</ObjectID>
<ObjectType>Badge</ObjectType>
<TimeStamp>2013-08-21T13:44:36.9099449</TimeStamp>
<Title>Badge earned</Title>
</FeedItem>
<FeedItem>
<AppDomainID>59</AppDomainID>
<AppID>40</AppID>
<AttImage />
<AttMessage />
<DeltaType>Skill_Added</DeltaType>
<Message>
You've acquired the Cooking skill! Your level is Beginner.
</Message>
<ObjectID>37</ObjectID>
<ObjectType>Skill</ObjectType>
<TimeStamp>2013-08-20T13:09:36.0048855</TimeStamp>
<Title>Skill acquired</Title>
</FeedItem>
<FeedItem>
<AppDomainID>59</AppDomainID>
<AppID>40</AppID>
<AttImage />
<AttMessage />
<DeltaType>Skill_Removed</DeltaType>
<Message>Your Cooking skill has been removed.</Message>
<ObjectID>37</ObjectID>
<ObjectType>Skill</ObjectType>
<TimeStamp>2013-08-19T17:20:55.9722936</TimeStamp>
<Title>Skill removed</Title>
</FeedItem>
<FeedItem>
<AppDomainID>59</AppDomainID>
<AppID>40</AppID>
<AttImage />
<AttMessage />
<DeltaType>Skill_Added</DeltaType>
<Message>
You've acquired the Cooking skill! Your level is Beginner.
</Message>
<ObjectID>37</ObjectID>
<ObjectType>Skill</ObjectType>
<TimeStamp>2013-08-19T17:20:47.5506336</TimeStamp>
<Title>Skill acquired</Title>
</FeedItem>
<FeedItem>
<AppDomainID>59</AppDomainID>
<AppID>40</AppID>
<AttImage />
<AttMessage />
<DeltaType>Skill_Removed</DeltaType>
<Message>Your Cooking skill has been removed.</Message>
<ObjectID>37</ObjectID>
<ObjectType>Skill</ObjectType>
<TimeStamp>2013-08-19T17:20:27.5099916</TimeStamp>
<Title>Skill removed</Title>
</FeedItem>
<FeedItem>
<AppDomainID>59</AppDomainID>
<AppID>40</AppID>
<AttImage />
<AttMessage />
<DeltaType>Skill_Added</DeltaType>
<Message>
You've acquired the Cooking skill! Your level is Beginner.
</Message>
<ObjectID>37</ObjectID>
<ObjectType>Skill</ObjectType>
<TimeStamp>2013-08-19T17:19:56.3755381</TimeStamp>
<Title>Skill acquired</Title>
</FeedItem>
<FeedItem>
<AppDomainID>59</AppDomainID>
<AppID>40</AppID>
<AttImage />
<AttMessage />
<DeltaType>Skill_Removed</DeltaType>
<Message>Your Cooking skill has been removed.</Message>
<ObjectID>37</ObjectID>
<ObjectType>Skill</ObjectType>
<TimeStamp>2013-08-19T16:58:20.4253429</TimeStamp>
<Title>Skill removed</Title>
</FeedItem>
<FeedItem>
<AppDomainID>59</AppDomainID>
<AppID>40</AppID>
<AttImage />
<AttMessage />
<DeltaType>Skill_Added</DeltaType>
<Message>
You've acquired the Cooking skill! Your level is Beginner.
</Message>
<ObjectID>37</ObjectID>
<ObjectType>Skill</ObjectType>
<TimeStamp>2013-08-19T16:58:01.2852605</TimeStamp>
<Title>Skill acquired</Title>
</FeedItem>
<FeedItem>
<AppDomainID>59</AppDomainID>
<AppID>40</AppID>
<AttImage />
<AttMessage />
<DeltaType>Skill_Removed</DeltaType>
<Message>Your Cooking skill has been removed.</Message>
<ObjectID>37</ObjectID>
<ObjectType>Skill</ObjectType>
<TimeStamp>2013-08-19T16:54:55.8922224</TimeStamp>
<Title>Skill removed</Title>
</FeedItem>
</FeedItems>
<FirstName>Dave</FirstName>
<HomePhone />
<IconURL>
http://connecterstoredev.blob.core.windows.net/users/usericon_135_{s|m|l}.png
</IconURL>
<LastName>Jenness</LastName>
<Links>
<Link>
<LinkType>linkedin</LinkType>
<LinkURL>http://www.linkedin.com/in/davidjenness/</LinkURL>
</Link>
</Links>
<MobilePhone />
<MuralImageURL />
<MuralOpacity>1</MuralOpacity>
<PersonalEmail />
<PublicKey />
<Result>true</Result>
<ResultMessage />
<ResultTitle />
<RootImageURL>http://connecterstoredev.blob.core.windows.net/</RootImageURL>
<Settings />
<Title>Director of Products and Services</Title>
<UserID>135</UserID>
<Username>Dave</Username>
<Version>635126952587098282</Version>
<VersionAccolades>635126876489054773</VersionAccolades>
<VersionAppDomains>635123013179790405</VersionAppDomains>
<VersionApps>635121087215174449</VersionApps>
<VersionBadges>635126894873000974</VersionBadges>
<VersionCerts>635125182660204931</VersionCerts>
<VersionFeed>635126894873000974</VersionFeed>
<VersionLeaderboards>0</VersionLeaderboards>
<VersionProfile>635126894873000974</VersionProfile>
<VersionRewards>635123013179790405</VersionRewards>
<VersionSkills>635126009836777025</VersionSkills>
<WorkEmail />
<WorkPhone />
</Response>
JSOn Response
{
"RootImageURL": "http://connecterstoredev.blob.core.windows.net/",
"AboutMe": "",
"AskMeAbout": "",
"FirstName": "Dave",
"LastName": "Jenness",
"Username": "Dave",
"UserID": 135,
"PersonalEmail": "",
"WorkEmail": "",
"Company": "RedCritter",
"Title": "Director of Products and Services",
"MobilePhone": "",
"HomePhone": "",
"WorkPhone": "",
"IconURL": "http://connecterstoredev.blob.core.windows.net/users/usericon_135_{s|m|l}.png",
"MuralImageURL": "",
"MuralOpacity": 1.0,
"BackgroundImageURL": "http://connecterstoreprod.blob.core.windows.net/defaultbackgrounds/DefaultThemeBlue.jpg",
"BackgroundLayout": "s",
"BackgroundColor": "#000",
"PublicKey": "",
"AnalyticsCode": "",
"Apps": [
{
"AppID": 40,
"AppName": "Office Heroes",
"Description": "Do you have what it takes to be the hero of the office ????",
"IconURL": "https://connecterstoredev.blob.core.windows.net/apps/appicon_40_{s|m|l}.png",
"ValidatedDomain": "",
"ValidatedOrg": "",
"AppDomains": [
{
"AppDomainID": 63,
"ExternalAccountID": "TestGroup",
"ValidatedDomain": "",
"ValidatedOrg": "",
"IsPersonal": false,
"Badges": [
{
"BadgeID": 103,
"BadgeName": "Test",
"Description": "Test Badge that doesn't require an action trigger",
"Count": 8,
"IconURL": "https://connecterstoredev.blob.core.windows.net/badges/badgeicon_0_{s|m|l}.png",
"Expires": false,
"ExpirationDate": "2000-01-01 00:00:00.0000000",
"Modified": "2013-08-20T18:29:01.6803311Z",
"Unlocked": true,
"UserDisabled": false,
"UserDeleted": false
}
],
"Certs": [],
"Skills": [],
"UserLeaderboards": [],
"TeamLeaderboards": [],
"RewardPoints": 0
},
{
"AppDomainID": 59,
"ExternalAccountID": "(Default)",
"ValidatedDomain": "",
"ValidatedOrg": "",
"IsPersonal": false,
"Badges": [
{
"BadgeID": 99,
"BadgeName": "Donut Grunt",
"Description": "You supplied the whole village with donuts. A feast was had by all !",
"Count": 1,
"IconURL": "https://connecterstoredev.blob.core.windows.net/badges/badgeicon_99_{s|m|l}.png",
"Expires": false,
"ExpirationDate": "2000-01-01 00:00:00.0000000",
"Modified": "2013-08-21T13:44:47.3000974Z",
"Unlocked": true,
"UserDisabled": false,
"UserDeleted": false
}
],
"Certs": [],
"Skills": [
{
"AppID": 0,
"AppDomainID": 0,
"SkillID": 37,
"SkillName": "Cooking",
"Description": "Can bake cookies for coworkers.",
"Points": 5,
"CurrentLevel": "Beginner",
"PointsRequiredForCurrentLevel": 0,
"NextLevel": "Intermediate",
"PointsRequiredForNextLevel": 100,
"CurrentLevelNum": 1,
"TotalLevels": 3,
"DegredationInterval": 0,
"DegredationAmount": 0,
"Modified": "2013-08-20T13:09:41.8406217",
"Enabled": true,
"Deleted": false,
"UserDisabled": false,
"UserDeleted": false,
"Publishable": true
}
],
"UserLeaderboards": [
{
"AppID": 40,
"AppDomainID": 59,
"LeaderboardID": 17,
"LeaderboardName": "Test",
"Description": "Test Leaderboard",
"Enabled": true,
"Deleted": false,
"UserDisabled": false,
"UserDeleted": false,
"UserPosition": 1,
"UserPoints": 7.0,
"PrevUserID": 107,
"PrevUserIconURL": "https://connecterstoredev.blob.core.windows.net/users/usericon_107_{s|m|l}.png",
"PrevUserName": "Mike",
"PrevUserPoints": 1.0,
"PrevUserPosition": 2,
"NextUserID": 0,
"NextUserIconURL": "",
"NextUserName": "",
"NextUserPoints": 0.0,
"NextUserPosition": 0,
"Publishable": true,
"Modified": "2013-08-21T13:44:47.4407456Z"
}
],
"TeamLeaderboards": [],
"RewardPoints": 99
}
]
},
{
"AppID": 12,
"AppName": "Dynamics Sales",
"Description": "RedCritter Corp. Sales",
"IconURL": "https://connecterstoredev.blob.core.windows.net/apps/appicon_12_{s|m|l}.png",
"ValidatedDomain": "",
"ValidatedOrg": "",
"AppDomains": [
{
"AppDomainID": 67,
"ExternalAccountID": "TestDomain",
"ValidatedDomain": "",
"ValidatedOrg": "",
"IsPersonal": false,
"Badges": [],
"Certs": [],
"Skills": [],
"UserLeaderboards": [],
"TeamLeaderboards": [],
"RewardPoints": 0
},
{
"AppDomainID": 65,
"ExternalAccountID": "Tech Sales",
"ValidatedDomain": "",
"ValidatedOrg": "",
"IsPersonal": false,
"Badges": [],
"Certs": [],
"Skills": [],
"UserLeaderboards": [],
"TeamLeaderboards": [],
"RewardPoints": 0
},
{
"AppDomainID": 29,
"ExternalAccountID": "(Default)",
"ValidatedDomain": "",
"ValidatedOrg": "",
"IsPersonal": false,
"Badges": [],
"Certs": [],
"Skills": [],
"UserLeaderboards": [],
"TeamLeaderboards": [],
"RewardPoints": 0
}
]
},
{
"AppID": 11,
"AppName": "Dynamics CRM",
"Description": "RedCritter Corp. CRM",
"IconURL": "https://connecterstoredev.blob.core.windows.net/apps/appicon_11_{s|m|l}.png",
"ValidatedDomain": "",
"ValidatedOrg": "",
"AppDomains": [
{
"AppDomainID": 28,
"ExternalAccountID": "(Default)",
"ValidatedDomain": "",
"ValidatedOrg": "",
"IsPersonal": false,
"Badges": [],
"Certs": [
{
"CertID": 32,
"CertName": "CRM Expert",
"Description": "You've completed our advanced CRM training!",
"IconURL": "https://connecterstoredev.blob.core.windows.net/certs/certicon_32_{s|m|l}.png",
"DateIssued": "2013-08-13T00:00:00",
"Modified": "2013-08-13T14:52:01.8169955Z",
"ExpirationDate": "2014-01-01T00:00:00",
"UserDisabled": false,
"UserDeleted": false
}
],
"Skills": [],
"UserLeaderboards": [],
"TeamLeaderboards": [],
"RewardPoints": 0
}
]
},
{
"AppID": 41,
"AppName": "MyApp",
"Description": "This is an App that I am creating to give Badges, Certifications, and Rewards to people that use my Apps.",
"IconURL": "https://connecterstoredev.blob.core.windows.net/apps/appicon_41_{s|m|l}.png",
"ValidatedDomain": "",
"ValidatedOrg": "",
"AppDomains": [
{
"AppDomainID": 60,
"ExternalAccountID": "(Default)",
"ValidatedDomain": "",
"ValidatedOrg": "",
"IsPersonal": false,
"Badges": [
{
"BadgeID": 102,
"BadgeName": "MyFirstBadge",
"Description": "This is a demonstration to show how easy it is to create a Badge. Give it a try !",
"Count": 3,
"IconURL": "https://connecterstoredev.blob.core.windows.net/badges/badgeicon_102_{s|m|l}.png",
"Expires": false,
"ExpirationDate": "2000-01-01 00:00:00.0000000",
"Modified": "2013-08-09T19:06:48.8506719Z",
"Unlocked": true,
"UserDisabled": false,
"UserDeleted": false
}
],
"Certs": [],
"Skills": [],
"UserLeaderboards": [],
"TeamLeaderboards": [],
"RewardPoints": 0
}
]
},
{
"AppID": 37,
"AppName": "Chores",
"Description": "A Sample of giving out Chores to the family",
"IconURL": "https://connecterstoredev.blob.core.windows.net/apps/appicon_37_{s|m|l}.png",
"ValidatedDomain": "",
"ValidatedOrg": "",
"AppDomains": [
{
"AppDomainID": 56,
"ExternalAccountID": "(Default)",
"ValidatedDomain": "",
"ValidatedOrg": "",
"IsPersonal": true,
"Badges": [
{
"BadgeID": 96,
"BadgeName": "Mechanic",
"Description": "Master at fixing the lawnmower",
"Count": 1,
"IconURL": "https://connecterstoredev.blob.core.windows.net/badges/badgeicon_96_{s|m|l}.png",
"Expires": false,
"ExpirationDate": "2000-01-01 00:00:00.0000000",
"Modified": "2013-08-07T18:48:15.3915328Z",
"Unlocked": true,
"UserDisabled": false,
"UserDeleted": false
}
],
"Certs": [],
"Skills": [
{
"AppID": 0,
"AppDomainID": 0,
"SkillID": 35,
"SkillName": "LawnMower Operation",
"Description": "Knows how to run a lawn mower",
"Points": 10,
"CurrentLevel": "Intermediate",
"PointsRequiredForCurrentLevel": 10,
"NextLevel": "Advanced",
"PointsRequiredForNextLevel": 25,
"CurrentLevelNum": 2,
"TotalLevels": 3,
"DegredationInterval": 0,
"DegredationAmount": 0,
"Modified": "2013-08-07T18:34:58.6170628Z",
"Enabled": true,
"Deleted": false,
"UserDisabled": false,
"UserDeleted": false,
"Publishable": true
}
],
"UserLeaderboards": [],
"TeamLeaderboards": [],
"RewardPoints": 0
}
]
},
{
"AppID": 36,
"AppName": "GameNight",
"Description": "An app for giving out badges for Table Top Game Night.",
"IconURL": "https://connecterstoredev.blob.core.windows.net/apps/appicon_36_{s|m|l}.png",
"ValidatedDomain": "",
"ValidatedOrg": "",
"AppDomains": [
{
"AppDomainID": 55,
"ExternalAccountID": "(Default)",
"ValidatedDomain": "",
"ValidatedOrg": "",
"IsPersonal": false,
"Badges": [
{
"BadgeID": 93,
"BadgeName": "Test",
"Description": "Test",
"Count": 3,
"IconURL": "https://connecterstoredev.blob.core.windows.net/badges/badgeicon_0_{s|m|l}.png",
"Expires": false,
"ExpirationDate": "2000-01-01 00:00:00.0000000",
"Modified": "2013-08-19T14:04:44.2757724Z",
"Unlocked": true,
"UserDisabled": false,
"UserDeleted": false
},
{
"BadgeID": 94,
"BadgeName": "MunchkinPlaya",
"Description": "Play a game of Munchkin",
"Count": 2,
"IconURL": "https://connecterstoredev.blob.core.windows.net/badges/badgeicon_94_{s|m|l}.png",
"Expires": false,
"ExpirationDate": "2000-01-01 00:00:00.0000000",
"Modified": "2013-08-14T13:18:11.9178849Z",
"Unlocked": true,
"UserDisabled": false,
"UserDeleted": false
}
],
"Certs": [],
"Skills": [
{
"AppID": 0,
"AppDomainID": 0,
"SkillID": 33,
"SkillName": "Munchkin",
"Description": "I know how to play Munchkin !!!!",
"Points": 130,
"CurrentLevel": "Intermediate",
"PointsRequiredForCurrentLevel": 100,
"NextLevel": "Master",
"PointsRequiredForNextLevel": 200,
"CurrentLevelNum": 2,
"TotalLevels": 3,
"DegredationInterval": 0,
"DegredationAmount": 0,
"Modified": "2013-07-31T20:32:35.4258475Z",
"Enabled": true,
"Deleted": false,
"UserDisabled": false,
"UserDeleted": false,
"Publishable": true
}
],
"UserLeaderboards": [],
"TeamLeaderboards": [],
"RewardPoints": 0
}
]
}
],
"Favorites": [],
"FeedItems": [
{
"AppID": 40,
"AppDomainID": 59,
"ObjectType": "Badge",
"ObjectID": "99",
"DeltaType": "Badge_Awarded",
"Title": "Badge earned",
"Message": "You earned the Donut Grunt badge.",
"AttImage": "https://connecterstoredev.blob.core.windows.net/badges/badgeicon_99_{s|m|l}.png",
"AttMessage": "You supplied the whole village with donuts. A feast was had by all !",
"TimeStamp": "2013-08-21T13:44:36.9099449"
},
{
"AppID": 40,
"AppDomainID": 59,
"ObjectType": "Skill",
"ObjectID": "37",
"DeltaType": "Skill_Added",
"Title": "Skill acquired",
"Message": "You've acquired the Cooking skill! Your level is Beginner.",
"AttImage": "",
"AttMessage": "",
"TimeStamp": "2013-08-20T13:09:36.0048855"
},
{
"AppID": 40,
"AppDomainID": 59,
"ObjectType": "Skill",
"ObjectID": "37",
"DeltaType": "Skill_Removed",
"Title": "Skill removed",
"Message": "Your Cooking skill has been removed.",
"AttImage": "",
"AttMessage": "",
"TimeStamp": "2013-08-19T17:20:55.9722936"
},
{
"AppID": 40,
"AppDomainID": 59,
"ObjectType": "Skill",
"ObjectID": "37",
"DeltaType": "Skill_Added",
"Title": "Skill acquired",
"Message": "You've acquired the Cooking skill! Your level is Beginner.",
"AttImage": "",
"AttMessage": "",
"TimeStamp": "2013-08-19T17:20:47.5506336"
},
{
"AppID": 40,
"AppDomainID": 59,
"ObjectType": "Skill",
"ObjectID": "37",
"DeltaType": "Skill_Removed",
"Title": "Skill removed",
"Message": "Your Cooking skill has been removed.",
"AttImage": "",
"AttMessage": "",
"TimeStamp": "2013-08-19T17:20:27.5099916"
},
{
"AppID": 40,
"AppDomainID": 59,
"ObjectType": "Skill",
"ObjectID": "37",
"DeltaType": "Skill_Added",
"Title": "Skill acquired",
"Message": "You've acquired the Cooking skill! Your level is Beginner.",
"AttImage": "",
"AttMessage": "",
"TimeStamp": "2013-08-19T17:19:56.3755381"
},
{
"AppID": 40,
"AppDomainID": 59,
"ObjectType": "Skill",
"ObjectID": "37",
"DeltaType": "Skill_Removed",
"Title": "Skill removed",
"Message": "Your Cooking skill has been removed.",
"AttImage": "",
"AttMessage": "",
"TimeStamp": "2013-08-19T16:58:20.4253429"
},
{
"AppID": 40,
"AppDomainID": 59,
"ObjectType": "Skill",
"ObjectID": "37",
"DeltaType": "Skill_Added",
"Title": "Skill acquired",
"Message": "You've acquired the Cooking skill! Your level is Beginner.",
"AttImage": "",
"AttMessage": "",
"TimeStamp": "2013-08-19T16:58:01.2852605"
},
{
"AppID": 40,
"AppDomainID": 59,
"ObjectType": "Skill",
"ObjectID": "37",
"DeltaType": "Skill_Removed",
"Title": "Skill removed",
"Message": "Your Cooking skill has been removed.",
"AttImage": "",
"AttMessage": "",
"TimeStamp": "2013-08-19T16:54:55.8922224"
}
],
"Links": [
{
"LinkType": "linkedin",
"LinkURL": "http://www.linkedin.com/in/davidjenness/"
}
],
"Accolades": [],
"Settings": [],
"Version": 635126952587098282,
"VersionApps": 635121087215174449,
"VersionAppDomains": 635123013179790405,
"VersionProfile": 635126894873000974,
"VersionAccolades": 635126876489054773,
"VersionBadges": 635126894873000974,
"VersionCerts": 635125182660204931,
"VersionLeaderboards": 0,
"VersionSkills": 635126009836777025,
"VersionRewards": 635123013179790405,
"VersionFeed": 635126894873000974,
"Result": true,
"ResultTitle": "",
"ResultMessage": ""
}
|
Use |
Runtime |
Method |
HTTP GET |
Invites User |
No |
Billable |
No |
Response |
JSON,XML |
API Version |
1 |
|