Get a list of users with upcoming birthdays and work anniversaries. Valid for Communifire version 6.0 and above.
&OnlyBirthdays=x - Used in the request URL as a query parameter
&SpaceID=x - Used in the request URL as a query parameter
&NumberOfDays=x - Used in the request URL as a query parameter
GET https://myintranet.communifire.com/api/users/celebrations
Users JSON object is returned as ResponseData.
{ "IsError": false, "ResponseMessage": "", "ResponseData": [ { "AvatarImageURL": "https://myintranet.communifire.com/Assets/Uploaded-Photos/549/3b01f586-c0a9-4bd7-9529-8079f43f6678.png", "AvatarPath": "549/3b01f586-c0a9-4bd7-9529-8079f43f6678.png", "BlogID": 0, "DOB": "1985-03-30T00:00:00", "DateFormat": "M/d/yyyy", "DateJoined": "2017-10-31T05:43:19.347", "DateLastVisited": "2017-10-31T05:43:19.347", "Email": "user1265@axerosolutions.com", "EmailRecieve": 3, "SpaceDigestOption": 1, "FirstName": "Judy", "Gender": 0, "IP": "", "InvitationID": 0, "IsActivated": true, "IsAnonymous": false, "IsUserLocked": false, "IsBanned": false, "IsConfirmed": false, "IsContactInfoVisible": true, "IsFeatured": false, "IsIsolated": false, "IsProfileCompleted": false, "IsOptInPromotionalEmails": false, "IsPasswordEncrypted": true, "IsProfilePublic": true, "LastName": "Jones", "MediaServerID": 0, "MembershipStatus": 0, "MetaDescription": "{{USER_NAME}} is on {{COMMUNITY_NAME}}. Join {{COMMUNITY_NAME}} to connect with {{USER_NAME}}", "MetaKeywords": "user1265, ", "MetaTitle": "{{USER_NAME}} | {{COMMUNITY_NAME}}", "NumBlogPosts": 0, "NumPosts": 0, "Occupation": "Financial Analyst", "PMNotification": false, "Points": 0, "ProfilePhoto": "549/6f5d818a-dd4a-4e38-b4a4-9c74e90b1112.png", "ProfileURL": "https://myintranet.communifire.com/people/user1265", "OnlineChatStatus": 1, "RankID": 1, "RankImage": "rank-lurker.gif", "RankName": "Lurker", "RoleID": 0, "ShowEmail": true, "TimeFormat": "h:mm tt", "TimeZoneID": "US Mountain Standard Time", "UserID": 549, "UserInfoDisplayName": "Judy Jones", "UserName": "user1265", "HasJoinedViaThirdPartyLogin": false, "IsWindowsADUser": false, "LastChatActivityDate": "0001-01-01T00:00:00", "UserPresenceStatus": 3, "IsBirthday": true, "Years": 34, "YearsString": "34 years served", "NextAnniversary": "2019-03-30T00:00:00", "NextAnniversaryString": "3/30", "IsPasswordHashed": false, "InOrgChart": false, "ConnectionStatus": 0, "CanChat": false, "TenantID": 0 }, { "AvatarImageURL": "https://myintranet.communifire.com/Assets/Uploaded-Photos/613/6e0659eb-4eb8-47f6-950f-4a146dc0b73c.png", "AvatarPath": "613/6e0659eb-4eb8-47f6-950f-4a146dc0b73c.png", "BlogID": 0, "DOB": "1977-04-10T00:00:00", "DateFormat": "M/d/yyyy", "DateJoined": "2017-10-31T05:45:09.927", "DateLastVisited": "2017-10-31T05:45:09.927", "Email": "user1329@axerosolutions.com", "EmailRecieve": 3, "SpaceDigestOption": 1, "FirstName": "Leisa", "Gender": 0, "IP": "", "InvitationID": 0, "IsActivated": true, "IsAnonymous": false, "IsUserLocked": false, "IsBanned": false, "IsConfirmed": false, "IsContactInfoVisible": true, "IsFeatured": false, "IsIsolated": false, "IsProfileCompleted": false, "IsOptInPromotionalEmails": false, "IsPasswordEncrypted": true, "IsProfilePublic": true, "LastName": "Black", "MediaServerID": 0, "MembershipStatus": 0, "MetaDescription": "{{USER_NAME}} is on {{COMMUNITY_NAME}}. Join {{COMMUNITY_NAME}} to connect with {{USER_NAME}}", "MetaKeywords": "user1329, ", "MetaTitle": "{{USER_NAME}} | {{COMMUNITY_NAME}}", "NumBlogPosts": 0, "NumPosts": 0, "Occupation": "Sales Representative", "PMNotification": false, "Points": 0, "ProfilePhoto": "613/1116832c-706c-4af5-b057-39a347b13386.png", "ProfileURL": "https://myintranet.communifire.com/people/user1329", "OnlineChatStatus": 1, "RankID": 1, "RankImage": "rank-lurker.gif", "RankName": "Lurker", "RoleID": 0, "ShowEmail": true, "TimeFormat": "h:mm tt", "TimeZoneID": "US Mountain Standard Time", "UserID": 613, "UserInfoDisplayName": "Leisa Black", "UserName": "user1329", "HasJoinedViaThirdPartyLogin": false, "IsWindowsADUser": false, "LastChatActivityDate": "0001-01-01T00:00:00", "UserPresenceStatus": 3, "IsBirthday": true, "Years": 42, "YearsString": "42 years served", "NextAnniversary": "2019-04-10T00:00:00", "NextAnniversaryString": "4/10", "IsPasswordHashed": false, "InOrgChart": false, "ConnectionStatus": 0, "CanChat": false, "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/32119/rest-api-get-upcoming-birthdays-and-work-anniversaries?locale=en-US%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f1%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253fact%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253d1%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253fSpaceID%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253d5
Your session has expired. You are being logged out.