{"action":"created","issue":{"url":"https://api.github.com/repos/jsforce/jsforce/issues/491","repository_url":"https://api.github.com/repos/jsforce/jsforce","labels_url":"https://api.github.com/repos/jsforce/jsforce/issues/491/labels{/name}","comments_url":"https://api.github.com/repos/jsforce/jsforce/issues/491/comments","events_url":"https://api.github.com/repos/jsforce/jsforce/issues/491/events","html_url":"https://github.com/jsforce/jsforce/issues/491","id":160303479,"number":491,"title":"Can we update activity history of a lead/contact through API ?","user":{"login":"vivinRajagopalan","id":7349694,"avatar_url":"https://avatars.githubusercontent.com/u/7349694?v=3","gravatar_id":"","url":"https://api.github.com/users/vivinRajagopalan","html_url":"https://github.com/vivinRajagopalan","followers_url":"https://api.github.com/users/vivinRajagopalan/followers","following_url":"https://api.github.com/users/vivinRajagopalan/following{/other_user}","gists_url":"https://api.github.com/users/vivinRajagopalan/gists{/gist_id}","starred_url":"https://api.github.com/users/vivinRajagopalan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vivinRajagopalan/subscriptions","organizations_url":"https://api.github.com/users/vivinRajagopalan/orgs","repos_url":"https://api.github.com/users/vivinRajagopalan/repos","events_url":"https://api.github.com/users/vivinRajagopalan/events{/privacy}","received_events_url":"https://api.github.com/users/vivinRajagopalan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jsforce/jsforce/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-14T22:57:57Z","updated_at":"2016-10-20T00:04:55Z","closed_at":null,"body":"Hi Stomita,\r\n\r\nI would love to know whether JSFORCE lets us to update the Activity history of a particular lead/contact and if so what is the necessary function call that i need to make ?\r\n\r\nThanks in advance !\r\n@stomita "},"comment":{"url":"https://api.github.com/repos/jsforce/jsforce/issues/comments/254975044","html_url":"https://github.com/jsforce/jsforce/issues/491#issuecomment-254975044","issue_url":"https://api.github.com/repos/jsforce/jsforce/issues/491","id":254975044,"user":{"login":"thataustin","id":609078,"avatar_url":"https://avatars.githubusercontent.com/u/609078?v=3","gravatar_id":"","url":"https://api.github.com/users/thataustin","html_url":"https://github.com/thataustin","followers_url":"https://api.github.com/users/thataustin/followers","following_url":"https://api.github.com/users/thataustin/following{/other_user}","gists_url":"https://api.github.com/users/thataustin/gists{/gist_id}","starred_url":"https://api.github.com/users/thataustin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thataustin/subscriptions","organizations_url":"https://api.github.com/users/thataustin/orgs","repos_url":"https://api.github.com/users/thataustin/repos","events_url":"https://api.github.com/users/thataustin/events{/privacy}","received_events_url":"https://api.github.com/users/thataustin/received_events","type":"User","site_admin":false},"created_at":"2016-10-20T00:04:55Z","updated_at":"2016-10-20T00:04:55Z","body":"I believe you can do so by creating a Task object with a `WhoId` or `WhatId` that represents the object you want to connect it to.  For example, create a Task record with a WhoId that is a contact id if you'd like the Task to show up in the Activity History for that contact. "}}
{"actor":{"display_login":"thataustin"}}