Update of the custom with the API fields

Hi, (I am currently a place specifically to work on this, so I'd appreciate an urgent response.)

Unless I missed something - there seems to be no document saying how to upgrade something else than the default fields? I use the RESTful API and could quickly recover contacts. The update Gets a 200 response - but how we update the custom fields?


Here is a sample code... my guess to send just the name "internal" (line 3) does * not * work.


$contact-> id = $id;

$contact-> emailAddress = $lead1 ["emailAddress"];

$contact->C_Accept_or_Reject_Date1 = time();

$response = $eloquaRequest-> put ("data/contact /'. ') ($id, $contact);



Update: I also tried the inner statement without success:

$contact-> {'{{Contact.Field (C_Accept_or_Reject_Date1)}}"} = time();



Thanks in advance,

Sam

Hi Sam,

You'll want to see custom fields using their identifier unique and include them as part of a collection fieldValues can only be in your application. See the following example:

'type': 'Contact,'

'currentStatus': 'Action pending ',.

'name': '[email protected]',.

"accountName": "Eloqua, Inc..

"address1": "111 Peter Street",

"country':"Canada. "

'emailAddress': '[email protected]',.

'fieldValues can only be':]

{

"id': '100021."

'value': 'value of the custom field.

},

....

Note that the fieldValues collection can only be contains a record for each custom and its corresponding value field. To search and retrieve the ID unique for your custom fields, you can use the following parameter:

  • GET (list): / assets/contact/fields? Search = {searchTerm} & page = {page} count = {number} & orderBy = {orderBy}

We also have a post on to access the Contact fields that should help you.

Please let me know if you need more information.

Thank you

Fred

Tags: Marketers

Similar Questions

  • Customization form of Oracle EBS - R12 - allow the update in the quantity field

    Hi friends,

    I have a requirement:

    1. do not leave the update in the quantity field.

    2. when the user click on save or go to another field, a message pop up «Unauthorized update» here

    Well, I tried 'WHEN to VALIDATE the POINT'

    -This will not be suitable for my requirement because the quantity field is in all tabs, pricing, delivery, address, return, service and other tabs quantity field.

    so I use 'ONCE VALIDATE RECORD' it's ok now.

    so please help me

    -How to find if a field (in my case its quantity (quantity in pricing, delivery, addresses, Returns, service and other tabs)). is changed or not.

    -for the record, we should pop up the message and bring back the amount of OLD back on the field.

    I don't know how to bring the amount of old to the rating.

    Help, please

    AT

    PL continue the discussion in your original post - Disable (= unauthorized update) the field ordered_quantity in Oracle Apps R12 using FP

  • Set the signature using the API field only

    I have a situation where all PDFs you signed are created for each customer individually and on the fly.

    I must be able to define the scope of the signature using the API only.

    Is this possible? I can't change the pdf file and add any kind of labels. It must be done using an x, the value of the coordinate y.

    Hello Lawrence,.

    If you are looking to set the fields of the form through the API, you can see below reference material:

    https://secure.NA1.echosign.com/public/docs/EchoSignDocumentService21#FormField

    Kind regards

    -Usman

  • RequestDataSet updated using the API?

    Hello
    Is it possible to update the requestDataSet of the workflow by using the API of the IOM? An example of code will be appreciated.


    Thank you
    Olga

    No, with the current version of the OIM, you can not change request data from vol. I already have an ER for this.

    -Marie

  • Questions by pulling on the Contact of the API fields in bulk

    I am putting together a code to export data in bulk using Node.js and I run questions where the call/contact/fields is not valid JSON return.  It seems to occur only when the pageSize gets too high.  It returns the extra spaces or new lines in the JSON that breaks the JSON.parse () function.

    The only way I found to work around the problem is to make the size of page 10 or less.  It seems that something bigger and I get a JSON parse error.  Here is the code I am using

    function getAllEloquaFields(callback) {
      var https = require('https');
      var config = require('./config'); // This just sets the https options and builds the auth header
    
    
      config.options.host = 'secure.eloqua.com';
      config.options.path = '/API/Bulk/1.0/contact/fields?page=100&pageSize=20';
      config.options.port = '443';
      config.options.method = 'GET';
    
      function final() { callback(results); }
    
      var page_size = 10;
      var results = [];
      function repeat(page,page_size) {
        config.options.path = url_obj.pathname + 'contact/fields?page='+page+'&pageSize='+page_size;
    
        var reqGet = https.request(config.options, function(res) {
    
          res.on('data', function(d) {
            var json;
            try {
              json = JSON.parse(d);
              if(json.elements.length > 0) {
                results = results.concat(json.elements);
                repeat(page+1,page_size);
              } else {
                final();
              }
            } catch(e) {
              console.log('There was an error: ' + e);
            }
          });
        });
        reqGet.end();
        reqGet.on('error', function(e) {
          console.error(e);
        });
      }
      repeat(1,page_size);
    };
    
    getAllEloquaFields(url_obj,function(elements) {
      console.log(elements);
    });
    
    

    And here is the article from json which seems to have the problem:

    {
          " createdAt": "/Date(-2208970800000)/", //<---- the extra space is messing things up
          "dataType": "string",
          "hasNotNullConstraint": false,
          "hasReadOnlyConstraint": false,
          "hasUniquenessConstraint": false,
          "internalName": "C_SFDCLeadID",
          "name": "SFDC LeadID",
          "statement": "{{Contact.Field(C_SFDCLeadID)}}",
          "updatedAt": "/Date(1270576350780)/",
          "updatedBy": "Some.One",
          "uri": "/contact/field/100024"
    },
    
    

    Anyone else see this issue?

    Thank you

    Russ

    In fact, I solved the problem.  It wasn't the API, I'm new on Node.js and was not manipulate the response correctly.  I was only pulling in one "piece" of data, instead of the complete answer.  The following code is correct.

    Thank you

    Russ

    getAllEloquaFields(url_obj, callback) {
      var https = require('https');
      var config = require('./config');
      config.options.host = 'secure.eloqua.com';
      config.options.port = '443';
      config.options.method = 'GET';
    
      function final() {
       callback(results);
      }
    
      var page_size = 100;
      var results = [];
      function repeat(page,page_size) {
        config.options.path = '/API/Bulk/1.0/contact/fields?page='+page+'&pageSize='+page_size;
    
        var reqGet = https.request(config.options, function(res) {
          var all_data = '';
    
          res.on('data', function(d) {
            var json;
            try {
              all_data += d.toString();
            } catch(e) {
              console.log('There was an error: ' + e);
            }
          });
    
          res.on('end', function() {
           //all the data has been sent
           var json = JSON.parse(all_data);
           if(json.elements.length == 0) {
             final();
           } else {
             results = results.concat(json.elements);
             repeat(page+1,page_size);
           }
          });
        });
        reqGet.end();
        reqGet.on('error', function(e) {
        console.error(e);
        });
      }
      repeat(1,page_size);
    };
    
  • How to feed the DFF using the API fields

    Two new fields are need to be added to the employee assignment staging table to support the new design of the approval.

    So two new fields must be filled in HR Oracle using data in the assignment table.

    -> Finance employee id Manager needs to be filled in the FDF (assignment attribute 1)

    -> The agent code must be entered in the FDF (2 attribute assignment).

    How can I fill these two DFFs using an API. I mean how to feed the fields of DFF using the API?

    Use the API-

    hr_assignment_api.update_emp_asg

    Pass the values for the parameters as needed-

    p_ass_attribute1

    p_ass_attribute2

    See you soon,.

    Vignesh

  • Custom with LostFocus list field problems

    Hello experts!

    I made a custom, list field when I draw the lines, I made a solution using a personalized reminder, well... I have a problem when the list field lost focus, because when I have a focus to the button my list have a last item carried.

    I want to erase,

    Any suggestions?

    Best regards, Rampelotti

    in the drawListRow() method adds the underside before the draw.

    if(graphics.isDrawingStyleSet(Graphics.DRAWSTYLE_FOCUS))
    
  • ID of the parent of queries of data objects that are customized with bulk API v2.0?

    Of the document in bulk API v2.0, I see that I need a parentId in the endpoint to request for the custom data objects (for example /customObjects/ {parentId} / imports).  How can I find the proper parentId?


    I want to retrieve the list of custom contact fields of data object.

    Press on the endpoint /customObjects.  A list of all custom objects will be returned, which includes the ID and other attributes on each custom object.

  • How knowledge uninstalled the update via the API INTERFACE?

    Hello

    I want to know, how do I find information on uninstalled update api interface?
    There are an interface called 'IUpdateHistoryEntry' which has properties of 'Operation', but what I see is, even if I install an update and then uninstall this update, history interface returns only '1 day' with 'install' enum value.
    Appreciate the help.
    Thank you
    Aurélien

    Hi chat2amrat,

    Your question of Windows vista is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT audience Pro on MSDN. Please post your question to the MSDN Windows vista forum.

    http://social.msdn.Microsoft.com/forums/en/windowsgeneraldevelopmentissues/threads

  • Insert/update of the individual fields in the DB Table

    So maybe I have a few noble desires, but I have my trying to find a way to change 1 single record (field) in a table.

    SCENARIO: I want to have a table that has the columns 'cid', 'class_name' and 'open_seats '... For example, if you have a line with values:

    1, namemw520, then a second, 25'

    2, nametr520, 32', and a third,.

    etc...

    Then in a form when the person fits and chooses a class, into submission, he will subtract one from the open_seats column and affect only the row of the selected class_name.

    WHAT I TRIED:

    So far, the only thing I can think is to have several queries to several tables in a line, and then update a form based on a selection of drop-down list doesn't seem to work, in addition, there are like 30 classes and I don't want to create tables of 30 DB, if it can be avoided. Or I'm WAY over my head on this one?

    Any help would be appreciated.

    TIA

    A more standardized design of database win the obligation to do something.

    Consider a design where your table has a field of ability instead of a seats_remaining.  Once you have configured a class, you should not change this value.  Then, as people sign up, you fill in a many-to-table number.  I hope that you are already doing.  Then to see how many points you have left, you do something like this:

    Select the capacity-

    (select count (*)

    your many at table number

    where is this class) seats_remaining

    your table class

    where is this class

  • Customized with alternative edit field

    I created an edit custom field that can take 1 numeric character only.  If she already has a value when it receives the focus, then I want it to appear to rewrite (no insert).  For the moment, the user must delete the previous character.  Do any one help please?

    Welcome on the support forums.

    you have several options, according to your specific needs

    -remove the onFocus text. also removes the text when the user enters wrong whatever it is, but you can set the text to new onUnFocus

    -crush keychar to check the input and set the text always the character entered

  • can update you a table with a column field with a default value

    I'm looking at a table (table_one) developer and basically, there a column field called is_update and the default value for this field is 1.

    I was wondering if it would be possible for me to use a syntax of the form update
    update table_one t
    set t.is_update = 0;
    where t.id = 221;
    because I tried to do and the update does not work

    Semicolon (;) is the problem!

    update table_one t
    set t.is_update = 0 --Removed semicolon here!.
    where t.id = 221;
    

    http://download.Oracle.com/docs/CD/E11882_01/server.112/e17118/statements_10008.htm#SQLRF01708

    added query & URL: Johan on October 21, 2010 07:02

  • Better implementation of a callback method to update the various fields?

    Hey everybody,

    I'm developing an application that uses the Google Translate API.  I set it up so that a user can specify a language before you do, and then once they connect, I have wrappers around each piece of text displayed on the screen which will result by the text based on the language selected.

    My problem is that several things must be brought on a given screen.  Therefore, I need to access Google Translate API several times per screen.  To do this, I opened a HTTPConnection on a new thread.  So I turn my screen Interface to the translator class, and then the translator class call my callback methods for the screen (requestSucceeded() or requestFailed()).

    Now, let's say that I have translated the title of the screen and the screen text.  These are two separate HTTPConnections.  So, when the title is translated, I want my requestSucceeded() setText method on my LabelField title.  When the body of the text is translated, I want my requestSucceeded() setText method on my body LabelField.

    What is the best way to have my requestSucceeded() method to differentiate the various fields to be updated?  Currently, I'm passing to the translator two things (via a string [] array): the text to be translated and a 'cookie', which describes the element being translated.  I then use if statements in my callback requestSucceeded() Update method the appropriate field based on the 'cookie' (which the translator will send in return and the text translated).

    I feel like there must be a better way to do this. Does anyone have any suggestions?

    Thank you!

    I don't know I understand your question, but it seems that this is to decouple the the task of translation of background of the user interface element that is being translated. You're already halfway to decouple the background translator of the mechanism that updates the user interface. What you seem to be missing is a nice way to specify the target of the translation without writing a lot of switch / if statements.

    Instead of having a translation callback object that serves several UI elements, you could create a reminder for each UI element. The reminders will always implement the same interface, so the task of the translator background will be not supported. For example, the interface could be something in the sense of:

    interface TranslationCallback {
      void translationCompleted(String translation);
      void translationFailed(Throwable cause);
    }
    

    Your user interface would then create a callback object that encapsulates a user interface element (for example, a text field) and implements the TranslationCallback above. Inside of the translationCompleted and the translationFailed logic will not need to understand which element to update, because the reminder is associated with a particular item in a particular category, for example, TextField.

  • Cannot update the metadata via the API

    Is there something wrong with the simple ordinary call?

    curl-x PUT d ' data = {"version": "0.2.0"}' https://build.PhoneGap.com/API/v1/apps/234...0?auth_token=x...Y

    I want to just update the title and some version information in the application before the build... but even if I get a 200 and information, the version is not updated.

    Any ideas?

    Yes as said Kerri, meta-data need to be updated through the config.xml file. It looks that the docs indicate that the meta-data can be updated through the API settings, but this isn't the case. Ensure that the updated docs up-to-date.

  • SQL update the context field to table oe_order_lines_all

    Hello

    Can update us the context field on the order line table using sql update. Can someone please let me know, what would this cause.

    I use the same context values that are defined in the form of DFF, but one of the value is missing from the FDF form. What is the next step?

    Example:

    Update oe_order_lines_all
    Set frame = (select...), attribut1 = 'test '.
    where header_id = 1101

    Hello

    Consult the following document and see if it helps.

    Note: 746787.1 - process of PLC control in the management of order- UPDATE operation
    https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=746787.1

    Kind regards
    Hussein

Maybe you are looking for

  • Blurring of text output

    I would like to set my monitor in monochrome (black and white) and browse as such. In firefox, text field when highlighted appear scrambled. It's a particularly bothersome on facebook but the search in the browser fields are affected also. She only g

  • HDX-18 t maintenance and repair manual?

    Hello, newbie here again.  I guess HP published a manual of Ma & for their Pavilion HDX series - 18 t of laptop computers.  I can't locate one to be on the site of HP or many other sites that I searched.   Anyone know where I could possibly find this

  • my laptop hp dv5 with windows vista home premium series starts do not

    my laptop hp dv5 series with windows vista home premium not starting not, despite several presses of the power button that only a white screen appeared only to nd 2-3 seconds then the system crashes.all started last night, when the electrical connect

  • How to enter data of a camera chip

    I have a memory chip from a digital camera that I want to the entrance to my computer of p7. How can I do?

  • How long blackBerry Smartphones to recharge the battery please?

    I have come to take delivery of the phone and have inserted my sim card and the battery - how long should take it from phone to recharge again?  Thank you!