Import an element of configuration via REST API vCO

Hello, I try to import a configuration item via the REST API of the vCO (5.5.1 device), documented here: http://pubs.vmware.com/vsphere-55/index.jsp?topic=%2Fcom.vmware.vsphere.vco_develop_web_services.doc%2FGUID-75E0F269-3D26-418E-8597-E9FC9E67C608.html

The doc says thyou must add the request headers to set the properties of the element of the configuration that you want to import, but gives no details.  I tried a few variations but each mistake to return 400 (bad request).  For the purposes of this post, I use vCO as the customer STAYS that way.  I think it can be a problem of chickens and eggs, you have probably set a relationship category (folder) to the imported configuration item configuration item - do not know how to do this, but how otherwise he would know where to store the imported configuration item?

Here is what I tried:

// I have pre-defined a REST host on the vCO server that points to itself (var restHost)
// restHost.url is https://<vco IP>:8281/vco/api

var reqString = restHost.url + "/configurations/";
System.log("Request Query: " + reqString);

// Got the following content from a REST query to export a config element - this is a vanilla config element
var xmlContent = "<?xml version=\"1.0\" encoding=\"ISO-8859-1\" standalone=\"yes\"?>\n<config-element " +
// I've tried both omitting and including the id
//"id=\"CB808080808080808080808080808080038A808001334613384319bad96d0cacb\" +
"version=\"0.0.0\" >\n" +
"<display-name><![CDATA[test_element]]></display-name>\n<atts>\n" +
"</atts>\n</config-element>\n";

var req = restHost.createRequest("POST", reqString);
req.contentType = "application/vcoobject+xml;charset=UTF-8";
req.setHeader("contentAsString", xmlContent);
var response = req.execute();
System.log("Response: " + response.toSource());


httpResponse:HTTP / 1.1 400 Bad Request

Documentation for VMware:

Make a POST request to the URL of the configuration item objects:

POST http://{vcoHost}:{port}/vco/api/configurations/

If the POST request is successful, you receive the 202 status code.

Not sure if the REST plugin vCO supports several content directly part.

Do you need to import configuration programmatically items? If this is not the case, the simplest way would be to import the terminal using curl or shell script. Something like the following command:

curl -i -v -k -u user:password -X POST https://10.23.12.20:8281/vco/api/configurations -F categoryId=8a978c4b46aa6b9a0146aa6d116d0008 -F file=@d:/downloads/abcconfig.vsoconf

where:

user: password - your credentials of the vCO

10.23.12.20 - your vCO server address/IP

8a978c4b46aa6b9a0146aa6d116d0008 - ID of the category of configuration items

d:/downloads/abcconfig.vsoconf - path to the file containing configuration items to import

Tags: VMware

