How to upgrade the email address of contact via API?

Hello

I am trying to add our automatic email contact Eloqua update CRM functionality, since they change in the CRM. I was not able to find examples of code update contact, except for here:

http://www.Scribd.com/doc/96110821/EloquaWebServicesAPI1-2DeveloperGuide#outer_page_36

However, I have 3 questions:

' 1. my implementation (see the Java code below) returns this error: ' < UnexpectedErrorFault xmlns = "https://secure.eloqua.com/API/1.2" xmlns:i ="http://www.w3.org/2001/XMLSchema-instance" / > ". Is there a newspaper eloqua I can check what's going on?

2. how and where we specify the ID of the record, we want to update?

3. because the enamel is a unique key in Eloqua, the API will allow even an API call to change? Another post, it seemed it would be set at the level of the "dynamicEntity", but that doesn't change anything for me. In the code below you'll see - dynamicEntity.setId (523038);

Thank you.

Example code:

===================================================

Public Shared Sub main (String [] args) throws exceptions

{

# Configuration of the web service client.

Configure credentials for web service call

String company = "mycompany";

String username = "myUsername";

String password = "MonMotpasse";

Heel of EloquaStub = new EloquaStub ("https://secure.eloqua.com/API/1.2/Service.svc");

ServiceClient sc = stub._getServiceClient ();

Options = sc.getOptions ();

sc.engageModule ("rampart");

options.setUserName (company + "\\"+username);

options.setPassword (password);

//############################################################################

call the web service

updateContact (heel, sc);

}

public private static Sub updateContact (EloquaStub heel, sc ServiceClient) throws Exception {}

Define an object of type entity contact

EntityType contactType = new EntityType();

contactType.setID (0);

contactType.setName ("Conact");

contactType.setType ("Base");

Create an array of dynamic entities

Entities ArrayOfDynamicEntity = new ArrayOfDynamicEntity();

Create a new dynamic entity and add it to the table

DynamicEntity dynamicEntity = new DynamicEntity();

dynamicEntity.setEntityType (contactType);

dynamicEntity.setId (523038);

DynamicEntityFields fieldValueCollection = new DynamicEntityFields();

Email field

EmailField EntityFields_type0 = new EntityFields_type0();

emailField.setInternalName ("C_EmailAddress");

emailField.setValue ("[email protected]" "");

FirstName field

EntityFields_type0 firstNameField = new EntityFields_type0();

firstNameField.setInternalName ("C_FirstName");

firstNameField.setValue ("testEloqua1");

fieldValueCollection.addEntityFields (emailField);

fieldValueCollection.addEntityFields (firstNameField);

dynamicEntity.setFieldValueCollection (fieldValueCollection);

entities.addDynamicEntity (dynamicEntity);

try {}

Call the web service

Result ArrayOfUpdateResult = stub.update (entities);

System.out.println ("updateContact - done!');

}

catch (Exception ex) {}

System.out.println ("updateContact - ERROR:"+ ex.getMessage () ');

}

}

===================================================

Hello Lazar,

We have a blog which deals with this topic: Eloqua REST API - how can I update address E-mail of Contact. Please let me know if you need more information.

Hope you find it useful.

Thank you

Fred

Tags: Marketers

