Adding fields to the custom objects You can add fields that are not part of fields API to the custom objects. Perform the following steps to add the fields:
1 Edit the Eloqua Bulk connection.
2 In the Activities or Custom fields Configuration connection attribute, add the following JSON element to the JSON template available in the connection attribute:
"CustomObjects" :{ "CO_CustomObject1": ["MappedEntityId","UniqueId"], "CO_CustomObject2": ["MappedEntityId","UniqueId"] }
where CO_CustomObject1 and CO_CustomObject2 are the names of custom objects and MappedEntityId and UniqueId are the fields.
3 Now add the following field details to the JSON template:
These are the details of the fields that you defined in the CustomObjects element added in the previous step.
"CustomItem": [ { "name": "MappedEntityId", "internalName": "MappedEntityId", "dataType": "integer", "hasReadOnlyConstraint": true, "hasNotNullConstraint": false, "hasUniquenessConstraint": true, "statement": "{{CustomObject[id].MappedEntityId}}" }, { "name": "UniqueId", "internalName": "UniqueId", "dataType": "integer", "hasReadOnlyConstraint": true, "hasNotNullConstraint": false, "hasUniquenessConstraint": true, "statement": "{{CustomObject[id].UniqueId}}" } ]
After adding the above details, confirm that the JSON structure is valid.
4 Click Test Connection .
5 Click Save .