Get a list of connections of a particular user. Valid for Communifire version 5.2 and above.
GET https://myintranet.communifire.com/api/users/31/friends?IsConfirmed=true&Page=1&PageLength=10
User JSON object is returned as ResponseData. Note that some properties are removed from this sample to make it shorter.
{ "IsError":false, "ResponseMessage":"", "ResponseData":[ { "AvatarImageURL": "https://myintranet.communifire.com/Assets/Uploaded-Photos/10-b873e9f8-f062-413c-a386-cb680acdb4b5.png", "CreatedBy": 0, "Email": "bharper@communifire.com", "FirstName": "Bob", "Gender": 0, "IsActivated": false, "IsAnonymous": false, "IsAvatarApproved": false, "IsBanned": false, "IsConfirmed": true, "IsContactInfoVisible": true, "IsFeatured": false, "IsIsolated": false, "IsProfileCompleted": false, "IsOptInPromotionalEmails": false, "IsProfilePublic": true, "LastName": "Harper", "MediaServerRootURL": "https:/myintranet.communifire.com/Assets/Uploaded-Photos", "MembershipStatus": 0, "MembershipType": 0, "NumBlogPosts": 0, "NumPosts": 0, "PMNotification": false, "Points": 79, "ProfileImageURL": "https://myintranet.communifire.com/Assets/Uploaded-Photos/10-3aba367e-832a-4a44-8f19-d00c2471c45b.png", "ProfileURL": "https://myintranet.communifire.com/people/member1", "RankID": 1, "RankImage": "rank-lurker.gif", "RankImageURL": "https://myintranet.communifire.com/Assets/Uploaded-Photos/rank-lurker.gif", "RankName": "Lurky", "RequestMessage": "", "RoleID": 0, "ShowEmail": false, "SpaceID": 0, "UserID": 36, "UserInfoDisplayName": "Bob Harper", "UserName": "bharper", "HasJoinedViaThirdPartyLogin": false, "IsWindowsADUser": false, "FriendID": 0, "TenantID": 0 }, { "AvatarImageURL": "https://myintranet.communifire.com/Assets/Uploaded-Photos/10-b873e9f8-f062-413c-a386-cb680acdb4b5.png", "CreatedBy": 0, "Email": "ssmith@communifire.com", "FirstName": "Sandra", "Gender": 0, "IsActivated": false, "IsAnonymous": false, "IsAvatarApproved": false, "IsBanned": false, "IsConfirmed": true, "IsContactInfoVisible": true, "IsFeatured": false, "IsIsolated": false, "IsProfileCompleted": false, "IsOptInPromotionalEmails": false, "IsProfilePublic": true, "LastName": "Smith", "MediaServerRootURL": "https:/myintranet.communifire.com/Assets/Uploaded-Photos", "MembershipStatus": 0, "MembershipType": 0, "NumBlogPosts": 0, "NumPosts": 0, "PMNotification": false, "Points": 79, "ProfileImageURL": "https://myintranet.communifire.com/Assets/Uploaded-Photos/10-3aba367e-832a-4a44-8f19-d00c2471c45b.png", "ProfileURL": "https://myintranet.communifire.com/people/member1", "RankID": 1, "RankImage": "rank-lurker.gif", "RankImageURL": "https://myintranet.communifire.com/Assets/Uploaded-Photos/rank-lurker.gif", "RankName": "Lurky", "RequestMessage": "", "RoleID": 0, "ShowEmail": false, "SpaceID": 0, "UserID": 84, "UserInfoDisplayName": "Sandra Smith", "UserName": "ssmith", "HasJoinedViaThirdPartyLogin": false, "IsWindowsADUser": false, "FriendID": 0, "TenantID": 0 } ] }
Please Note The content type that you pass in the header of your request should be application/json.
is requesting access to a wiki that you have locked: https://my.axerosolutions.com/spaces/5/communifire-documentation/wiki/view/738/rest-api-get-connections?locale=en-US%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f1%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f1%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f1%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f1
Your session has expired. You are being logged out.