Similar Questions

  • How to show the email address complete in the message and other areas

    How to view the email address complete address in To, Cc and other fields?  When I type a name that the name does not appear the part @xxxx.com address.

    Hello there jimhaynes,

    Looks like you see the names of people you're emailing, instead you send your e-mail to the e-mail address. You should be able to change that behavior by disabling the option called "Smart addresses using" located in Mail > Preferences > look a.

    If it is already disabled, it switches on, then back to refresh the setting. Once you have done this, you should see the name of the person next to their email when you type one in. It should look like this example: "Kelly Westover [email protected]>.

    If you want to continue to use smart addresses, you can click on the name to reveal more information about the contact by the following article:

    Address postal (El Capitan): use smart addresses

    https://support.Apple.com/kb/PH22294?locale=en_US&viewlocale=en_US

    Thank you for using communities of Apple Support.

  • Z10 blackBerry how to display the email address where the mail I received was sent?

    Someone help please? I'm so frustrated not to see the email address where email.  If that's a touch I can pull up, but I want to see anyone / anytime with a touch of the screen, or a default view adjustment.

    All I get is a name, and I couldn't find anything in the settings of hub that has helped.

    Anyone?

    I agree, it should be easier, they could have put the email address under the name or the option of quickly... But if you drag the pop-up on the left as Jsanders mentioned, you will see the email under the name of people.

  • HP Officejet 8620: How to use the email address (ePrint) of your old HP printer for your HP printer?

    Hello

    I bought a new HP printer and I want it to use email ePrint of the HP printer, it replaced.  How can I do this?

    I have connected on HP and I saw my old printer and the new printer device.  I removed the old printer and tried to use the same email address, but he said he was caught.

    Thank you very much

    Peter

    Hello Peter,.
    I'm sorry to inform you, that this is not possible. A specific ePrint address cannot be assigned to different devices... Your old address can not be used on any other device.

    You can select a different unique email address for your new printer.

    Shlomi

  • How to find the email address of the printer HP 4500 ethernet to the eprint HP 4.1 android

    I can print from a windows PC 7 for printer 4500 g510g mobile, but I want to do the same thing on android 4.1. I loaded hp House ePrinter, but he asks to load maualy email address of the printer. I do not know how to find this address

    Yes. The HP and Biz app should work with your G510g. You'll need to make sure that she and the Android device you are using are on the same network, but it should work. You can find more information on how to use the home and Biz application below. I will also include the link to the list of printers that it works with.

    HP ePrint Mobile Apps FAQ:
    http://goo.GL/eyDO2

    Supported printers the HP ePrint Mobile App or HP ePrint home & Biz:
    http://goo.GL/sVIG8

  • How to change the email address when distributing a form

    Hey there,

    I made a form with acrobat 9 pro to insert an email address of the person wil receive the reactions made by our members. The problem is that this email address is incorrect, so I need to change that. I can't find where to change it.

    Can someone give me a clue.

    Thank you.

    Ralph mol

    I had the same problem and only found the solution after trying all the incorrect answers above.  Please people, do not assume that we all have a copy of LiveCycle. (Yes, this is the Forum of LIveCycle, but it is a question of basic shape distribution. Perhaps the discussion should be moved?)

    It is a problem that wil happen when a person creates a form distributed to someone else, as when the techie person at the office turns a paper form in a form to fill out for the administrative staff of the Ludditte.  Or when only one person in an office has a copy of Adobe Pro 9 or 10, often only because they bought the entire suite for other tasks of the job (web edition, etc.).

    Acrobat Pro assumes that the author of the form is the same person the form by e-mail when it is filled.  It's a stupid assumption, but there you go.  The form e-mail address is sent to is based on "the identity of the Acrobat Pro user".  On an Apple, you must go to Preferences, then select identity from the laundry on the left side list. Temporarily change the identity information to the person you want to have the completed forms returned to.  Once you have done so, you can go back to the original shape, step through the wizard of "Disseminating the form" and then publish or distribute this new version.

    When this is done, insist that everyone who might need to create a form in the future obtain their own personal copy of Acrobat Pro and learn how to create a form themselves. ;-)  Also, be sure to change the identity return information.

  • How to find the email address of my printer for my printer HP 4622? cc = us

    I can air print from my ipad with airprint on my printer HP 4622 but do not know the e-mail address of printers to send the mail from other places.

    I can't find the printer on the mentioned page email address and when I press the e-print on the front button, nothing happens.

  • How to find the email address on a cp1025nw

    There is no display on the printer to indicate the e-mail address for eprint

    When I type the IP address of my printer in the address bar of your web browser, I don't get the printer embedded web server

  • How to get the email address of the owner on an active BB device?

    Which API I can use to get the owner email addr. After a device BB BES is activated?

    It seems that I can't get PIN for now?

    Any suggestions appreciated

    Bill

    Thank you very much, I'll try that.

  • How to set the email address of OIMINTERNAL

    Hello

    process tasks that allows notification (in the Console Designer) to set mail to be sent to the user, the applicant or assignee.

    The applicant and the transferee are often user OIMINTERNAL so I put his mail attribute.

    I tried directly on the database (USR. USR_EMAIL) but it was not a good idea

    A better idea?

    Hello

    Do not use the user OIMINTERNAL for any kind of change or for notifications.

    Since you use OIM 11 g, then why are you using the Notification process tasks. This notification uses old models 9.x and not a good option. I will suggest best to use new models and to call on the success of your tasks.

    This will make your workflow of notifications very easy and you can get many scenarios.

    For info: http://fusionsecurity.blogspot.in/2011/07/oim-11g-notifications.html

    ~ J

  • Using a new Contact field as the key (which is not the email address)

    Hello

    We must be able to store multiple records for each Contact with the same email address.

    Is it possible to 'change' the key to email to something else?

    More specifically, the key can be changed to a new "Unique_Id" I'll add as a new field of Contact?

    In some examples of c# code, I notice that it is possible to define the 'identifierFieldName' during the import of Contact definition, which sort of implies that areas other than the e-mail address could be used as a key.

    If it is possible to create a new primary key field, the attributes that he should have and how I declare that it is the key when you perform an import of contact?

    If it is not possible, I guess I'll create a separate custom object / data card with a number to 1 relationship with the Contact record.

    Thank you

    Chris

    Hi Chris,

    I am a PM to Eloqua. We are looking at ways that we can open a little more to the top of the contact table and remove the email address of contact as a unique key. Pieces of this feature are beginning to enter the place later this year. What we will do is remove the address of e-mail as a unique ID and using the system generated ID of contact. When you import, you specify which field you want to use as criteria for filtering.

    In the short term, if that makes sense, I would recommend using custom objects and linking those to the correct contact.

  • How can I send email addresses in a list to another email address?

    I have a list of people that I keep for our fantasy football league. I want to send this list to another Member of the League without copy and paste each one address at a time. Is there a way to retrieve addresses and paste them into a new email?

    You have a mailing list in the Thunderbird AddressBook and you want to send this list to a friend.

    This friend also use Thunderbird?
    You're OK with sending complete contact information for each person on this mailing list? Address, phone, etc.?

    If so, select the list in the left pane of the address book.
    "Tools - Export".
    Name the file, and then point the Explorer of files on the desktop.
    Save in LDIF format
    Send her an e-mail and include the file as an attachment.
    Tell him to import the file into their address book.
    ---
    If Outlook, it will probably be able to import your list of Thunderbird.
    Microsoft and Mozilla do not play well together
    You can export it as a. CSV file and save it to your desktop.
    It might be able to import the file into Outlook, maybe...

    If he can't get the file in his Outlook, he can still open the file with Notepad and copy the email addresses in Contacts, one by one.

    TB - 38, Win10-PC 2

  • What are valid characters in an e-mail address? How to filter on the email addresses that use '? ' and ' * '?

    I'm doing some proactive cleaning the contacts whose e-mail address contains characters that are questionable - such as

    Unfortunately, I found that I can't create filters for addresses that contain? or * because these two characters are treated as wildcards (? is for a single wildcard character, and * is the joker of several characters).

    Someone at - it suggestions on how I can filter for a group of e-mail addresses containing one of these characters?

    Update: open a folder with support - special characters * and?  are not allowed in the domain of the email address part.  That's what is validated during creation.

    It is also not really any EASY way to get those email addresses that contain these characters - I can create filters that will shoot only so many email addresses and then filter through Excel.  This is going to be painful because I have several million in our database.  I may be able to get many of them through other criteria (lack of activity, rebounds, etc.), so I'll probably wait on them.

  • Help! How can I get the email address associated with my fixed registered products?

    The email address associated with my registered products has changed. How can I fix it?

    Contact technical support by phone or web chat.

    Mylenium

  • I have currently 2 Email addresses with Mozella, I am wanting to get rid of one, but I want to keep some of the emails to the email address. How can I keep t

    I currently have 2 Email addresses with Mozella, but I am wanting to get rid of one as my main one, but I want to keep some of the emails to that Email address.
    How can I keep these emails but still not got rid of the email address and does not lose the one I want to keep?

    I currently have 2 Email addresses with Mozella

    Or, you have an e-mail with "Mozella" or Mozilla. Mozilla is not an e-mail provider.
    You do not have an account with your e-mail provider, and you access this account via Mozilla Thunderbird.

    How can I keep these emails but still not got rid of the email address and does not lose the one I want to keep?

    Move all the messages you want to keep your local folders account. You can create subfolders under "Local folders" to replicate a folder hierarchy, you can have for the account to be deleted.

    Manually create folders, do not try to move entire folders.
    Then copy the messages in a folder at a time.
    Do this by selecting the messages can be completely copied to the source folder. Then a selected message - copy, right-click and choose the destination folder.
    Once the messages have been copied successfully, you can delete them in the source folder.
    Once all messages to be kept have been copied to local folders, safely, you can delete the account.

Maybe you are looking for