Reporting API Data Sets

This article will go over the different data sets, and the fields within them, available through our Reporting API.

To learn more about our Reporting API click here.

Data Sets Available:

ERD

Retrieving each dataset via the API

Authentication

You must authenticate the API with the bearer token generated from your client_id and client_secret. How to Create a Unique Token for Access to SalesHood Reporting APIs – SalesHood Support

Using the API to Retrieve Datasets

The API URL used to call each dataset will be:PRODUCTION: https://api.saleshood.com/api/v1/get_datasets?type={dataset_name} PREVIEW: https://api.preview.saleshood.com/api/v1/get_datasets?type={dataset_name}

In the ?type=  URL parameter, input the name of the dataset (see below).

buyer_sites

Information about each site that has been created in Buyer Site. Each record represents one Buyer Site.

FieldData TypeField Description
idintegerThe ID of this site
titlestringThe name of this site
activeintegerSite status (0=inactive, 1=active)
user_idintegerThe user ID associated with this record
company_idintegerCompany’s unique ID in Saleshood
created_atdatetimeThe date and time this site was created
view_countintegerThe number of times the site has been viewed by buyers

buyer_site_content

Information on the assets that have been shared to a buyer site. Each Each record represents one asset on one site.

FieldData TypeField Description
idintegerThe ID of this buyer site asset
titlestringThe name of this buyer site asset
user_idintegerThe user ID associated with this record
activeintegerAsset status:0 = content has been removed from the site1 = asset is currently displayed on the site
company_idintegerCompany’s unique ID in Saleshood
created_atdatetimeThe date and time the content was added to the site
updated_atdatetimeThe date and time the content on the site was updated on the site
site_idintegerThe buyer site ID associated with this record
file_idintegerThe ID of the asset in the SH Library associated with this asset on the site. This connects to the file_material dataset.If this field is null, it has been directly uploaded to the siteIf this field has a value (greater than 0), it has been synced from the library
viewed_durationintegerThe amount of time (in minutes) that buyers have spent viewing this asset on this site
view_countintegerThe number of times that an asset has been viewed by buyers on this site
download_countintegerThe number of times that an asset has been downloaded by buyers on this site

deal_review_fact (deprecated)

Information on reviews left on Deal Win exercise question types. The Deal Win exercise question type has been deprecated, so this dataset should be empty. Must be used with a dataset that includes the user name column, and joined by the reviewer coach column (user ID)

FieldData TypeField Description
idintegerThe ID of this transaction (record)
deal_review_countintegerA count of reviews left for this Deal Win.
reviewer_coachintegerthe user id of the creator/host of the huddle event.
company_idintegerYour company’s unique ID in SalesHood
created_atdatetimeThe date and time this record was created
updated_atdatetimeThe date and time this record was updated

external_event

Information on external events in Learning Paths. Must be used with a dataset that includes the Learning Path name column, and joined by the Path ID. Must be used with a dataset that includes the user name column, and joined by the host ID (user ID)

FieldData TypeField Description
idintegerThe ID of this External Event
learning_path_idintegerThe ID of the Learning Path associated with this record.
host_idintegerThe user ID associated with this record
labelstringAny labels associated with this record.
company_idintegerYour company’s unique ID in SalesHood
created_atdatetimeThe date and time this record was created
updated_atdatetimeThe date and time this record was updated

file_bookmark_map

Information on bookmarks set on files by users. Must be used with a dataset that includes the user name column, and joined by the user ID. Must be used with a dataset that includes the file name column, and joined by the file ID.

FieldData TypeField Description
file_idintegerThe unique ID of the file in SalesHood
user_idintegerThe user ID associated with this record
company_idintegerYour company’s unique ID in SalesHood
created_atdatetimeThe date and time this record was created
updated_atdatetimeThe date and time this record was updated

file_download_fact

Information on download actions made by users on files. Must be used with a dataset that includes the file name column. Relationships with other file datasets are made with the file id column.

