Developers

User Profile

Information about a Brainstorm user can be retrieved from this API endpoint. Contact information as well as the user's skills and interests can be returned, provided that the user has this information populated in Brainstorm.

Required Query parameters

  • email - should be set to the email address of the user you want to get profile information about. Neglecting this parameter in your request will result in a 406 response code.

GET: /api/people/details?email=[email address of user]

This API endpoint will respond with the recent events the user has, as well as more detailed information such as the number of page views, tags, comments, skills, and interests.

Sample Responses

<Person xmlns="http://brainstorm.intuit.com" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <Id>11362</Id>
  <DisplayName>Bryant Chou</DisplayName>
  <EmailWork>Bryant_Chou@intuit.com</EmailWork>
  <Location/>
  <Phone>650-944-3796</Phone>
  <PhotoExists>true</PhotoExists>
  <PhotoUrl_36x36>/Files/Tenant_1/DirPhotos/Small/11362_3.jpg</PhotoUrl_36x36>
  <Comments>104</Comments>
  <InterestedIn xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <a:string>java</a:string>
    <a:string>wheee!</a:string>
    <a:string>10:51 am</a:string>
  </InterestedIn>
  <PageViews>123</PageViews>
  <RecentEvents>
    <Event>
      <Action>Create</Action>
      <Date>Sat, 13 Aug 2011 00:38:17 GMT</Date>
      <EventTypeName>CommentEvent</EventTypeName>
      <FriendlyDate>4 days ago</FriendlyDate>
      <Idea>
        <Id>4479</Id>
        <AvgRatingRounded>0</AvgRatingRounded>
        <BusinessUnitName>Consumer: Personal Finance</BusinessUnitName>
        <PunchLine>API Test idea</PunchLine>
        <ScoreRecent>4.31</ScoreRecent>
        <StatusName>Just an idea, not working on it</StatusName>
        <SubmittedOn>2011-08-12T17:38:16</SubmittedOn>
        <SubmitterName>Bryant Chou</SubmitterName>
      </Idea>
      <Subject>Idea</Subject>
      <Summary>Bryant Chou commented on idea API Test idea</Summary>
      <User>
        <Id>11362</Id>
        <DisplayName>Bryant Chou</DisplayName>
        <EmailWork>Bryant_Chou@intuit.com</EmailWork>
        <Location/>
        <Phone>650-944-3796</Phone>
        <PhotoExists>true</PhotoExists>
        <PhotoUrl_36x36>http://localhost.localhost/Files/Tenant_1/DirPhotos/Small/11362_3.jpg</PhotoUrl_36x36>
      </User>
    </Event>
  </RecentEvents>
  <ScoreRecent>150.52</ScoreRecent>
  <SkilledAt xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <a:string>mobile</a:string>
    <a:string>java</a:string>
    <a:string>solr</a:string>
    <a:string>facebooking</a:string>
  </SkilledAt>
  <Tags>165</Tags>
</Person>
            
{
  "Id":11362,
  "DisplayName":"Bryant Chou",
  "EmailWork":"Bryant_Chou@intuit.com",
  "Location":"",
  "Phone":"650-944-3796",
  "PhotoExists":true,
  "PhotoUrl_36x36":"\/Files\/Tenant_1\/DirPhotos\/Small\/11362_3.jpg",
  "Comments":104,
  "InterestedIn":[
    "java",
    "wheee!",
    "10:51 am"
  ],
  "PageViews":123,
  "RecentEvents":[
    {
      "Action":"Create",
      "Date":"Sat, 13 Aug 2011 00:38:17 GMT",
      "EventTypeName":"CommentEvent",
      "FriendlyDate":"4 days ago",
      "Idea":{
        "Id":4479,
        "AvgRatingRounded":0,
        "BusinessUnitName":"Consumer: Personal Finance",
        "PunchLine":"API Test idea",
        "ScoreRecent":4.31,
        "StatusName":"Just an idea, not working on it",
        "SubmittedOn":"\/Date(1313195896000-0700)\/",
        "SubmitterName":"Bryant Chou"
      },
      "Subject":"Idea",
      "Summary":"Bryant Chou commented on idea API Test idea",
      "User":{
        "Id":11362,
        "DisplayName":"Bryant Chou",
        "EmailWork":"Bryant_Chou@intuit.com",
        "Location":"",
        "Phone":"650-944-3796",
        "PhotoExists":true,
        "PhotoUrl_36x36":"http:\/\/localhost.localhost\/Files\/Tenant_1\/DirPhotos\/Small\/11362_3.jpg"
      }
    },
    {
      "Action":"Create",
      "Date":"Sat, 13 Aug 2011 00:38:16 GMT",
      "EventTypeName":"ProfileEvent",
      "FriendlyDate":"4 days ago",
      "Idea":{
        "Id":4479,
        "AvgRatingRounded":0,
        "BusinessUnitName":"Consumer: Personal Finance",
        "PunchLine":"API Test idea",
        "ScoreRecent":4.31,
        "StatusName":"Just an idea, not working on it",
        "SubmittedOn":"\/Date(1313195896000-0700)\/",
        "SubmitterName":"Bryant Chou"
      },
      "Subject":"Idea",
      "Summary":"Bryant Chou submitted idea API Test idea",
      "User":{
        "Id":11362,
        "DisplayName":"Bryant Chou",
        "EmailWork":"Bryant_Chou@intuit.com",
        "Location":"",
        "Phone":"650-944-3796",
        "PhotoExists":true,
        "PhotoUrl_36x36":"http:\/\/localhost.localhost\/Files\/Tenant_1\/DirPhotos\/Small\/11362_3.jpg"
      }
    }
  ],
  "ScoreRecent":150.52,
  "SkilledAt":[
    "mobile",
    "java",
    "solr",
    "facebooking"
  ],
  "Tags":165
}