Forum Stats

  • 3,751,008 Users
  • 2,250,296 Discussions
  • 7,867,248 Comments

Discussions

Eloqua API - Trouble with Create External Activity

We are not Eloqua experts and we are trying to 'integrate' key activities of our online registration system using the External Asset, External Activities framework. We have created an External Asset Type (let's say Tradeshow) that has four External Activity Types (Invited, Registered, Declined and Cancelled). We have been able to upload a spreadsheet which successfully attributes External Activities to Contacts within a Campaign. We are now trying to use the API 2.0 to create an External Activity for a Contact. We have submitted what seems to be a properly formatted request and receive what appears to be a properly formatted response. However, the External Activity is not apparent on the specified Contact within Eloqua. Any ideas? Has anyone had similar difficulty with the API method?

POST /api/REST/2.0/data/activity

Tagged:

Best Answer

  • User_30RJ5
    User_30RJ5 Member Posts: 2
    Accepted Answer

    OK we solved it with the help of a smart guy at Oracle. Because the documentation indicates Date as optional, and does not include it in their example, we had assumed it would adopt the date timestamp of the request submission. This assumption was wrong. For External Activities related to a Contact the Date is required. It should be in epoch/UNIX format. Once we added the date in this format the External Activity was recorded against the Contact. Our contact indicated they would update the documentation.

    Lou Patrick

Answers

  • User_30RJ5
    User_30RJ5 Member Posts: 2
    Accepted Answer

    OK we solved it with the help of a smart guy at Oracle. Because the documentation indicates Date as optional, and does not include it in their example, we had assumed it would adopt the date timestamp of the request submission. This assumption was wrong. For External Activities related to a Contact the Date is required. It should be in epoch/UNIX format. Once we added the date in this format the External Activity was recorded against the Contact. Our contact indicated they would update the documentation.

    Lou Patrick