FieldData TypeField Description
idintegerThe ID of this transaction (record)
file_number_of_downloadsintegerA count of downloads for this file.
userintegerThe user ID associated with this record
file_idintegerThe ID of this file
activity_datedatetimeThe date and time of this activity
company_idintegerYour company’s unique ID in SalesHood
created_atdatetimeThe date and time this record was created
updated_atdatetimeThe date and time this record was updated

file_material

Information on files in SalesHood. Includes the file name column for use with other file datasets.

FieldData TypeField Description
file_idintegerThe ID of this file
file_namestringThe name of this file
created_datedatetimeThe date and time this record was created
owner_idintegerThe user ID associated with this record
source_typestring 
company_idintegerYour company’s unique ID in SalesHood
category_namestring 
updated_atdatetimeThe date and time this record was updated
shufflrr_file_idintegerAn id of Shufflrr’s file which our file sync with.
file_typestring 

file_tag_map

Information on tags set by users on files. Must be used with a dataset that includes a file name column. Relationships with other file datasets are made with the file id column.

FieldData TypeField Description
file_idintegerThe ID of this file
tag_idintegerThe ID of this tag
client_idintegerYour company’s unique ID in SalesHood
company_idintegerYour company’s unique ID in SalesHood
created_atdatetimeThe date and time this record was created
updated_atdatetimeThe date and time this record was updated

file_view_fact

Information on file views. Must be used with a dataset that includes a file name column. Relationships with other file datasets are made with the file id column.

FieldData TypeField Description
idintegerThe ID of this transaction (record)
file_number_of_viewsintegerA count of views on this file
userintegerThe user ID associated with this record
file_idintegerThe ID associated with this file
activity_dateintegerThe date and time of this activity
ratingintegerRatings left for this file
view_typeintegerType of view on this file (mobile or web)
company_idintegerYour company’s unique ID in SalesHood
created_atdatetimeThe date and time this record was created
updated_atdatetimeThe date and time this record was updated

group_event

Information on Learning Paths that have been assigned to Groups. Must be used with a dataset that includes learning path name and joined by learning path id. Must be used with a dataset that includes group name and joined by group id.

FieldData TypeField Description
eventable_typestringThe type of Event to which the Group is assigned
eventable_idintegerThe ID of this transaction (record)
group_idintegerThe ID of this Group
learning_path_idintegerThe ID of the Learning Path associated with this record.
company_idintegerYour company’s unique ID in SalesHood
created_atdatetimeThe date and time this record was created
updated_atdatetimeThe date and time this record was updated

group_member

Information on users that are assigned to different groups. Must be used with a dataset that includes group name and joined by group id. Must be used with a dataset that includes user name and joined by user id (or id).

FieldData TypeField Description
group_idintegerThe ID of this Group
user_idintegerThe user ID associated with this record
company_idintegerYour company’s unique ID in SalesHood
created_atdatetimeThe date and time this record was created
updated_atdatetimeThe date and time this record was updated

group

Information on Groups. This dataset includes group name (name).

FieldData TypeField Description
idintegerThe ID of this Group
namestringThe Group’s name
descriptionstringA description of the Group
creator_idintegerThe user ID associated with this record
company_idintegerYour company’s unique ID in SalesHood
created_atdatetimeThe date and time this record was created
updated_atdatetimeThe date and time this record was updated

group_watcher

Information on users that are Watchers of Groups. Must be used with a dataset that includes group name and joined by group_id. Must be used with a dataset that includes user name and joined by user id.

FieldData TypeField Description
group_idintegerThe ID of this Group
user_idintegerThe user ID associated with this record
company_idintegerYour company’s unique ID in SalesHood
created_atdatetimeThe date and time this record was created
updated_atdatetimeThe date and time this record was updated

huddle_event

Information on all Huddles. Includes the huddle_name attribute.

