Forum Stats

  • 3,677,937 Users
  • 7,897 Discussions
  • 13,001 Comments

Discussions

Eloqua REST API - External Activities Depth=Complete Parameter Doesn't Pull All Attributes

njordan4
njordan4 Posts: 1
edited Jul 17, 2019 7:22PM in Developer Tools

Hi Oracle Community,

I am attempting to pull External Activities by their ID from the Eloqua 2.0 REST API endpoint. The following link will bring you to the documentation I am following: https://docs.oracle.com/cloud/latest/marketingcs_gs/OMCAC/op-api-rest-2.0-data-activity-id-get.html

I see the schema containing the following attributes:

Body (ExternalActivities)

Type: objectTitle: ExternalActivities

However when I make the following GET request: https://secure.p01.eloqua.com/api/REST/2.0/data/activity/34?depth=complete

I am returned a status 200 with the following attributes:

{

    "type": "ExternalActivities",

    "id": "34",

    "depth": "complete",

    "name": "EA_Name",

    "activityDate": "1395115200",

    "activityType": "Downloaded PDF",

    "assetName": "Asset_Name",

    "assetType": "Asset Syndication Program",

    "campaignId": 351,

    "contactId": 164129

}

I need to pull the following attributes which are not being returned: accessedAt, createdAt, createdBy, currentStatus, description, updatedAt, updatedBy.

Should these attributes not be returned with the depth=complete parameter or am I missing something?

Thanks!

Post edited by Unknown User on
Tagged:

Answers

  • Lou Patrick
    Lou Patrick Posts: 192 Gold Badge
    edited Jul 17, 2019 7:22PM

    If attributes listed are not returned at complete depth they either do not have value or are not used by the endpoint.

    We are working to remove the attributes that are not used by the endpoint from the documentation in the future.