Enter a list of fields with internalName, via the PHP API

Using the URL "https://secure.eloqua.com/API/REST/1.0/assets/contact/fields", I can currently get a list of all the fields used for my contacts (IE. Email, phone etc.)

It works fine, but for some reason any the internalName of each field is not included in the answer; it seems that if I want this value I have to do the initial HTTP request as shown above and then loop separately on each field that results and perform another HTTP request ("https://secure.eloqua.com/API/REST/1.0/assets/contact/field/'.") $item ['id'] ) for each of them.

Unfortunately, I have more than 200 fields. up to 200 + HTTP requests separate isn't a viable solution.

Is there anyway that I am perhaps dominant, to a list of contact fields which includes the internalName?

I'm writing an Eloqua addon for WordPress plugin gravity forms, and this is something which is urgently needed for automatic mapping of the fields in the form of gravity at Eloqua fields.

Any input or advice is greatly appreciated!

Best regards

M.T. Jordan

Hello world

A quick update - I found a work around for this as follows:

(1) runs an initial call to get all forms of Eloqua: /assets/forms? search = *

(2) present the list form returned to the user admin as a select entry in a form

(3) using ajax, on select change run a second query (using the selected form id) to return the form object: /assets/form/'.$form_id.'? = full depth

(4) the above call returns information field, including the internalName, that I can use later for consignments of automated form when a form of gravity is subject

Thank you once again, Daniel, for your previous answer.

I wanted to make sure I post my solution here so you don't have to waste time trying to help unnecessarily.

All the best,

Mike

Tags: Marketers