FieldData TypeField Description
huddle_event_idintegerThe ID of this Huddle Event
huddle_categorystringThe Category name this Huddle is in
huddle_namestringThe name of this Huddle
huddle_published_statusbooleanHuddle published status (0=unpublished, 1=published)
learning_path_idintegerThe ID of the Learning Path associated with this record.
host_idintegerThe user ID associated with this record
huddle_due_datedatetimeThe date and time this Huddle is due
company_idintegerYour company’s unique ID in SalesHood
created_datedatetimeThe date and time this record was created
updated_atdatetimeThe date and time this record was updated
huddle_durationinteger 
huddle_use_availablebooleanThis field describe the huddle_event status0: is have delete, preview, archive, not publish.1: not delete, not preview, not archive, publish

huddle_event_learning_path

Information on Huddles in Learning Paths. Must be used with a dataset that includes huddle name and learning path name and joined by their respective id’s.

FieldData TypeField Description
huddle_event_idintegerThe ID of this Huddle Event
learning_path_idintegerThe ID of the Learning Path associated with this record.
company_idintegerYour company’s unique ID in SalesHood

huddle_event_participation_fact

Information on participation in Huddles. Must be used with a dataset that includes huddle name and user name, and be joined by their user id and huddle id.

FieldData TypeField Description
idintegerThe ID of this transaction (record)
huddle_comp_pctintegerThe user’s completion percentage for this Huddle
huddle_eventintegerThe ID of this Huddle Event
userintegerThe user ID associated with this record
completion_datedatetimeThe date and time this user completed this Huddle Event
company_idintegerYour company’s unique ID in SalesHood
created_atdatetimeThe date and time this record was created
updated_atdatetimeThe date and time this record was updated
start_datestring 
durationinteger 

huddle_scheduling_fact

Information on Huddle Events that have been Scheduled. Must be used with a dataset that includes huddle_name and be joined by their huddle id.

FieldData TypeField Description
huddle_eventintegerThe ID of this Huddle Event
huddles_scheduledintegerThe number of Huddles scheduled for this Huddle template (1 per record)
reviewer_coachintegerThe user ID associated with this record
date_scheduleddatetimeThe date and time this Huddle was scheduled
company_idintegerYour company’s unique ID in SalesHood
created_atdatetimeThe date and time this record was created
updated_atdatetimeThe date and time this record was updated

learning_path

Information on Learning Paths. This dataset includes the Path name column that can be used to pull the name field into other datasets by relating this dataset using its ID column.

FieldData TypeField Description
learning_path_idintegerThe ID of the Learning Path associated with this record.
learning_path_namestringThe name of this Learning Path
learning_path_due_datedatetimeThe date and time this Learning Path is due
session_namestringThe session (week) name (multiple lines for multiple weeks in a path)
session_idintegerThe ID of this session (week)
avg_completionintegerThe average completion of this Learning Path across all users assigned
host_idintegerThe user ID associated with this record
company_idintegerYour company’s unique ID in SalesHood
created_datedatetimeThe date and time this record was created
updated_atdatetimeThe date and time this record was updated

learning_path_participant

Available for dynamic learning path. Used to record the start date and due date of dynamic path

user_id learning_path_id company_id start_date due_date

FieldData TypeField Description
idintegerThe id of this dataset
user_idintegerThe user id associated with this record
learning_path_idintegerThe id of the learning path associated with this record (dynamic learning path only)
company_idintegerYour company’s unique ID in SalesHood
start_datedatetimeThe starting date and time assigned to the associated learning path
due_datedatetimeThe due date and time assigned to the associated learning path

learning_path_participation_fact

Information on the participation of your users that are assigned to a Learning Path. Must be used with a dataset that includes the Path name column, joined by the Path ID. Must be used with a dataset that includes the user name column, and joined by user ID.

FieldData TypeField Description
idintegerThe ID of this transaction (record)
learning_path_comp_pctintegerThe completion percentage for this user in this Learning Path
userintegerThe user ID associated with this record
learning_path_idintegerThe ID of the Learning Path associated with this record.
completion_datedatetimeThe date and time this user completed this Learning Path
company_idintegerYour company’s unique ID in SalesHood
created_atdatetimeThe date and time that the user was assigned to the Learning Path
updated_atdatetimeThe last time record is modified (update completion, adjust test/pitch/certification score)
start_datedatetime 

path_info

