colemanja91 / pyeloqua

NOTICE: I have not worked in Eloqua in years, and many parts of this package are likely out-of-date. Please feel free to fork and continue the work for the community (if you still have to work with Eloqua, you have my condolences). Python wrapper functions for Eloqua APIs
Other
22 stars 13 forks source link

Bulk import not accounting for identifierFieldName in import def #40

Open jnorton2 opened 6 years ago

jnorton2 commented 6 years ago

We need identifierFieldName in the import definition. bulk.py create_def() should account for this. This could be done with an extra variable in the create_def() method.

API Reference : https://docs.oracle.com/cloud/latest/marketingcs_gs/OMCAC/op-api-bulk-2.0-customObjects-%7BparentId%7D-imports-post.html

jnorton2 commented 6 years ago

You can get the same result by requiring the options to be set using the add_option(). However, it is required in every import.