HomeIntegrationsEnumerated types

Enumerated types

Look up the values Interact sends in the webhook payload fields objecttype, typefacet, actiontype and changetype.

Overview

Several webhook payload fields carry a value from a fixed list. This page is the reference for those lists.

Payload field Sent by Values
data.objecttype All three Search types
data.changetype All three Change types
data.documentdata.type SearchIndexAddUpdate, NewsfeedAddUpdate Search types
data.documentdata.typefacet SearchIndexAddUpdate, NewsfeedAddUpdate The Label column of Search types
data.documentdata.actiontype NewsfeedAddUpdate Action types

"All three" means SearchIndexAddUpdate, SearchIndexDelete and NewsfeedAddUpdate. SearchIndexDelete sends data.documentdata as null, because the item no longer exists.

Note: The PageDeleted and PageSoftDeleted webhooks carry only a pageid, so none of these lists apply to them.

Payloads always send the value — the name, as a string. The ID column gives the underlying numeric value of each type, which is what Interact stores internally; you need it only if you are matching webhook payloads against numeric type columns in Interact data.

Search types

The type of object a webhook event relates to. data.objecttype and data.documentdata.type carry the Value; data.documentdata.typefacet carries the Label — the display name for the same type.

Important: The value and the label differ for some types. An intranet page is "type": "Document" with "typefacet": "Page" — match on the value, not the label.

Value ID Label
All 0 All
Person 1 Person
Document 2 Page
ProfilePost 3 Profile Post
ProfileComment 4 Profile Comment
Team 5 Team
Event 6 Event
Forum 7 Forum
ForumDiscussion 8 Forum Discussion
ForumQuestion 9 Forum Question
ForumIdea 10 Forum Ideas Board
Blog 11 Blog
BlogPost 12 Blog Post
Company 13 Company
Location 14 Location
Group 15 Group
Department 16 Department
Workflow 17 Workflow
Site 18 Site
TopMenuSection 19 Content Area
SideMenuItem 20 Side Menu Item
TeamSection 21 Team Section
Gallery 22 Gallery
GalleryImage 23 Gallery Image
ExternalContact 24 External Contact
Category 25 Category
Calendar 26 Calendar
TeamBlog 27 Team Blog
TeamBlogPost 28 Team Blog Post
ForumIdeaList 29 Forum Ideas List
ExternalLink 30 Link
Media 31 Media
SharePointPage 32 SharePoint Page
SearchApplication 33 Search Application
ForumPost 34 Forum Post
Persona 35 Persona
TopSectionChildren 36 TopSectionChildren
WidgetContent 37 Widget Content
Geofence 38 Geofence
UnifiedSearchApplication 39 Unified Search Application
EventSeries 40 Event Series
ClassifiedAd 41 Classified Ad
ClassifiedAdComment 42 Classified Ad Comment
ApplicationLink 43 Application Link
InternalApplication 44 Internal Application
RecentActivity 45 Recent Activity
CustomFeedCardOne 90 Custom Feed Card One
CustomFeedCardTwo 91 Custom Feed Card Two
CustomFeedCardThree 92 Custom Feed Card Three
CustomFeedCardFour 93 Custom Feed Card Four
CustomFeedCardFive 94 Custom Feed Card Five
CustomFeedCardSix 95 Custom Feed Card Six
CustomFeedCardSeven 96 Custom Feed Card Seven
CustomFeedCardEight 97 Custom Feed Card Eight
CustomFeedCardNine 98 Custom Feed Card Nine
CustomFeedCardTen 99 Custom Feed Card Ten

Note: The CustomFeedCardOne to CustomFeedCardTen types (IDs 90-99) are reserved for custom feed cards. They only appear if your intranet uses them.

Action types

The action a Timeline (Newsfeed) event records, sent as data.documentdata.actiontype by the NewsfeedAddUpdate webhook. The action type says what was done; the search type in data.documentdata.type says what it was done to. For example, a reply to a post on a page is actiontype WallPostComment with type Document.

Value ID
None 0
Add 1
Update 2
Delete 3
Tag 4
Followed 5
UnFollowed 6
Rated 7
MarkedAsFavourite 8
Watched 9
ReadMandatoryRead 10
WallPost 11
WallPostComment 12
Subscribe 13
Joined 14
Story 15
GaveReward 30
RedeemedReward 31
AddedGeneric 40
AddedQuestion 41
AddedIdea 42
AddedAnswer 43
AcceptedSolution 44
AddedIdeaList 45
SearchPerformed 50
SearchPersonPerformed 51
SearchMediaPerformed 52
SearchContentPerformed 53
AddedaForm 61
CompletedAForm 62
FeedPromotion 68
SocialAdvocation 69
Endorsement 70
Approved 75
Rejected 76
AdMarkedAsSold 77
PostEdited 78
Invite 80
VoteUp 91
VoteDown 92
SharedReceptor 93
Like 100
Share 200
LikeSharedPage 300

Note: None (ID 0) means no action type was recorded for the event.

Change types

The kind of change that fired the webhook, sent as data.changetype. Each webhook sends one fixed value.

Value Sent by
AddUpdate SearchIndexAddUpdate
Delete SearchIndexDelete
NewsfeedAddUpdate NewsfeedAddUpdate
Section: Integrations