Information on Learning Paths. This dataset includes the Path name column that can be used to pull the name field into other datasets by relating this dataset using its ID column.

FieldData TypeField Description
idintegerThe ID of the Learning Path associated with this record.
namestringThe name of this Learning Path
host_idintegerThe user ID associated with this record
company_idintegerYour company’s unique ID in SalesHood
created_atdatetimeThe date and time this record was created
updated_atdatetimeThe date and time this record was updated

pitch

Information on OLD standalone pitches (not pitches that are part of modules, created since March 2019). Includes the pitch name column, which can be used with other old standalone pitch datasets and joined by the ID of the standalone pitch.

FieldData TypeField Description
pitch_idintegerThe ID associated with this standalone pitch
pitch_namestringThe name of this pitch
pitch_categorystringThe category name this Pitch is in
host_idintegerThe user ID associated with this record
company_idintegerYour company’s unique ID in SalesHood
created_datedatetimeThe date and time this record was created
updated_atdatetimeThe date and time this record was updated

pitch_module

Information on pitch modules that are within Huddles. Does not include old (pre-March 2019) standalone pitch information. Includes the pitch module name column which canbe used with other new pitch module datasets and joined by the ID of the Huddle event it exists in, or by the pitch module id.

FieldData TypeField Description
pitch_module_scoreintegerThe score given to this Pitch Submission
user_idintegerThe user ID associated with this record
pitch_module_idintegerThe ID of this Pitch module
learning_path_idintegerThe ID of the Learning Path associated with this record
huddle_event_idintegerThe ID of the Huddle this Pitch module is in
completion_datedatetimeThe date this Pitch was submitted
pitch_review_countintegerThe number of reviews on this Pitch
completionintegerCompletion % (100=complete, 0=incomplete)
company_idintegerYour company’s unique ID in SalesHood
created_datedatetimeThe date and time this record was created
updated_atdatetimeThe date and time this record was updated

pitch_module_fact

Participation information on Pitch Modules. Must be used with a dataset that includes the user name column, joined by the user ID. Must be used with a dataset that includes the huddle name, and/or pitch name column, and joined by the pitch or Huddle ID.

FieldData TypeField Description
pitch_module_scoreintegerThe score given to this Pitch module
user_idintegerThe user ID associated with this record
pitch_module_idintegerThe ID of the Pitch module
learning_path_idintegerThe ID of the Learning Path associated with this record.
huddle_event_idintegerThe ID of the Huddle this Pitch module is in
completion_datedatetimeThe date this Pitch was submitted
completionintegerCompletion % (100=complete, 0=incomplete)
company_idintegerYour company’s unique ID in SalesHood
created_datedatetimeThe date and time this record was created
updated_atdatetimeThe date and time this record was updated

pitch_module_review_fact

Review information on Pitch modules. Must be used with a dataset that includes the user name column, joined by the user ID. Must be used with a dataset that includes the huddle name, and/or pitch name column, and joined by the pitch or Huddle ID.

FieldData TypeField Description
pitch_module_idintegerThe ID of the Pitch module
avg_scoreintegerThe average score given to this Pitch submission across all reviews
user_idintegerThe user ID associated with this record
reviewer_idintegerThe user ID associated with this record
company_idintegerYour company’s unique ID in SalesHood
created_atdatetimeThe date and time this record was created
updated_atdatetimeThe date and time this record was updated
default_graderboolean 

pitch_participation_fact

Participation information on OLD Standalone Pitches. Must be used with a dataset that includes the user name column, joined by the user ID. Must be used with a dataset that includes the pitch name column, and joined by the pitch ID. This dataset includes OLD standalone pitch data only (not pitch modules created post-March 2019)

FieldData TypeField Description
pitch_comp_pctintegerThe completion percentage for this user in this standalone Pitch
userintegerThe user ID associated with this record
pitchintegerThe ID of the standalone Pitch
completion_datedatetimeThe date this user completed this Pitch
company_idintegerYour company’s unique ID in SalesHood
created_atdatetimeThe date and time this record was created
updated_atdatetimeThe date and time this record was updated

