Sitefinity Insight API data types

AuthenticationServiceUserData

NameData type
IdString
EmailString
FirstNameString
LastNameString
IsRoamingBoolean
HasPasswordBoolean
ActiveBoolean
StatusString

AuthenticationServiceResponse

NameData typeDescription
access_tokenStringThe authorization token, which is needed to authenticate in Sitefinity Insight secured endpoints.
token_typeStringThe type of the authorization token. Sitefinity Insight uses and returns only bearer tokens.
expires_inStringExpiration time of the token (in seconds).
user_info

AuthenticationServiceUserData

Contact details and status of the user in the authentication service records.

AccessKeyLoginReponse

NameData typeDescription
access_tokenStringThe authorization token from the access key, which is needed to authenticate in Sitefinity Insight secured endpoints.
token_typeStringThe type of the authorization token. Sitefinity Insight uses and returns only bearer tokens.
expires_inStringExpiration time of the token (in seconds).
Access_key_info

AccessKeyInfo

Contains information about the access key.

AccessKeyInfo

NameData typeDescription
idStringThe ID of the access key.
nameStringThe name of the access key

User

NameData typeDescription
IdStringThe Id of the authorized user in Sitefinity Insight.
UserTypeStringThe type of the user in Sitefinity Insight. Can be either AccessKey or ApplicationRelyingParty.
UsernameStringThe login name of the authorized user.
EmailStringUser's email
FirstNameStringUser's first name
LastNameStringUser's last name
IsActiveInteger

0 - User has never interacted with any of the Sitefinity Insight API server endpoints or Web App.

1 – User has interacted with Sitefinity Insight.
TermsAndCondsStateInteger

The state of terms and conditions acceptance:

  • 0 – Terms and conditions are not accepted
  • 1 – Terms and conditions altered since last acceptance
  • 2 – Latest terms and conditions are accepted
ReacceptTermsIntegerFlag to show if the user needs to re-accept the updated terms and conditions.
LatestDismissedMessageIdIntegerThe identifier of last dismissed message from what's new notifications.
TermsAndCondsAccptedOnDatetimeThe date on which the latest terms and conditions were accepted.

DataCenter

NameData typeDescription
IdGuidThe primary key and unique identified of the data center.
ApiKeyGuidThe key used to identify the data center in the API calls to the Sitefinity Insight endpoints.
NameStringThe name of the data center as defined by the user who created it.
DescriptionStringТhe description of the data center as set by the user who created it.
StateInteger

Indicates the current state of the data center:

  • 1
    Scheduled for creation
  • 2
    Being Created
  • 3
    Created
  • 5
    Paused
PersonasCountIntegerThe number of personas defined in the data center.
LeadsCountIntegerThe number of lead scoring types defined in the data center.
GoalsCountIntegerThe number of goals and conversion defined in the data center
PersonalizationReportsCountIntegerThe number of personalization reports defined in the data center.
TouchpointsCountIntegerThe number of touchpoints defined in the data center
DataSourcesCountIntegerThe number of data sources reported to the data center.
CreatedByUserIdGuidThe unique identifier of the user who created the data center.
CreatedOnDatetimeThe date and time of the creation of the data center in UTC.
ContactsOperationsStatusInteger

Indicates if contact's maintenance is being executed

  • Null
    No maintenance
  • 1
    Processing
DataCenterTypeString

The type of the data center. Can be one of the following:

  • Standard
  • Demo
OperationalStatusStringIndicates the current operational status of the data center.
AverageLoadIntegerThe average unique visitors in the data center for last 30 days.
Settings

DatacenterSettings

The settings which will be used by the datacenter.
ABTestsCountIntegerThe number of A/B tests in the data center.
AccountIdGuidThe unique identifier of the Sitefinity Insight account the data center is created in.
StorageSettingsIdGuidThe unique identifier of the storage settings of the data center.

DatacenterSettings

NameData typeDescrition
IdGuidThe unique identifier of the data center.
StatisticsRecalculationHourDatetimeThe time for new statistics to be recalculated.
GoalRecalculationHourDatetimeThe time for goals to be recalculated.

Key-value pair

NameData typeRequiredDescription
KStringYesThe key of the metadata, for example, Email, Last Name, and so on.
VStringYesThe value of the metadata, for example, sample.user@progress.com, Smith, and so on.

Personalization context

NameData typeRequiredDescription
PropertiesObjectNoContains the values of all ContactProperties. Each object property contains the ID of the respective ContactProperty.
InPersonasArray of PersContextPersona objectsNoThe IDs of all personas to which a given visitor belongs.
PassedLeadsArray of PersContextLead objectsNoThe IDs of all lead scorings, where a given visitor interactions count with their levels.

Personalization context - Persona

