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

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: object
Title: ExternalActivities
- accessedAt(optional): string
- activityDate(optional): string
- activityType(optional): string
- assetName(optional): string
- assetType(optional): string
- campaignId(optional): integer
- contactId(optional): integer
- createdAt(optional): string
- createdBy(optional): string
- currentStatus(optional): string
- depth(optional): string
- description(optional): string
- fieldValues(optional): array fieldValues
- folderId(optional): string
- id(optional): string
- name(optional): string
- permissions(optional): array permissions
- scheduledFor(optional): string
- sourceTemplateId(optional): string
- type(optional): string
- updatedAt(optional): string
- updatedBy(optional): string
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!
Answers
-
Lou Patrick Principal Product Manager, Eloqua APIs & App Developer Framework Portland, ORPosts: 174 Bronze Trophy
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.