pitch_review_fact

Review information on OLD Standalone Pitches. Must be used with a dataset that includes the user name column, joined by the user ID. Must be used with a dataset that includes the pitch name column, and joined by the pitch ID. This dataset includes OLD standalone pitch data only (not pitch modules created post-March 2019)

FieldData TypeField Description
idintegerThe ID of this transaction (record)
pitch_review_scoreintegerThe review score given for this standalone Pitch submission
userintegerThe user ID associated with this record
pitchintegerThe ID of this standalone Pitch
reviewer_coachintegerThe user ID of the reviewer of this Pitch
company_idintegerYour company’s unique ID in SalesHood
created_atdatetimeThe date and time this record was created
updated_atdatetimeThe date and time this record was updated

pitch_scheduling_fact

Scheduling information on OLD Standalone Pitches. Must be used with a dataset that includes the user name column, joined by the user ID (reviewer_coach). Must be used with a dataset that includes the pitch name column, and joined by the pitch ID. This dataset includes OLD standalone pitch data only (not pitch modules created post-March 2019)

FieldData TypeField Description
pitches_scheduledintegerNumber of Pitches scheduled from this standalone Pitch
pitchintegerThe ID of this standalone Pitch
reviewer_coachintegerThe user ID associated with this record
company_idintegerYour company’s unique ID in SalesHood
date_scheduleddatetimeThe date and time this Pitch was scheduled
created_atdatetimeThe date and time this record was created
updated_atdatetimeThe date and time this record was updated

story_upload_fact

Information on all Stories uploaded to your instance. Must be used with a dataset that includes the user name column, joined by the user ID.

FieldData TypeField Description
idintegerThe ID of this transaction (record)
userintegerThe user ID associated with this record
story_upload_countintegerThe number of Story uploads this user has done
company_idintegerYour company’s unique ID in SalesHood
created_atdatetimeThe date and time this record was created
updated_atdatetimeThe date and time this record was updated

tag

Information on all Tags in SalesHood.

FieldData TypeField Description
tag_idintegerThe ID of the tag
tag_namestringThe name of the tag
company_idintegerYour company’s unique ID in SalesHood
created_atdatetimeThe date and time this record was created
updated_atdatetimeThe date and time this record was updated

test_result_fact

Information on Test module participation. Must be used with a dataset that includes the user name column, joined by the user ID. Must be used with a dataset that includes Learning Path or Huddle name, joined by Path or Huddle ID.

FieldData TypeField Description
test_scoreintegerTest Score for this user
test_passed_countintegerNumber of tests passed (0=fail, 1=pass)
userintegerThe user ID associated with this record
testintegerThe ID of this transaction (record)
huddle_eventintegerThe ID of the Huddle Event this Test is in
completion_datedatetimeThe date and time this Test was completed
number_of_attemptsintegerThe number of attempts this user took on this Test
company_idintegerYour company’s unique ID in SalesHood
created_atdatetimeThe date and time this record was created
updated_atdatetimeThe date and time this record was updated

test

Information on Tests in SalesHood. This dataset includes the test name column.

FieldData TypeField Description
test_idintegerThe ID of this transaction (record)
test_namestringThe name of the Test
company_idintegerYour company’s unique ID in SalesHood
created_atdatetimeThe date and time this record was created
updated_atdatetimeThe date and time this record was updated

user_activity_fact

Information on all activities by users in Huddle Events. Must be used with a dataset that includes the Huddle name column, and joined by the Huddle ID. Must be used with a dataset that includes the user name column, joined by the user ID.

FieldData TypeField Description
idintegerThe ID of this transaction (record)
activity_countintegerThe number of Activities (each record = 1)
user_idintegerThe user ID associated with this record
huddle_eventintegerThe ID of the Huddle this Activity was in
activity_datedatetimeThe date and time of this activity
company_idintegerYour company’s unique ID in SalesHood
created_atdatetimeThe date and time this record was created
updated_atdatetimeThe date and time this record was updated

user_session