Similar Questions

  • How to get assets via the REST API (Webcenter Sites)

    Hello world

    I need to get assets via the REST API using Javascript, but I don't know how to open a session. Can someone explain to me how do?

    I would really appreciate it.

    I also followed this guide Oracle Webcenter REST API permission | Stories of official codification but does not work.

    Best regards!

    Hello rvillamarin,

    Take a look at https://docs.oracle.com/cd/E29542_01/doc.1111/e29634/wemsecurity.htm#WBCSD306. With this, you should be able to get a ticket, to pass at the request of the REST.

    Kind regards

    Stephan.

  • Download Images in Eloqua via the REST API (via an API?)

    Hello community!

    We are interfacing content between a site CMS and Eloqua for custom content, so that we can deliver such content in emails and the landing pages effectively.

    We have an obligation to affix an image (such as an icon of great white game) overlay, a bit like this: http://u3.uicdn.net/372/cc7727211f2a7907850d2f844e707/diy-business-us/vi_video_content.jpg

    Unfortunately the CMS system he can not provide, we for some reason any.  And trying to superimpose the image in e-mails of Eloqua using CSS will result in inconsistent results between email clients, particularly mobile and so on...

    Our plan is so - to superimpose the image in our middleware software and then download the image to Eloqua, then use newly uploaded in the system.

    Is there a way we can download a picture of Eloqua via the REST API or any other API?

    Thank you

    Mark

    Hi Mark,

    Yes, you can use the Rest API to upload images to your installation of Eloqua. We will aim to provide documentation in the near future, but for now, we have an example of project available on Github to show how load images: Image of assistance

    Hope this helps and please let me know if you need more information.

    Thank you

    Fred

  • Setting the text of a field with values from the list

    Hello

    I created a list with three properties and three values. I also three fields when the user types in
    simple text characters in the fields (fieldA, fieldB and fieldC), a button and a field empty that I created.

    In the list, I put = the text in each field property values. When I click on my button, I want to display
    ONLY the values of each property in the same field (for example: "Geils"). I can display a value of a property,
    but I need to display all the values of three properties. For example, if text fieldA =, text of fieldB = B and fieldC text = C.
    then when I hit the button, I would like to than "Geils' to read 'ABC '.
    Here's the jargon I've attached to my button (see the commented lines in the script for more info)

    global partNumber
    partNumber = [#prop1: the text of the field 'fieldA', #prop2: the text of the field "fieldB", #prop3: "fieldC" text]

    -the following line works to the value of #prop1 in "Geils".
    put getaProp (partNumber, #prop1) in the text of the "Geils" field

    -When I try the jargon to the next line, I get "[#prop1: 'A', #prop2: 'B', #prop3: 'B']" in the "Geils".
    Put the PartNumber in "Geils".

    I don't want the properties, only the values of all three in the field "Geils".
    I'm simplifying the explanation for ease of understanding. The application and the user input is to generate
    a reference number of a standard product offering that has several options for Assembly of products.
    Is this possible? I'm not that great at lingo and any help would be appreciated.

    Thank you very much
    Chris kotlinski ([email protected])

    Put PartNumber [#prop1] & [#prop2] PartNumber or PartNumber [#prop3] in
    Member "Geils".

  • Problem with JMS via the SSL protocol in clustered environment

    Hello

    We run Weblogic 11 g Cluster (area) which consists of admin server and two managed server MS1, MS2.
    LIKE and run it on the computer 1, MS1 MS2 runs on machine 2. Both machines have two network interfaces, a public used for client connections and an intern for cluster communication, monitoring etc. The default channel of each Weblogic Server is listening on the internal network interface, and Moreover we have two channels (for http and t3 Protocol) configured to the public interface.
    The two managed servers are JMS provider and there is a JMS Module myModule in the field with the following JMS resources: custom connection factory myConnFactory (Load Balancing active = true = false server affinity, target: entire cluster JMS) and myQueue, which is a uniform distributed queue (targets: MS1, MS2). The queue is accessed by its logical JNDI name, but she is stuck on each managed server.

    JMS communication flows normally through t3 dedicated listening on the public interface. However, a new external client will send messages to myQueue and communication must be encrypted for security reasons. For this reason, we have implemented SSL. Instead activate a DefaultSecure channel, we left 'SSL listen Port active' = false (as the default channel would be linked to the internal network interface) and created a new channel T3SChannel t3s Protocol on the public interface for incoming client connections.

    The customer creates a t3s connection to the cluster (through T3SChannel) and gets the factory connections and the queue, use the JNDI ( source) search. The JMS connection is in real-time with MS1. If we want to create two consumers for this queue, the consumer of fist is created the MS1 and the second will be created on MS2 (thanks to active balancing). However, the creation of the second consumer fails with an exception (it is thrown on the client):

    java.rmi.ConnectException: no valid port known for: "DefaultSecure [t3s]: t3s (t3s): mserver1 - internal .company .com: 56213:null:-1 ';" No router available at destination
    at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:464)
    at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:396)
    at weblogic.rjvm.RJVMImpl.ensureConnectionEstablished(RJVMImpl.java:303)
    at weblogic.rjvm.RJVMImpl.getOutputStream(RJVMImpl.java:347)
    at weblogic.rjvm.RJVMImpl.getRequestStreamInternal(RJVMImpl.java:610)
    ... 18 more

    We were told that the exception can be avoided with t3s < default protocol > - < / default protocol > element (default is t3) added to the config.XML in the Weblogic domain. If we configure t3s as default protocol, we also need to activate the DefaultSecure channel on each server and then everything works and the customer is able to correctly create consumers.

    However, as a side effect, the entire cluster on weblogic.rjvm communication layer and then by t3s. We do not want that because internal cluster communications are set enough with other methods and it will have impact on the notable performance in the production environment. In principle, it should be possible to enable the external client to connect to the JMS provider via the channel new, safe, without affecting the existing internal communication in the cluster (which should be a black box for the customer).

    My question: is it possible to run the example described without defining the default protocol to t3s?

    Thanks for the reply.

    My question: is it possible to run the example described without defining the default protocol to t3s?

    Thanks for the very clear problem description. I checked with our customer support guru and I'm sure that the answer to your question is no, I think you have encountered a known problem and have already struck with the recommended workaround.

    That said, you can be able to avoid at least partially the problem by setting "server-affinity = true" on your CF. as you probably well know, affinity = false encourages consumer and producer traffic to route customer, on its server host connection, then possibly on a "second leap" to another server in the cluster. It looks like the attempt of an implicit downgrade of a secure request origin SSL in the first bond on a channel not secure in this second jump is to throw the exception.

    HTH,

    Tom

  • Updated filter shared via the REST API

    Hello I'm trying to update a shared API filter. I'm using PHP and client fredsakr/eloqua-php-application · GitHub.

    So far, I was able to retrieve the filter with the following call:

    <?php
    require('./eloquaRequest.php');
    $eloquaRequest = new EloquaRequest('site', 'User.Name', 'password', 'https://secure.eloqua.com/API/REST/1.0');
    $response = $eloquaRequest->get('assets/contact/filters?search=TheFilterName&depth=complete');
    print_r($response);
    ?>
    

    I can see the filter in the answer below:

    (
        [type] => ContactFilter
        [currentStatus] => Active
        [id] => 100761
        [createdAt] => 1380137168
        [createdBy] => 48
        [depth] => complete
        [folderId] => 1036
        [name] => TheFilterName
        [updatedAt] => 1383589417
        [updatedBy] => 48
        [count] => 254382
        [criteria] => Array
            (
                [0] => stdClass Object
                    (
                        [type] => ContactFieldCriterion
                        [id] => 1912
                        [condition] => stdClass Object
                            (
                                [type] => TextSetCondition
                                [operator] => in
                                [optionListId] => 193
                            )
    
                        [fieldId] => 100012
                    )
    
            )
    
        [lastCalculatedAt] => 1380137190
        [scope] => global
      statement] => 1912
    

    What I want to do is update that corresponds to the values of 'Compare the Contact fields' in the GUI Eloqua under Contact = > Shared Library = > Contact filters.

    Looks like he has the "[type] = ContactFieldCriterion" under the [criteria] field in the response.

    I'd get how this value in a call to REST, and also how I would update it.

    Please let me know if you need more details on this issue. Please help and thank you.

    After some research I found what I wanted to do has been updated the list of options for this filter. See http://topliners.eloqua.com/docs/DOC-3588 for documentation on the base object. But I had difficulty in updating an OptionList with the Rest API using PUT. If you can help, please visit http://topliners.eloqua.com/message/36739#36739 . Thank you.

  • Pre-load via the REST API?

    I have a form that I'm pulling the API on a page hosted on the outside.

    Is it possible to have the Eloqua to any element in the request before it returns the HTML code?

    I guess I could make it through the GUID in the cookie of the visitor/contact.

    Otherwise I guess I'll have to resort to a Web database search. I would avoid this approach so that customers don't have to worry about the update of JS, whenever they update the form on the side Eloqua.

    The best method would be to parse the response from the API and create your own form based on the form fields and then use the API to seek contact with their GUID (new feature API) and fill out the form before it is even loaded.

  • External table Oracle via the Tables API

    Hello world

    I did experiment with the Oracle NoSQL database recently and I became a bit stuck with the new API of Tables. I have so far successfully of the external tables on the data entered using storage techniques 'vanilla' KV and avro (using generic and specific links) scheme, but create API Tables seems to be another matter entirely.

    My question arises in the trainer interface, which has a KeyValueVersion and a KVStore. I can't translate a KeyValueVersion created with the API of Tables in a primary key for recovery (since I don't know what the key generated by the API actually looks like to!) or map it on an avro scheme. The problem seems to be that the Tables API writes data in some format that can be easily translated into a string or an integer (releases from external table lines due to unknown characters if I am trying to retrieve all the values in the database to see what it looks like to), and try to map it to an AVRO map results in the error message 'the data are not as AVRO'.

    Scenario:

    I created a very simple table in the administration tool KV, which consists of a column personId (integer) that is PK, firstName, lastName, emailAddr (all channels) and enter 5 rows with success. What I want to do is to create an external table called person that returns just those 5 values (and brand new I add to the table of course). This means that I have to first understand what the parentKey value must be defined in the .dat file and how to take this key and it becomes a primary key for the recovery of the line.

    Faithful old Google could not find information on how to do this (he was only a thread similar to this with the answer "we'll add it soon"), so I hope that someone here managed to do!

    Thank you

    Richard

    Hi Richard

    I understand the issue you are facing. In the current version (12.1.3.0.9) the external tables feature only works with records of K/V not with the Table model, however, in the next version (which us will very soon be GA) we will support integration of external tables with the data of Table model as well. Please make sure that you have signed up for the announcement of release so that we can inform you of the release. I apologize for the inconvenience, he did to you.

    Best

    Anuj

    Sign up for announcements of NoSQL database , so we can warn you versions futures and other updates from the product of NoSQL database

  • External authentication via the PHP script failed

    I'm not a PHP genius - in fact I'm not a backend coder so I'm kinda struggeling with the sample scripts - I still hope for a sample of CF....

    I'm trying to run and connect to the CAA via the command line (Terminal). I'm not sure what I'm doing wrong - this is what I'm passing:
    PHP f /Applications/MAMP/htdocs/afcs.php args - debug - host = my_pass, http://connectnow.acrobat.com, fcguru, my_login

    The username and password I spend are correct. However, I get this response:
    Error: message exception 'AFCSError' with ' < State response 'error' = >
    < error code = "AUTH_FAILED" >
    < msg > failed authorization < / msg >
    < / error >
    < / answer >
    ' in /Applications/MAMP/htdocs/afcs.php:86

    Really struggeling with this. Once again I get this working from the command line, I don't know how to call it from a script instead. I use CF on the backend, no PHP.

    Kind regards

    Stefan

    Thank you, this is very useful. It seems that I can now connect from the Terminal so that's a good start. Also, I did not see external authentication in PHP for example - I must have been blind.
    I'll see how far I get with that. What I'm trying to do is spawn new rooms based on a template on the fly, and I have some doubts, I'll be able to understand this myself.

  • W530 with Windows 7: the GetSystemMetrics API functions do not correct result

    Hello

    I recently updated my external monitor for Samsung S27A850D best resolution 2560 x 1440. After some effort, I finally managed to get this resolution, and, among other things, the section of the display of the control panel correctly shows the resolution. However, when I use the function API GetSystemMetrics with the SM_CXSCREEN and SM_CYSCREEN parameters get values in 1707 and 960, respectively. Does anyone have an explanation for it?

    Kind regards

    bostjanv

    Hello

    Thanks a lot for your comment. In fact, I have defined the size to 150%, but I was completely unaware of the mechanism behind it and really didn't know anything about scaling issues.

    Kind regards

    bostjanv

  • Is it possible to activate / De Activate campaign via the REST API?

    Hello

    Is it possible to activate / campaigns via the API REST Eloqua activates?

    I was checking out this site on the Eloqua Rest API, but did not see the option http://secure.eloqua.com/api/docs/Static/Rest/2.0/index.htm

    Kind regards

    Aditya

    Yes, for example, to Activate your campaign, use a POST/assets / campaign / active / {id}, where id is the ID of the campaign.

  • Add a contact e-mail group via the Rest API

    Hello

    Is it possible to add a contact to a group of e-mail through the Rest API?

    I saw this article here http://topliners.eloqua.com/docs/DOC-3526 which shows that you can get a subscription email group contacts status, however it is not clear how actually to add a contact to a group of e-mail via the API.

    I tried to post data to ' data/contact / {id} / groups/email/subscription "but I get a response of"Method not allowed"API."

    If someone managed to achieve? If so, how?

    See you soon

    Hi David,

    The POST operation is not supported by this endpoint, but you can use PUT a method for updating subscriptions Contact:

    • PUT: / data/contact / {id} / email/group / {groupId} / subscription

    Where the request body contains an object of the subscription. Hope this helps and please let us know if you need more information.

    Thank you

    Fred

  • Access to information via the plugin API of SharePoint

    Hey there,

    I am train (via a plugin) if find Acrobat (and in the future, Reader) has opened a document from SharePoint.

    If so, what are the details (Url of SP, if Acrobat/Reader has verified, metadata).

    Using the SDK SDK has no reference to information in SharePoint, and I don't see if it is exposed to the API at all.

    Thanks for your help.

    Yes, files opened from SharePoint using a different ASFileSys and you can get information on the location of the ASPathname.

    However, no specific information SP (as metadata) is provided.  You must use the MS-APIs yourself to do.

  • List of selection with redirection sets the values to null

    I saw another post with a similar issue. However, the answer given does not work for me.

    I have a "Site" text field whose value depends on a list of select 'customer '. I am able to set the value of "Site" based on the select list with redirect. However, other values on this page are reset to null.

    I saw an answer that says to change the display of selection list type to "select the list to submit." But this type of display requires a page that deals with the process is created. This solution did not help either.

    Any solution?

    If you follow this example, you will be able to set the status of the session without redirection / layout page:

    http://Apex.Oracle.com/pls/OTN/f?p=31517:229

    Denes Kubicek
    ------------------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    ------------------------------------------------------------------------------

  • Problem with InfoPath via the Adobe pdf printer print

    Hello

    It seems that in some cases to the printer Adobe pdf makes the text box a little narrower than THE InfoPath. So we have packaging Word and number of lines in the PDF can be only in the InfoPath form. But the output area is not resolved. So the end of the text may be corrupted:

    I checked this approach, but it does not help:

    https://helpx.Adobe.com/Acrobat/KB/missing-or-garbled-text-printing.html

    The same behavior is with different IEs.

    Could you please help to solve this problem?

    Must be a bug in InfoPath from the Adobe PDF printer simply reports the available printer box and print what they say in print, where it says print. Could be a problem with the printer driver change. Try to set default Adobe PDF before you start InfoPath, might work.

Maybe you are looking for