Similar Questions

  • tcObjectNotFoundException error during the configuration via the API of the IOM

    Hello

    I'm trying to provide resources using the client API IOM. I use the following code which generates the exception mentioned after the code snippet:

    *******************************Code*******************************

    java.util.Hashtable env = new java.util.Hashtable ();

    env.put (oracle.iam.platform.OIMClient.JAVA_NAMING_FACTORY_INITIAL,

    oimInitialContextFactory);

    env.put (oracle.iam.platform.OIMClient.JAVA_NAMING_PROVIDER_URL, oimURL);

    oracle.iam.platform.OIMClient client = new oracle.iam.platform.OIMClient (env);

    Thor.API.Operations.tcUserOperationsIntf userIntf = (Thor.API.Operations.tcUserOperationsIntf.class) client.getService;

    Thor.API.Operations.tcObjectOperationsIntf objIntf = (Thor.API.Operations.tcObjectOperationsIntf.class) client.getService;

    Thor.API.Operations.tcFormInstanceOperationsIntf formIntf = (Thor.API.Operations.tcFormInstanceOperationsIntf.class) client.getService;

    Thor.API.Operations.tcProvisioningOperationsIntf provIntf = (Thor.API.Operations.tcProvisioningOperationsIntf.class) client.getService;

    Thor.API.Operations.tcUserOperationsIntf userOper = (Thor.API.Operations.tcUserOperationsIntf.class) client.getService;

    java.util.Hashtable mhSearchCriteria = new java.util.Hashtable ();

    Hashtable ObjectHash = new Hashtable();

    objectHash.put ("Objects.Name", "ITAX_GTC");

    Data com.thortech.xl.vo.ResourceData = userIntf.provisionResource (Long.parseLong (userId), objectKey);

    long userObjectInstanceKey = Long.parseLong (data.getOiuKey ());

    long objectInstanceKey = Long.parseLong (data.getObiKey ());

    Hashtable InputHash = new Hashtable();

    Fill out the entry below with data from object

    for (int b = 3; b < row.length; b ++)

    {

    inputHash.put (header [b], [b] row);

    }

    Sets the data object

    formIntf.setProcessFormData (objectInstanceKey, inputHash);

    *********************************************************************************************

    Thor.API.Exceptions.tcObjectNotFoundException

    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)

    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)

    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)

    at Thor.API.Operations.tcUserOperationsIntf_e9jcxp_tcUserOperationsIntfRemoteImpl_1035_WLStub.revokeObjectx (unknown Source)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)

    to $Proxy2.revokeObjectx (Unknown Source)

    at Thor.API.Operations.tcUserOperationsIntfDelegate.revokeObject (unknown Source)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    to Thor.API.Base.SecurityInvocationHandler$ 1.run(SecurityInvocationHandler.java:68)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.security.Security.runAs(Security.java:41)

    at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs (weblogicLoginSession.java:52)

    at Thor.API.Base.SecurityInvocationHandler.invoke (SecurityInvocationHandler.java:79)

    to $Proxy3.revokeObject (Unknown Source)

    at com.infotech.tra.organization.RoleAssignment.ProvisionResources(RoleAssignment.java:1013)

    at com.infotech.tra.organization.RoleAssignment.main(RoleAssignment.java:48)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:56)

    Caused by: Thor.API.Exceptions.tcObjectNotFoundException

    at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.revokeObject(tcUserOperationsBean.java:3184)

    at Thor.API.Operations.tcUserOperationsIntfEJB.revokeObjectx (unknown Source)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)

    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)

    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)

    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)

    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)

    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)

    at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)

    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)

    at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)

    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)

    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)

    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)

    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)

    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)

    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)

    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)

    to $Proxy344.revokeObjectx (Unknown Source)

    at Thor.API.Operations.tcUserOperationsIntf_e9jcxp_tcUserOperationsIntfRemoteImpl.__WL_invoke (unknown Source)

    at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)

    at Thor.API.Operations.tcUserOperationsIntf_e9jcxp_tcUserOperationsIntfRemoteImpl.revokeObjectx (unknown Source)

    at Thor.API.Operations.tcUserOperationsIntf_e9jcxp_tcUserOperationsIntfRemoteImpl_WLSkel.invoke (unknown Source)

    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)

    at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)

    to weblogic.rmi.internal.BasicServerRef$ 1.run(BasicServerRef.java:522)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)

    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)

    at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

    Add the line before retrieving the key of the object:

    set.goToRow (0); assuming that one record is returned in the result

  • Use JSON with REST API vCO 5.1

    I'm developing a simple REST client to run a workflow in vCO.  I am using perl and the module REST::Client, which is pretty simple.  I can retrieve the items in the inventory and definition for my target workflow, but when I try to POST a run, I get an error report by stating:

    The request sent by the client is syntactically incorrect.

    I use JSON (as is the default output of the vCO if no Content-Type is specified, and my personal preference), and the JSON format documentation is pretty sparse compared to the XML documentation.  The documents describe the context of execution as follows:

    { "parameters" : [ { "name" : "...", "type" : "...", "description" : "...", "scope" : "local", "value" : { } }, ... ] }

    My workflow accepts two string for the input parameters and returns a string as output parameter.  I read that the scope and description fields are optional, and I am omitting the two.  Clearly, however, Miss something needed on the structure of the execution context.  Can anyone help to shed light on this?

    Complete debugging:

    Accept: application/json
    Accept-Encoding: gzip, x-gzip, deflate, bzip2-x
    Authorization: *.
    User-Agent: REST::Client/249
    Content-Length: 137
    Content-Type: application/json
    {"parameters":[{"value":"10.0.0.0/24","name":"network","type":"string"},{"value":"test-hostname.dom","name":"hostname","type":"string"}]}

    HTTP/1.1 400 Bad Request
    Connection: close
    Date: Wednesday, December 5, 2012 19:01:11 GMT
    Server: vCO Server
    Content-Length: 965
    Content-Type: text/html; charset = utf-8
    Client-Date: Wednesday, December 5, 2012 19:06:21 GMT
    Client-Peer: *: 8281
    Customer-response-Num: 1
    Client-SSL-Cert-Issuer: /C=US/O=VMware/OU=VMware/CN=localhost.localdom
    Client-SSL-Cert-subject: /C=US/O=VMware/OU=VMware/CN=localhost.localdom
    Client-SSL-Cipher: DHE-RSA-AES256-SHA
    Client SSL-Socket-class: IO::Socket
    Client alert-SSL: certificate of the peer unaudited
    Title: JBossWeb/2.0.1.GA - error report


    < html > < head > < title > JBossWeb/2.0.1.GA - error report < / title > < style > <!-H1 {do-family: Tahoma, Arial, without serif; color: white; background-color: # 525 76; do-size: 22px ;}} H2 {do-family: Tahoma, Arial, without serif; color: white; background-color: # 525 76; do-size: 16px ;}} H3 {do-family: Tahoma, Arial, without serif; color: white; background-color: # 525 76; do-size: 14px ;}} BODY {do-family: Tahoma, Arial, without serif; color: black; background-color: white ;}} B {do-family: Tahoma, Arial, without serif; color: white; background-color: # 525 76 ;}} P {do-family: Tahoma, Arial, without serif;: white background; color: black; do-size: 12px ;}} A {color: black ;}} B.SID {color: black ;}} HR {color: # 525 76 ;} - > < / style > < / head > < body > < h1 > State HTTP 400 - < / h1 > < HR size = "1" = "noshade" noshade > < p-type > < b > < /b > < /p > < p > < b > report message < /b > < u > < / u > < / p > < p > < b > description < /b > < u > the request sent by} the client was syntactically incorrect (). < /u > < /p > < HR size = "1" noshade "noshade" = > < h3 JBossWeb/2.0.1.GA > < / h3 > < body / > < / html >

    There was a problem with the value of the format JSON deserialization, it is fixed and will be available in version 5.1 of U1.

  • Mapping and querying objects for Contact with REST Api

    Hi all

    We are hoping to get some details on the DataCard management defined via REST API. Our implementation goal is to create Contacts and add the custom for each Contact object or to be more precise, add a set of map data for each Contact.

    At the present time, to associate a map Data Set (or custom object) to an existing contact, we provide a suite of fields in the custom when creating custom object object:

    new CustomObjectField  
    {
                                                                    name = "MappedEntityType",
                                                                    dataType = Enum.GetName(typeof(DataType), DataType.numeric),
                                                                    type = "CustomObjectField",
                                                                    defaultValue = "0"
                                                                },
                                                             new CustomObjectField
                                                                {
                                                                    name = "MappedEntityID",
                                                                    dataType = Enum.GetName(typeof(DataType), DataType.numeric),
                                                                    type = "CustomObjectField",
                                                                    defaultValue = "<ContactId>"
                                                                }
    
    

    This is the right approach? This is based on the information provided here: http://topliners.eloqua.com/community/code_it/blog/2012/05/31/eloqua-api-how-to-mapping-a-data-card-to-an-entity.

    The REST API would query the CustomObjects using the MappedEntityId value for the subsequent updates? If so, pointers on how to approach that?

    Thanks to ad.

    The REST API does not support this.  With the upcoming release of Eloqua, you will be able to update the MappedEntityID, as a query it.

  • 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

  • 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

  • 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.

  • vRO package import/export using the REST API, but what to rebuild a package?

    Hello

    I can export and import a package using the REST API. The package consists of all the workflows in a certain folder of the project.

    That's fine, but when we do another workflow example in the folder of our project, it is not automatically part of the package. This reduces the value of planning an export of it, because it would still this manual interaction.

    Is there a way to do it (automate/CLI/REST /...) this?

    Thank you!

    Ed

    Hello

    REST API for package management (adding/removing items to package, rebuild a package, etc.) are planned for the next version of vRO - vRO 7.1 (or whatever the COMP version it gets).

  • How to configure Hostname of the node with the REST API?

    I tried the value of hostname of the virtual machine when I deploy an application, but were unsuccessful.  The application consists of all the operating system - there is no installed service but an example here that I used when I deployed the application.  It is based on the release of the REST API "node info": for the particular deployment profile.

    {

    'node': [{}

    "name': 'VM1."

    "properties": [{}

    "hostname": "joe".

    }],

    ["nodeComponent":]

    }]

    }

    But when you use this application I get the error message: "the node 'VM1' does not exist in the current 'deployment profile'. ' even if 'VM1' is the only node in the deployment profile.  I tried other variations and still get the same error message.

    Does anyone have suggestions for how I can configure the hostname of the node when you deploy the application?  Thank you.

    Apparently, the REST API for planning a deployment is designed after characteristic GUI Application Director "rapid deployment". Rapid deployment does not allow the substitution of properties of node as hostname. Idea being the deployment profile once defined and prepared, each individual call of it must change some subset of the properties of the component. We can always create several profiles of deployment to account for changes in node.

    Nevertheless, it seems that property of node specifications would help your situation... so that your comments reached the product team.

    Thank you rags

    This posting is provided as is and confers no rights.

  • Import a workflow with Orchestrator rest API

    Hello

    I am trying to import a workflow to Orchestrator through the REST API, but it always end upward with a 500 error:

    HTTP/1.1 100 continue
    HTTP/1.1 500 Internal Server Error
    Content-Type: text/html; charset = utf-8
    Transfer-Encoding: segmented
    Date: Thu, February 28, 2013 16:54:57 GMT
    Connection: close
    Server: vCO Server
    I proceed in this way:
    I prepare the file that will be sent:

    -5bf10fbcf09

    Content-Disposition: form-data; name = "listVm"; filename = "listVm.Workflow"

    Content-Type: application/zip

    Binary

    -5bf10fbcf09-

    and then make a POST request to my server of vCO:
    curl - ik u "user: pass" h "Accept: application / xml ' h ' Content-type: multipart / form - data; "limit = - 5bf10fbcf09 ' h ' content-length: 19442 ' https://IP:PORT/api/stream / x POST @listVm.wf d
    Then it'll wait state:
    HTTP/1.1 100 continue
    and about 60 years later it returns me an error 500
    Thanks for your help!

    Here is a code that a workflow is important in a category:

    SessionFactory VcoSessionFactory = new DefaultVcoSessionFactory (new URI ("https://vcohost:8281 / api")) {}
    @Override
    protected SSLContext newSSLContext() throw KeyManagementException, {NoSuchAlgorithmException}
    Return newUnsecureSSLContext();
    }
    @Override
    protected HostnameVerifier {} newHostnameVerifier()
    Return newUnsecureHostnameVerifier();
    }
    };
    This is for basic authentication in the what the vCO is in LDAP mode
    Authentication Authentication = new UsernamePasswordAuthentication ("userName", "password");
    It is to the SSO authentication
    Authentication Authentication = null;
    try {}
    SsoAuthenticator authenticator =
    new SsoAuthenticator (new
    1800 l);
    Authentication =
    authenticator.createSsoAuthentication ("userName",
    "password");
    } catch (IOException e) {}
    throw new RuntimeException ("Cannot authenticate to the OSP", e);
    } catch (URISyntaxException e) {}
    / / There are unlikely to occur
    // }
    Session VcoSession = sessionFactory.newSession (authentication);
    WorkflowService wfService = new WorkflowService (session);
    wfService.importWorkflowInCategory ("categoryId", new file)
    'path_to_some_workflow.workflow'));

    I have this code I use only the customer is provided with vCO:

    https://vcohost:8281/API/docs/downloads.html

    Hope this helps

    Concerning

    Ivan

  • 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.

  • REST API via Excel VBA, Excel reports? All Plans

    Hi, Fred / TJ (Eloqua).

    Is there a method or system library (.dll) file that we can use to pull the Eloqua reports directly in Excel. I met many cloud based system allowing this as part of a widely used feature.

    Any method that we can use to pull reports directly in Eloqua (VBA, Excel plug-ins, etc.). Would be very useful if we have many users marketing to draw relations stats in real-time to Eloqua, rather than each is trying to open a session in Eloqua every time.

    Thank you

    Amit Pandya

    Thanks for the comments, Amit.

    I guess that's an instance of the E10?

    We must do a better job of making reports available via the API data. Let's look at this when we look at this larger project.

  • How to get the information via the API Rest Socialcast challenges?

    Hello

    Is it possible to get the challenges through socialcast REST API?

    API documentation

    I find particular endpoint of challenges.

    Can we get information of challenges as messages? I can see more details api message endpoint.

    "extensions associated with this message, which can include group data, thank you, challenges, project or town_hall"

    Message from API documentation

    Hello:

    We don't have an API of challenges available at this time. We release new API information on an ongoing basis, then please do not hesitate to consult the documentation periodically for updates.

    Thank you

    Socialcast VMware team

  • System configuration "Rename Alias" API isn't updated MAX

    If I run the 'nisyscfg.lvlib:Rename Alias.vi' the System Configuration API , I noticed that the new alias is NOT set to day/relfected Max in the tree of devices and Interfaces.

    I have confirmed that the Alias changes indeed via the API because constant browing of resources does VISA shows the new alias name.  I have also confirmed that the 'Name' MAX field points to the same data element that changes the API by going to MAX-> tools-> NI - VISA-> VISA Options-> General settings-> alias; the API and MAX are going to change this field.

    Is this a known bug? Is there a work around?  Pressing F5/Refresh, reboot MAX and even restarting the on-board controller has not fixed the problem.

    When you make the call to find Hardware.vi, I bet you limit the search to "ni-visa" in the setting of Experts. When you rename the devices, you change the NI-VISA alias alright. What you've done essentially modifies the view of VISA but not the rest of the architecture of NOR. So when you see the device in MAX, products OR use actually VISA as the mechanism of communication, even if NI-VISA see these devices and to report on them. Remember that different drivers may have different aliases storage locations; for instance, IVI is still somewhere else, you might have a different name for the resource.

    To change the alias for all the devices you see in MAX, you cannot limit the Experts involved in the query. The best way would be to create a filter that defines "Is the device" true, who spend in finding material instead. Then when you call Rename on these resources, it will have the desired effect.

Maybe you are looking for