Information on user participation by Session (Week) of a Learning Path. Must be used with a dataset that includes the user name column, joined by the user ID. Must be used with a dataset that includes the Learning Path name and joined by the Path ID.

FieldData TypeField Description
idintegerThe ID of this transaction (record)
learning_path_idintegerThe ID of the Learning Path associated with this record.
session_idintegerThe ID of the Session (Week) in the Learning Path
user_idintegerThe user ID associated with this record
completionintegerThe completion percentage out of 100 for this user in this Week
company_idintegerYour company’s unique ID in SalesHood
created_atdatetimeThe date and time this record was created
updated_atdatetimeThe date and time this record was updated

user

User directory information of all users in your instance. This dataset includes the user name column.

FieldData TypeField Description
user_idintegerThe user ID associated with this record
user_namestringFirst and last name
user_segmentstringThe user’s current segment.
user_teamstringThe first Team a user has been added to
user_managerstringThe user’s primary manager’s name
user_rolestringThe user’s SalesHood role (Individual, Manager, Publisher, Coach)
last_login_datedatetimeLast date/time the user logged in to SalesHood
login_countintegerThe number of times the user logged in to SalesHood
login_timeintegerTotal number of minutes the user has spent logged in to SalesHood
user_emailstringThe user’s email address
company_idintegerYour company’s unique ID in SalesHood
created_datedatetimeThe date and time this record was created
updated_atdatetimeThe date and time this record was updated

video_watching_fact

User records containing number of minutes of video watched. Must be used with a dataset that includes the user name column, joined by the user ID.

FieldData TypeField Description
idintegerThe ID of this transaction (record)
video_watching_timeintegerTotal number of minutes the user spent watching video
userintegerThe user ID associated with this record
activity_datedatetimeDate/time the video watching participation occurred
company_idintegerYour company’s unique ID in SalesHood
created_atdatetimeThe date and time this record was created
updated_atdatetimeThe date and time this record was updated
video_namestringThe name of this video record

badge

Badge dataset including all of active or inactive badge inside instance.

FieldData TypeField Description
idintegerThe ID of badge
titlestringTitle of badge
descriptionstringThe description of badge
activeboolean0 == inactive1 == active
company_idintegerYour company’s unique ID in SalesHood
created_atdatetimeThe date and time this record was created
externalstring 

user_badge

This dataset is a bridge for mapping awarded badge with users.

FieldData TypeField Description
user_idintegerThe ID of user
badge_idintegerThe ID of badge
company_idintegerYour company’s unique ID in SalesHood
completed_atdatetimeThe date user received the badge
expiration_datedatetimeThe date user badge will expire
expiredboolean0 == not expired1 == user badge expired

live_event

FieldData TypeField Description
idintegerThe ID of live_event
namestringThe name of live_event
company_idintegerYour company’s unique ID in SalesHood
huddle_event_idintegerThe huddle event ID have this live event
event_datedatetimeThe date start live event
start_timestringThe time start live event
end_timestringThe time end live event
event_urlstringThe live event link

live_event_attendees

FieldData TypeField Description
idintegerThe ID of live event attendees
live_event_idintegerThe ID of live event
user_idintegerThe ID of user
company_idintegerYour company’s unique ID in SalesHood

badge_criteria

FieldData TypeField Description
idintegerThe ID of badge criteria
badge_idintegerThe ID of badge
program_namestringThe name of the badge criteria
company_idintegerYour company’s unique ID in SalesHood

pitch_submission_view

FieldData TypeField Description
idintegerThe ID of pitch submission view
user_idintegerThe ID of user
event_pitch_idintegerThe ID of event pitch
company_idintegerYour company’s unique ID in SalesHood
total_viewsintegerThe total view of pitch

huddle_event_learning_path_file

FieldData TypeField Description
idstringThe ID of huddle_event_learning_path_file
file_idintegerThe ID of file_material
huddle_event_idintegerThe ID of huddle_event have the file_id
learning_path_idintegerThe id of learing_path have the file_id
company_idintegerYour company’s unique ID in SalesHood

Was this article helpful?

Related Articles

Leave A Comment?

You must be logged in to post a comment.