Renders an activity for API output.
{
"id": 42,
"entityType": "Activities",
"rev": "5",
"name": "Skype client",
"description": "string value",
"startTime": "2010-09-28T12:30:00+0000",
"endTime": "2010-09-28T13:30:00+0000",
"isAllDay": false,
"isFlagged": true,
"status": 1,
"logDescription": "Everything went smoothly",
"loggedBy": {
"id": 5,
"entityType": "Users",
"rev": 6
},
"deletedTime": "2010-09-28T13:30:00+0000"
"modifiedTime": "2010-04-26T15:25:10+0000",
"createdTime": "2010-04-26T15:25:10+0000",
}
For Olark web chats, there will be an additional "olark" key containing the transcript information:
"olark": {
"id": "JCBVTEIUCr2PQ3RgYLn01nvU82704778",
"visitorData": {
"city": "Ann Arbor",
"kind": "Visitor",
"countryCode": "US",
"operatingSystem": "Linux",
"ip": "24.11.193.231",
"region": "MI",
"id": "...",
"referrer": "",
"emailAddress": "operatoremail@domain.com",
"country": "United States",
"organization": "org",
"fullName": "Operator Name",
"customFields": {
"instanceId": "...",
"provisionDate": "Nov 17, 2010, 12:00 AM",
"plan": null,
"enableOlark": "1"
},
"browser": "Firefox 14.0.1"
},
"chatItems": [
{
"body": "chat body",
"timestamp": "1343330379.65",
"kind": "MessageToOperator",
"nickname": "Nick Name (nickname@domain.com)"
},
]
}