Example notification for Interactive Question. Please note that not all fields could apply to a user. For fields that do not have data, an empty value will be returned in the JSON object.
Event Type: interactive_question
{
"event":"interactive_question",
"data":{
"LocationID":12345,
"QuestionID":54321,
"AnswerText":"The Twilight Zone",
"LocationName":"Test Location",
"Phone2":"702-555-1234",
"CourseName":"Test Course",
"Phone1":"702-555-4321",
"Answer":"D",
"ChapterName":"Test Chapter",
"ChapterID":1234,
"FirstName":"firstname",
"teamId":42,
"team":"Test team",
"SystemID":"1234",
"Result":"correct",
"UserAccessLevel":10,
"QuestionText":"What's your favorite tv show?",
"CourseID":"1234",
"SystemName":"Test system",
"Email":"usersemail@lightspeedvt.com",
"Username ":"testUser",
"LastName":"lastname",
"UserID":4321
},
"timeTriggered":"4/16/2019 1:13 PM"
}
Messages
PROPERTIES | VALUES – INFORMATION |
LocationID | Integer – The id of the location which the user belongs to |
QuestionID | String – ID of the interactive question |
AnswerText | String – The answer’s text |
LocationName | String – The name of the location that the user belongs to |
Phone2 | String – The second phone number of the user |
CourseName | String – The name of the course |
Phone1 | String – Phone number for user |
Answer | String – The answer chosen by the user |
ChapterName | String – The name of the chapter that is associated with the interactive question |
ChapterID | Integer – The id of the chapter |
FirstName | String – The first name of the user |
teamId | Integer – The id of the team, if any, that the user belongs to |
team | String – The name of the team, if any, that the user belongs to |
SystemID | Integer – The id of the system |
Result | String – The result of the user’s answer |
UserAccessLevel | Integer – The user’s access level |
QuestionText | String – The question converted to text format |
CourseID | Integer – The id of the course that is associated with the interactive question |
SystemName | String – The name of the system |
String – The user’s email | |
Username | String – The user’s username |
LastName | String – The user’s last name |
UserID | Integer – The user’s id |