All URIs are relative to //127.0.0.1/
Method | HTTP request | Description |
---|---|---|
content_shared_using_put | PUT /v2/customer-engagement/content/shared | Report event of a content share (/v2/customer-engagement/content/shared) |
content_viewed_using_put | PUT /v2/customer-engagement/content/viewed | Report event of a content view (/v2/customer-engagement/content/viewed) |
custom_action_using_put | PUT /v2/customer-engagement/action | Report event of a custom action (/v2/customer-engagement/action) |
BaseResponse content_shared_using_put(body)
Report event of a content share (/v2/customer-engagement/content/shared)
Push engagement events into Gong and display them as events in Gong’s activity timeline, when a Gong user shares content with external participants (for example, a contract was “shared” by the account executive with his prospects) When accessed through a Bearer token authorization method, this endpoint requires the scope 'api:engagement-data:write'.
# load the gem
require 'gong_api'
api_instance = GongAPI::EngagementInBetaPhaseApi.new
body = GongAPI::ContentSharedEvent.new # ContentSharedEvent | request
begin
#Report event of a content share (/v2/customer-engagement/content/shared)
result = api_instance.content_shared_using_put(body)
p result
rescue GongAPI::ApiError => e
puts "Exception when calling EngagementInBetaPhaseApi->content_shared_using_put: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
body | ContentSharedEvent | request |
No authorization required
- Content-Type: application/json
- Accept: /
BaseResponse content_viewed_using_put(body)
Report event of a content view (/v2/customer-engagement/content/viewed)
Push engagement events into Gong and display them as events in Gong’s activity timeline, when a content is viewed by an external participant (for example, a contract was “viewed” by the prospect) When accessed through a Bearer token authorization method, this endpoint requires the scope 'api:engagement-data:write'.
# load the gem
require 'gong_api'
api_instance = GongAPI::EngagementInBetaPhaseApi.new
body = GongAPI::ContentViewedEvent.new # ContentViewedEvent | request
begin
#Report event of a content view (/v2/customer-engagement/content/viewed)
result = api_instance.content_viewed_using_put(body)
p result
rescue GongAPI::ApiError => e
puts "Exception when calling EngagementInBetaPhaseApi->content_viewed_using_put: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
body | ContentViewedEvent | request |
No authorization required
- Content-Type: application/json
- Accept: /
BaseResponse custom_action_using_put(body)
Report event of a custom action (/v2/customer-engagement/action)
Push engagement events into Gong and display them as events in Gong’s activity timeline, when a content is engaged by an external participant (for example, a contract was “signed” by the prospect) When accessed through a Bearer token authorization method, this endpoint requires the scope 'api:engagement-data:write'.
# load the gem
require 'gong_api'
api_instance = GongAPI::EngagementInBetaPhaseApi.new
body = GongAPI::CustomActionEvent.new # CustomActionEvent | request
begin
#Report event of a custom action (/v2/customer-engagement/action)
result = api_instance.custom_action_using_put(body)
p result
rescue GongAPI::ApiError => e
puts "Exception when calling EngagementInBetaPhaseApi->custom_action_using_put: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
body | CustomActionEvent | request |
No authorization required
- Content-Type: application/json
- Accept: /