NameData typeRequiredDescription
PersonaIdIntegerNoContains the ID of the persona to which a given visitor belongs.

Personalization context - Leads

NameData typeRequiredDescription
LeadIdIntegerNoContains the ID of the lead scoring for particular visitor.
LevelIdIntegerNoContains the passed level of given lead scoring for a given visitor.

Scoring result

NameData typeRequiredDescription
IdIntegerNoThe ID of the persona
ScoreIntegerNoThe score of the subject associated with the persona.
ThresholdIntegerNoThe threshold score a subject needs to pass to be associated with the persona.
ThresholdPassedOnDatetimeNoThe date when the subject passed the threshold.

Levels pass

NameData typeRequiredDescription
LevelIdIntegerNoThe ID of the lead scoring type that was passed.
PassedOnDatetimeNoThe date when the subject scored enough to be associated with this lead scoring type.

Levels pass v2

NameData typeRequiredDescription
LevelIdIntegerNoThe ID of the lead scoring type that was passed.
ThresholdPassedOnDatetimeNoThe date when the subject scored enough to be associated with this lead scoring type.
ThresholdIntegerNoThe number of points a subject needs to score to be associated with this lead scoring type.

Lead scoring result Data types v1

NameData typeRequiredDescription
ScoringIdIntegerNoThe ID of the lead scoring type.
ScoreIntegerNoThe points scored by the subject.
Levels

LevelsPass[]

NoArray of objects that describes each lead type the subject has passed.

Lead scoring result Data types v2

NameData typeRequiredDescription
ScoringIdIntegerNoThe ID of the lead scoring type.
ScoreIntegerNoThe points scored by the subject.
Levels

LevelsPassV2

NoArray of objects that describes each lead type the subject has passed.

Lead scoring result report

NameData typeRequiredDescription
SubjectStringNo
DataSourceStringNo
Leads

Lead scoring result Data types v1

No

AbTestStatusUpdate

NameData typeRequiredDescription
BusinessStatusStringYes

The business status of the A/B test. Supported statuses are:

  • NotStarted
  • Scheduled
  • Active
  • Stopped
  • Ended
StartDateDateNoThe start date of the A/B test. The date must be in the future.
StopDateDateNoThe stop date of the A/B test. The date must be in the future.

DeleteContactRequestStatusEnum

  • Pending
  • Confirmed
  • ProcessingOperationalData
  • OperationalDataDone
  • ProcessingRawData
  • Done
  • Failed

DeleteContactsRequest

NameData typeRequiredDescription
IdIntegerNoThe ID of the delete contact request.
TargetSubjectsJsonStringYesSerialized array of subject IDs to be deleted.
Status

DeleteContactRequestStatusEnum

NoThe status of the request.
CreatedByUserIdGuidNoThe ID of the user who created the request.
CreatedByFirstNameStringNoThe first name of the user who created the request.
CreatedByLastNameStringNoThe last name of the user who created the request.
CreatedOnDateNoThe date on which the request was created.
ModifiedOnDateNoThe date on which the request was last modified.

ExportContactsRequest

NameData typeRequiredDescription
IdIntegerNoThe ID of the export contact request.
TargetSubjectsJsonStringYesSerialized array of subject IDs to be exported.
Status

ExportContactRequestStatusEnum

NoThe status of the request.
CreatedByUserIdGuidNoThe ID of the user who created the request.
CreatedByFirstNameStringNoThe first name of the user who created the request.
CreatedByLastNameStringNoThe last name of the user who created the request.
CreatedOnDateNoThe date on which the request was created.
ModifiedOnDateNoThe date on which the request was last modified.
ExportedDataExpiresOnDateNoThe date on which the exported data will no longer be available for download.
DownloadUrlStringNoThe URL from which the exported data is to be downloaded.

ExportedContactDataBehavioralItem

NameData typeRequiredDescription
ActionStringYesThe action (predicate) performed by the visitor, for example, Visit, Download file, and so on.
ObjectStringYesThe object of the action performed by the visitor, for example, http://progress.com for an action Visit webpage.
TimestampDateTimeYesThe timestamp of the completed action.

ExportedContactDataDemographicItem

NameData typeRequiredDescription
KeyStringYesThe key of the metadata, for example, Email.
ValueStringYesThe value of the reported metadata, for example, john.smith@progress.com.

ExportedDataFormat

NameData typeRequiredDescription
SourceStringYesThe source from which data is being extracted. This is always set to Sitefinity Insight
DataExportDateInUtcStringYesThe date on which the report is generated as UTC string.
DemogrpahicData

ExportedContactDataDemographicItem[]

YesAn array containing the metadata reported for the contact.
BehavioralData

ExportedContactDataBehavioralItem[]

YesAn array containing the behavioral data reported for the contact.